golang.pngGolang : Delete files by extension

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

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

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

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

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

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

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

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

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


.... read more

password.pngRestart Apache or Nginx web server without password prompt

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

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

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