Tutorials
Android 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 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 : 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 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
How to automatically restart your crashed Golang server
Problem:
You need to restart your Golang(or any programming languages) server application after reboot. Also, you need to monitor your….... read more
Golang : How to convert character to ASCII and back
Problem:
ASCII or American Standard Code for Information Interchange is used to represent characters and device control in computers. How….... read more
Android 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 : 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 : How to execute code at certain day, hour and minute?
Problem:
You want to execute certain code at a particular day, hour and minute only. Such as Monday, 10:30 AM.….... read more
Golang : 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 : 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 : Get time.Duration in year, month, week or day
Problem:
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 : Get future or past hours, minutes or seconds
Problem:
You need to calculate future or past minutes, hours or seconds from the current time. Ability to calculate future….... read more
Android 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
Android Studio : Hello World example
Ok, I'm learning Android Studio now and below is a tutorial that I've put up on how to create a….... read more
Golang : Generate random Chinese, Japanese, Korean and other runes
Alright, got a rare request here from a friend on how to generate a string of random Chinese, Japanese and….... read more
Golang : Embed secret text string into binary(executable) file
Problem:
You want to hide certain plain text string that you plan to embed(include) in your executable or binary file.….... read more
Golang : Find age or leap age from date of birth example
Alright, here is a simple tutorial on how to calculate a person's age by a given date of birth string.….... read more