nginx.jpgnginx: [emerg] bind() to failed (98: Address already in use)

19th June 2014

Not really a tutorial, but more about solving problem.

Problem : Try to start nginx after a hard reboot….... read more

golang.pngRandom number generation with crypto/rand in Go

16th June 2014

Random number is useful in many applications. From salting password to enabling secure transactions.

In this tutorial, we will….... read more

golang.pngGolang : Get environment variable

14th June 2014

Sometimes we need to get the environment variables for performing next task in our program. It is straight forward to….... read more

cent-os.pngCheck CentOS version

9th June 2014

While troubleshooting Go setup on my CentOS box. I need to find out which version of the CentOS I'm running….... read more

emacs.pngEmacs mode for Golang

5th June 2014

This tutorial is dedicated to a brother in Wisconsin.

Emacs depends on lisp mode for proper language syntax. The….... read more

golang.pngGenerate Random number with math/rand in Go

3rd June 2014

Random number is useful in many application. One such example is salting password to make in more secure. In this….... read more

golang.pngGet client IP Address in Go

8th May 2014

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

php.jpgFacebook PHP getUser() returns 0

4th April 2014 Recently upgraded my DigitalOcean droplet's PHP to version 5.4.2 and couple of days later I started getting complaints from the….... read more