Tutorials

golang.pngGolang : Get input from keyboard

19th October 2014

Writing text-based program to run from command line will not be completed without the ability to read input from the….... read more



golang.pngGolang : Read input from console line

19th October 2014

Ok, this is another tutorial on how to read input from console in Golang. It uses the bufio.NewReader() function and….... read more



golang.pngGolang : How do I get the local IP (non-loopback) address ?

19th October 2014

There are times we need to know the local machine IP address to send data packets to other services/server/clients and….... read more



golang.pngGolang : concatenate(combine) strings

19th October 2014

Once in a blue moon, a programmer will bound to process input strings and manipulate the strings into something meaningful….... read more



golang.pngGolang : convert(cast) float to string

19th October 2014

This is an add-on to this previous tutorial on converting/casting int to string. To convert or cast a….... read more



nginx.jpgNginx : Restart php-fpm

19th October 2014

While doing some upgrading and maintenance work on one of my Digital Ocean droplets. I noticed that there is some….... read more



golang.pngGolang : Split string

18th October 2014

Problem :

Need to split this string ADAM, EVE, CALEB, SCOTT, GRANTT, JAMES by comma

Solution :

Use the….... read more



macosx.jpgUnix/Linux/MacOSx : Get local IP address

18th October 2014

Problem :

How to find out my MacOSX/ Linux / UNIX system ip address, subnet and related networking information from….... read more



golang.pngGolang : invalid character ',' looking for beginning of value

1st October 2014

In has been a while since I've encounter a strange error message that I couldn't comprehend. However, today is special….... read more



golang.pngGolang : How to write CSV data to file

29th September 2014

This tutorial is a continuation from previous tutorial on reading CSV file. The code below will demonstrate how….... read more



yum.jpgYum Error: no such table: packages

29th September 2014

During yum update, my VPS decided to freeze for unknown reason. Managed to do a remote reboot and get thing….... read more



golang.pngFix fatal error: evacuation not done in time problem

25th September 2014

Encounter one of the strangest error messages in Go today regarding evacuation. Now, what the heck "evacuation" has to do….... read more



yum.jpgRPM : error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

15th September 2014

Ok, was trying to update one of my servers today and encounter these funky error messages "error: db3 error(-30974) from….... read more



googlemaps.jpgGoogle Maps URL parameters configuration

14th September 2014

Google Maps have somehow becoming an integral part of many modern website that adhere to the SoLoMo (short for social-local-mobile)….... read more



golang.pngUpload multiple files with Go

14th September 2014

Uploading multiple files to Go server can be done easily as well. All you need to do is to parse….... read more



swift.jpgSwift : Convert (cast) Int to String ?

14th September 2014

Problem :

How to convert (cast) Int to String in Swift programming language ?

Solution :

Just cast the Int….... read more



yum.jpgFix yum-complete-transaction error

14th September 2014

  1. Ok. I tried to execute sudo yum update command today and I was greeted with this line :

    .... read more



    golang.pngGolang : Print out struct values in string format

    28th August 2014

    This tutorial will show you how to create a method for a struct to print out the struct values out….... read more



Advertisement