golang.pngGolang : Submit web forms without browser by http.PostForm example

30th August 2017

Writing this tutorial on how to submit a web form without using a browser. We submit web forms almost every….... read more

golang.pngGolang : Print instead of building pyramids

29th August 2017

Building a pyramid using ancient Egyptians way can be too difficult for more software developers. Just for fun, let's print….... read more

golang.pngGolang : Calculate percentage change of two values

28th August 2017

Here is a simple example on how to calculate the percentage change from two numbers. If the result is positive….... read more

cloudflare.jpgCloudFlare : Another way to get visitor's real IP address

27th August 2017


Your web server's log such as NGINX's access.log is showing unusually high and intense query from a couple of….... read more

golang.pngGolang : Join lines with certain suffix symbol example

23rd August 2017

For this tutorial,we will learn how to join lines of text into a string and also explore the option to….... read more

golang.pngGolang : Convert seconds to human readable time format example

3rd August 2017

Occasionally in the scientific world, we will encounter instruments that gave reading in seconds denomination and in this tutorial, we….... read more

golang.pngGolang : Login and logout a user after password verification and redirect example

2nd August 2017

Writing this tutorial for my own future reference. User name and password authentication is a fairly common task for any….... read more

golang.pngGolang : Get remaining text such as id or filename after last segment in URL path

1st August 2017


Retrieving the last segment/part or the remaining text after a slash in the URL or filename in a path….... read more

golang.pngGolang : Roll the dice example

20th July 2017

Just a simple example on how to simulate dice rolling. Useful in situation where you need to use random single….... read more

golang.pngGolang : Convert string slice to struct and access with reflect example

19th July 2017

Writing this down here for my own future references. Basically, what this code does is to convert a given string….... read more

golang.pngGolang : Scramble and unscramble text message by randomly replacing words

19th July 2017

For this tutorial, we will learn how to make a text string unreadable by replacing some of the words inside….... read more

golang.pngGolang : Sort words with first uppercase letter

18th July 2017


You use the sort.Strings() function to sort a slice of words. However, you noticed that words with the first….... read more

golang.pngGolang : Sort lines of text example

17th July 2017

Here is an example of how to convert lines of text into a slice in Golang, sort them in descending….... read more

golang.pngGolang : Find the shortest line of text example

17th July 2017

Continue from previous tutorial on how to find the longest line in a given text. This example demonstrates how to….... read more

golang.pngGolang : Convert spaces to tabs and back to spaces example

17th July 2017

A simple example on how to convert spaces to tabs and convert back the tabs to spaces again in a….... read more

golang.pngGolang : Find the longest line of text example

17th July 2017

Ability to find the longest find in a given text file can be useful in a situation where you want….... read more

android.jpgAndroid Studio : Simple input textbox and intercept key example

16th July 2017

A GUI(Graphical User Interface) such as Android OS has input text box to allow users to enter text and able….... read more

javascript.jpgJavascript : Push notifications to browser with Push.js

14th July 2017


Instead of RSS, you want to send notifications to your visitor's computer through their browser about the latest updates….... read more



Subscribe Newsletter