cent-os.pngCheck CentOS version

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

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

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

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

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