Category: tools / utilities
We can sort a list of given strings from stdin and output to stdout using the following GoLang: package main import ( "fmt" "bufio" "os" "sort" "strings" ) func …
We can use the following Java command line program to print all loacal IP addresses of the computer. We iterate over all Net-Interfaces and get Inet Addresses. package com.helloacm; …
GoLang provides HTTP client library. We can import the “net/http” to make a HTTP Get. Then we can use the bufio.NewScanner to print the content Line by Line or …
PUSHD/POPD is a great pair of tools that exist in modern operating system e.g. Windows, Linux or MAC. It allows you to jump forward and backwards between directories. The …
Getting calls from people you don’t know can be infuriating and annoying. You never get to know whether it is your old friend, your son’s music teacher from 5 …