INTRODUCTION : I’m Big Fan of REST API’s , they are efficient, reliable and fun. Recently I have been playing with Twitter REST API’s and was thinking is it possible to get the required information from Twitter without using the API? without setting up the authentication model (OAuth tokens) or connecting to right endpoint ? Point of… Read More Powershell fiddling around Web scraping, Twitter – User Profiles, Images and much more
INTRODUCTION : If you are familiar with Invoke-WebRequest cmdlet then you must be aware that you get a parsed HTML from the requested Web URL. DOM structure of this Parsed HTML could be utilized to get access to HTML elements of the web page, like in the below animation – PROBLEM : What if we have HTML files are locally… Read More Powershell Tip : Parsing HTML from a local File or a String
PROBLEM : I am working on a personal project where in I require common/popular dictionary words for lookups and performance is a concern. INITIAL THOUGHTS : Figure out a way in which I can use In-built dictionary on Microsoft Word, but couldn’t find much on google search ( May be I didn’t tried enough :P)… Read More [ Powershell ] Data Harvesting all dictionary words for each alphabet from Web
INTRODUCTION : Everybody comes across a word that you don’t understand how to use it in a sentence, I face this often as I do ton of readings. normally I would have done a simple google search, let’s suppose for the word “Elixir”, which will give me few websites with sentence examples. I would have… Read More Powershell : Get example Sentence’s for a Word using Web scraping on online dictionary
If you’re Calorie Conscious or by any chance nerd? Then this one is for you 🙂 So how about getting the Nutritional value of a food item from Powershell 😀 HOW IT WORKS : To make it work we are simply making calls to a REST API of “United States Department of Agriculture” to search… Read More Get-Nutrient composition of Food Items using Powershell
Hey guys! Today’s blog post is a quick Powershell tip which is useful when we’ve to generate Dynamic XML using a Powershell script, if the file gets huge it gets difficult to read the XML data , hence in such a case Indentation comes handy. HOW TO MAKE IT WORK ? Use System.IO.StringWriter and System.XMl.XmlTextWriter classes… Read More Powershell Tip : Use XML Indentation to make it more readable
INTRODUCTION : This is a PowerShell script to summarize long text document(s) depending upon your chosen word limit, it utilizes an algorithm which looks for parameters like Important words and Common content to score each sentence in order to generate a summary of the highest scored sentences in sequence of there occurrence in the content. HOW… Read More Get-Summary : Algorithm in Powershell to summarize Text, Document(s) within a word limit.