Tutorials

macosx.jpgUnix/Linux : How to get own IP address ?

25th December 2014

I know I know... this should be a fairly simple task.. but my memory is that good anymore.

Just….... read more



golang.pngGolang : Detect (OS) Operating System

25th December 2014

Ability to detect which type of operating system during run time can be helpful in programming a software behavior or….... read more



golang.pngGolang : http.Get example

24th December 2014

Grabbing content in raw HTML format is useful for crawling or parsing purpose. This short tutorial demonstrates how easy it….... read more



golang.pngGolang : HTTP response JSON encoded data

24th December 2014

Alright, time to get dirty again.

I need to do a quick and easy http.Get() from another server(let say server….... read more



golang.pngGolang : Process json data with Jason package

24th December 2014

While writing out the tutorial on how to read json data and save to csv, I was thinking….... read more



golang.pngGolang : Download file example

23rd December 2014

Continuing from previous tutorial on how to use http.Get() function, in this tutorial, we will learn how to….... read more



golang.pngGolang : cannot assign type int to value (type uint8) in range error

23rd December 2014

Sometimes, we tend to overlook a small part of for--loop just because we use it frequently and expect the compiler….... read more



golang.pngGolang : Grayscale Image

23rd December 2014

Another feature that I like about this Disintegration Imaging package is the ability to generate grayscaled image. The….... read more



php.jpgPHP : Get coordinates latitude/longitude from string

23rd December 2014

Problem :

Let say we are dealing with another program that produces coordinates (lat/long) in a string format that look….... read more



php.jpgPHP : Extract part of a string starting from the middle

23rd December 2014

Extracting part of the string is a fairly common task in programming and sometimes it can be a bit challenging….... read more



golang.pngGolang : Gorilla mux routing example

23rd December 2014

This is a short tutorial on how to use Gorilla's mux. The code example below is taken from .... read more



golang.pngGolang : Web routing/multiplex example

22nd December 2014

Routing based on the URL's path can be useful in some cases like build RESTful API server.

Problem :

You….... read more



php.jpgPHP : Send HTML email

22nd December 2014

Sending email with PHP is easy and in this tutorial, we will learn how to send HTML based email with….... read more



golang.pngGolang : Parsing or breaking down URL

22nd December 2014

Golang provides an easy way to consume and parse URL. It has a very neat package ( http://golang.org/pkg/net/url.... read more



golang.pngGolang : Get URI segments by number and assign as variable example

22nd December 2014

Coming from PHP and CodeIgniter(framework for PHP) background. One thing that I missed is the URI helper's $this->uri->segment(n) where it….... read more



golang.pngGolang : On enumeration

22nd December 2014

In Golang, it is fairly simple to declare enumeration. Just group the similar items into a const group and use….... read more



golang.pngGolang : Error handling methods

22nd December 2014

Couple of days ago I attended a Golang meetup for the first time nearby where I live. There are developers….... read more



jquery.pngJavascript : How to get JSON data from another website with JQuery or Ajax ?

22nd December 2014

A very common task for developing front-end. I used to write this a lot but some how forgotten about it….... read more



Advertisement