Tutorials

golang.pngGolang : convert(cast) string to float value

3rd December 2014

To convert or cast a string to float value, just use the strconv.ParseFloat() function. Below is the code example to….... read more



golang.pngGolang : How to read float value from standard input ?

2nd December 2014

This is a continuation from previous tutorial on how to read integer value from standard input. For this tutorial, we….... read more



golang.pngGolang : How to read integer value from standard input ?

2nd December 2014

Reading integer value from standard input in Golang is fairly simple with fmt.Scanf function. The code below demonstrate how to….... read more



golang.pngGolang : Read a file line by line

2nd December 2014

Got another newbie to Golang asking me for help today on how to read a file line by line. The….... read more



ssl.pngSSL : How to check if current certificate is sha1 or sha2

2nd December 2014

Got an email notification today by my SSL certificate provider, highlighting the weaknesses of SHA1 SSL certificate( which is roughly….... read more



php.jpgPHP : Get client IP address

1st December 2014

Knowing who is accessing your web server can be useful for tracking a user's activity. In this tutorial, we will….... read more



codeigniter.jpgCodeIgniter : Import Linkedin data

1st December 2014

A while back I had a CodeIgniter project that involved importing Linkedin data. In this tutorial, we will try to….... read more



golang.pngGolang : Scanf function weird error in Windows

1st December 2014

Got a newbie to Golang asking for help in the Golang Facebook group and he is having trouble….... read more



golang.pngGolang : rune literal not terminated error

28th November 2014

Encounter this error message rune literal not terminated while working on a Golang project recently. Took me a while to….... read more



golang.pngGolang : Generate random integer or float number

25th November 2014

Was helping out a friend last Sunday to finish up his Golang project and encounter a problem where we need….... read more



yum.jpgerror: trying to remove "yum", which is protected

25th November 2014

Trying to update one of the my VPS today with sudo yum update command and encounter this funky error message….... read more



golang.pngGolang : Find smallest number in array

24th November 2014

Alright, today I'll just write this simple tutorial on how to find the smallest value in an array. Basically, the….... read more



golang.pngGolang : Find biggest/largest number in array

24th November 2014

Just a quick tutorial on how to find the biggest value in a given array. Nothing fancy, just a simple….... read more



golang.pngUnmarshal/Load CSV record into struct in Go

1st November 2014

This is just a slight variation to the previous go read csv file tutorial. In this tutorial, we….... read more



csv.jpgGolang : How to read CSV file

1st November 2014

One way or another, CSV file is going to be part and parcel of a developer life. A programmer will….... read more



golang.pngGolang : dial tcp: too many colons in address

27th October 2014

Encounter this error message Golang : dial tcp: too many colons in address ssl://smtp.googlemail.com:465 while working on the transaction email….... read more



golang.pngGolang : How to iterate over a []string(array)

27th October 2014

Sometimes the easiest thing to do is the hardest thing to remember... like how to iterate through a string array.….... read more



golang.pngGolang : Set, Get and List environment variables

26th October 2014

Environment variables allow Unix programs to store configuration information and the program behaviour maybe altered if the environment variables related….... read more



Advertisement