Tutorials

golang.pngGolang : Delete file

26th June 2014

Deleting file in Go is simple. This short tutorial will demonstrate how to delete a file.

Let choose a file….... read more



golang.pngGolang : Append content to a file

26th June 2014

In this tutorial, we will learn how to open a file with specific mode such as for appending data when….... read more



golang.pngGolang : Simple File Server

25th June 2014

Got a request from a developer friend yesterday on how to open up part of his machine and turn into….... read more



golang.pngGolang : Copy file

25th June 2014

Here’s an example to copy a file named “input.txt” to another file named “output.txt”.

Copying files can be done….... read more



password.pngRestart Apache or Nginx web server without password prompt

24th June 2014

After installing SSL certificates on my Nginx server, I've started to experience some minor "annoyance" of being prompted for

.... read more



facebook.pngGet Facebook friends working in same company

23rd June 2014

Problem :

Need to find common friends working in the same companies with Facebook.

Solution :

Use FQL to extract….... read more



facebook.pngYour page has meta tags in the body instead of the head

23rd June 2014

Once in a while we will come across vague error message that lead us to no where and provide no….... read more



codeigniter.jpgCodeIgniter : Load different view for mobile devices

22nd June 2014

Codeigniter(PHP framework) supports the detection of client devices(user agents). In this tutorial, we will see how to use Codeigniter User….... read more



nginx.jpgnginx : force all pages to be SSL

22nd June 2014

With man-in-the-middle attacking becoming more frequent like government censorship. It would be a good idea to server all web pages….... read more



ssl.pngSSL : The certificate is not trusted because no issuer chain was provided

20th June 2014

Problem :

While installing SSL for my nginx server today. Firefox decided to issue warning about the new SSL certificates….... read more



nginx.jpgnginx: [emerg] unknown directive "ssl"

19th June 2014

Purchased SSL certs and wanted to install SSL for nginx/CentOS Droplets today but encountered this error message instead :

.... read more



golang.pngGet form post value in Go

19th June 2014

Practically almost every web page out there will ask you to fill a form to progress further. Most of these….... read more



nginx.jpgnginx: [emerg] bind() to 0.0.0.0:80 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



Advertisement