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

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.pngGolang : Human readable time elapsed format such as 5 days ago

Problem:

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

Problem:

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



android.jpgAndroid 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.pngGolang : 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.pngGolang : 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.pngGolang : 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



golang.pngGolang : Convert IP address string to long ( unsigned 32-bit integer )

Here is another way of converting IPv4 string to long ( unsigned 32-bit integer ). Pretty similar to the previous….... read more



golang.pngGolang : Format numbers to nearest thousands such as kilos millions billions and trillions

Problem:

You want to format a given number to the nearest thousands such as kilos, millions, billions, and trillions. For….... read more



golang.pngGolang : Print how to use flag for your application example

Just a short tutorial on how to usage flag package to check for the number of flag arguments require by….... read more



golang.pngGolang : Check whether a network interface is up on your machine

Problem:

You have multiple network interfaces on your machine and you need to know the status of a particular network….... read more



golang.pngGolang : Get the IPv4 and IPv6 addresses for a specific network interface

Problem:

You need to find the IP address of a specific network interface on your machine for developing your application.….... read more



golang.pngGolang : How to check if a date is within certain range?

Problem:

You are processing a large number of raw data files with dates as timestamps. However, you are only interested….... read more



golang.pngGolang : Converting a negative number to positive number

Helping out a friend here to figure out why her totalizer formula is spitting out incorrect result. Apparently, what she….... read more



golang.pngGolang : How to make a file read only and set it to writable again?

Problem:

You want to set a file to read-only mode and also want to test if a file is really….... read more



Advertisement

Advertisement

Advertisement