You want to format a given number to the nearest thousands such as kilos, millions, billions, and trillions. For….... read more
Just a short tutorial on how to usage flag package to check for the number of flag arguments require by….... read more
You have multiple network interfaces on your machine and you need to know the status of a particular network….... read more
You need to find the IP address of a specific network interface on your machine for developing your application.….... read more
You are processing a large number of raw data files with dates as timestamps. However, you are only interested….... read more
Helping out a friend here to figure out why her totalizer formula is spitting out incorrect result. Apparently, what she….... read more
You want to set a file to read-only mode and also want to test if a file is really….... read more
So, how to check if a file is hidden? The solutions below are OS dependent. One for Unix/Linux and another….... read more
Writing these down here for future references, will be handy with comes to identifying a machine's CPU information during system….... read more
Got a strange request yesterday. A friend who is an IT manager in his company needs to implement some control….... read more
Here is an example of how to query blockchain.info to get the final balance(amount) with a given bitcoin transaction address.….... read more
Because of security requirements, you need to create programs that can only be executed with the proper root permissions.….... read more
+994 Golang : How to flush a channel before the end of program?
4.9k Swift : Convert (cast) String to Integer
1.3k Golang : Convert(cast) bytes.Buffer or bytes.NewBuffer type to io.Reader
2.1k Golang : How to count the number of repeated characters in a string?
+780 JQuery : Calling a function inside Jquery(document) block
1.4k Golang : Count JSON objects and convert to slice/array
5.2k Golang : http.Get example
1.1k Golang : Setup API server or gateway with Caddy and http.ListenAndServe() function example
2.9k Golang : Create Temporary File
+42 Golang : How to check if a date is within certain range?
5.5k Golang : How do I get the local IP (non-loopback) address ?
3.9k Golang : Read file
2.7k Golang : Crop image
1.2k Golang : Populate or initialize struct with values example
+655 Unix/Linux : How to pipe/save output of a command to file?
+993 Golang : Detect variable or constant type
All material here is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. - where attribution is required. On Earth since 2014 - 2017 SocketLoop.com