golang.pngGolang : Convert Chinese UTF8 characters to Pin Yin

Not really a tutorial, but putting this here in case I need to refer back again in future. Here is….... read more

golang.pngGolang : Check if directory exist and create if does not exist

Anyway, need to modify an existing Golang program for a friend. The original developer left her company and basically, she….... read more

android.jpgAndroid Studio : Use image as AlertDialog title with custom layout example

So far we have learned how to create AlertDialog at the previous tutorial and it would be nice….... read more

android.jpgAndroid Studio : AlertDialog and EditText to get user string input example

This is a supplementary tutorial for the previous tutorial on how to get user attention with AlertDialog. In….... read more

android.jpgAndroid Studio : How to detect camera, activate and capture example

Let's have some fun with Android by learning how to detect the camera, activate the camera and capture with the….... read more

golang.pngGolang : Read, Write(Create) and Delete Cookie example

Got an email from a reader asking for a more elaborated example of how to read, write(create) and delete a….... read more

android.jpgAndroid Studio : Checkbox for user to select options example

A decent operating system user interface should have check boxes to allow users to select options that are not mutually….... read more

ubuntu.pngHow to automatically restart your crashed Golang server


You need to restart your Golang(or any programming languages) server application after reboot. Also, you need to monitor your….... read more

golang.pngGolang : How to convert character to ASCII and back


ASCII or American Standard Code for Information Interchange is used to represent characters and device control in computers. How….... read more

android.jpgAndroid Studio : AlertDialog to get user attention example

Android has dialog boxes to get user input and one of them is AlertDialog. For this tutorial, let's learn how….... read more

golang.pngGolang : Fix fmt.Scanf() on Windows will scan input twice problem

If you ever need to write a program that use Golang's fmt.Scanf() function on Windows operating system and test the….... read more

golang.pngGolang : How to execute code at certain day, hour and minute?


You want to execute certain code at a particular day, hour and minute only. Such as Monday, 10:30 AM.….... read more

golang.pngGolang : Transform lisp or spinal case to Pascal case example

This is a continuation from the previous tutorial on how to detect the type of cases such as….... read more

golang.pngGolang : Detect Pascal, Kebab, Screaming Snake and Camel cases

Just a small function that I wrote to detect pascal, kebab( also known as lisp-case, spinal-case or train-case), camel, snake….... read more

golang.pngGolang : Get time.Duration in year, month, week or day


When using time.Until() or time.Since() functions, the time.Duration type have methods such as Hour(), Minutes(), Nanoseconds() and Seconds() to….... read more

golang.pngGolang : Human readable time elapsed format such as 5 days ago


You need to convert a date time stamp such as this 02 March 1992 10:10:50 into a human readable….... read more

golang.pngGolang : Get future or past hours, minutes or seconds


You need to calculate future or past minutes, hours or seconds from the current time. Ability to calculate future….... read more

android.jpgAndroid Studio : Image button and button example

Continuing from previous tutorial on how to develop a "Hello World" application in Android Studio. The next logical….... read more