Tutorials

golang.pngillegal rune literal

30th June 2014

Problem : While writing out Go codes for tutorial today I came across this error message for the first time….... read more



adsense.jpgResponsive Google Adsense

30th June 2014

Problem :

Google Adsense have several recommended ads sizes for publisher to put on their website. However, these ads recommended….... read more



golang.pngGolang : Get current time

30th June 2014

Problem :

Need to get current time stamp in Go and display in string.

Solution :

Use the time.Local() and….... read more



golang.pngGolang : Create File

27th June 2014

Any sane programming language should have the basic File I/O functions. Luckily Go is one programming language in the sane….... read more



golang.pngGolang : Move file to another directory

27th June 2014

So far, Go does not have a function to directly move file to different folders. We have to provide our….... read more



golang.pngGolang : Delete files by extension

26th June 2014

Being able to select certain type of files to delete can be useful. In this follow up tutorial from .... read more



golang.pngGolang : Rename file

26th June 2014

No File I/O operations will be complete without the capability to rename file.

Renaming a file in Go is….... read more



golang.pngGolang : Find files by extension

26th June 2014

This is a filepath.Ext() function example and it will only display files with .png extension in the current directory. You….... read more



golang.pngGolang : Write file with io.WriteString

26th June 2014

Writing to a file in Golang is easy. There are couple of ways to do it. In this tutorial, we….... read more



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



golang.pngGolang : Check if a file exist or not

24th June 2014

In this tutorial, we will see how to check if a file exist or not before performing further operation.

checkfileexist.go

.... 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



Advertisement