Tutorials

golang.pngGolang : Build and compile multiple source files

25th November 2015

One of the many challenges for new comers to Golang is to learn how to use go install command to….... read more



golang.pngGolang : Strip slashes from string example

25th November 2015

A quick post on how to get an equivalent to PHP's stripslashes() function in Golang. Basically in PHP, the stripslashes().... read more



ubuntu.pngLinux/MacOSX : Search and delete files by extension

25th November 2015

Continuing from previous tutorial on how to search for files by extension with find command. For this post,….... read more



ubuntu.pngLinux/MacOSX : Search for files by filename and extension with find command

25th November 2015

Jotting down these useful commands here for future references, never know when I might need to recall them again on….... read more



php.jpgPHP : Proper way to get UTF-8 character or string length

25th November 2015

Problem :

Was trying to get a length of an unicode(UTF-8) character with PHP. Trouble is, PHP echoes back 3,….... read more



elasticsearch.pngElastic Search : Return all records (higher than default 10)

23rd November 2015

Problem :

You only get 10 results from elastic search query and you suspected that there should be more results….... read more



golang.pngGolang : Determine if time variables have same calendar day

23rd November 2015

Problem :

You have two or more variables that are of type time.Time and you want to find out if….... read more



golang.pngGolang : UDP client server read write example

23rd November 2015

In this tutorial, we will learn how to build a bare bone client-server UDP program with Golang. This UDP example….... read more



golang.pngGolang : Get UDP client IP address and differentiate clients by port number

23rd November 2015

Problem :

Your UDP server program needs to find out the UDP client IP address before writing to client. However,….... read more



golang.pngGolang : How to flush a channel before the end of program?

23rd November 2015

Problem :

Your program that uses channels and go routines did not print out all the expected result. Upon investigation,….... read more



golang.pngGolang : How to verify input is rune?

20th November 2015

Problem :

You need to determine if the user input is a valid rune. How to do that?

Solution :

.... read more



golang.pngGolang : Get S3 or CloudFront object or file information

20th November 2015

Here is a simple example on how to get the S3, CloudFront object (in fact, any file accessible from URL)….... read more



golang.pngGolang : Handle sub domain with Gin

20th November 2015

Just a supplementary tutorial for the previous tutorial on how to deal with sub domain in Golang. In….... read more



golang.pngGolang : Listen and Serve on sub domain example

20th November 2015

At this moment, Golang's ListenAndServer() is able to handle URL with such pattern

www.example.com/api

However, if….... read more



swift.jpgSwift : Convert (cast) Character to Integer?

20th November 2015

Problem :

How to convert (cast) character to integer in Swift programming language ?

Solution :

Simple. Just cast the….... read more



golang.pngGolang : Gin framework accept query string by post request example

19th November 2015

Golang's standard net/http package has excellent and sufficient functions to handle web applications such as a micro service or API….... read more



golang.pngGolang : Generate universally unique identifier(UUID) example

19th November 2015

A UUID ( universally unique identifier ) is a 128-bit string value that is used in developing software. An example….... read more



golang.pngGolang : Reverse by word

19th November 2015

This tutorial will show you how to reverse the order of words in a string. Reversing the words or elements….... read more



Advertisement