Tutorials

golang.pngGolang : Natural string sorting example

18th April 2017

Problem:

You want to sort a couple of strings with numbers in natural order so that the list looks nice….... read more



golang.pngGolang : Transform comma separated string to slice example

17th April 2017

Got a request from a junior software developer from India. Her question is how to convert a given comma-separated string….... read more



golang.pngGolang : Valued expressions and functions example

16th April 2017

Writing this simple example down here as a reminder for myself on how to use valued expressions in Golang. Nothing….... read more



golang.pngGolang : Bcrypting password

4th April 2017

From my past tutorial on salting password, a reader pointed out that there is a better way to….... read more



golang.pngGolang : Get all local users and print out their home directory, description and group id

9th March 2017

In this short tutorial, we will explore how to get a list of users from the local machine and iterate….... read more



golang.pngGolang : Fix opencv.LoadHaarClassifierCascade The node does not represent a user object error

8th March 2017

Problem:

You're trying load a Haarcascade file with opencv.LoadHaarClassifierCascade() function in Golang, but you get this error message instead :

.... read more



javascript.jpgJavascript : Detect when console is activated and do something about it

2nd March 2017

Problem:

You do not want your website visitors to see what is behind the curtain of your website. You want….... read more



golang.pngGolang : Hue, Saturation and Value(HSV) with OpenCV example

28th February 2017

Problem:

BGR colorspace has pixels intensity information encoded into the blue, green and red channels. You want to convert an….... read more



golang.pngGolang : Find and draw contours with OpenCV example

27th February 2017

Ability to detect shapes is often the most important steps in allowing a computer to make decision...such as deciding if….... read more



golang.pngGolang : Eroding and dilating image with OpenCV example

24th February 2017

I'm learning OpenCV by going through some of the examples found on OpenCV website. For this post, below is an….... read more



golang.pngGolang : Gaussian blur on image and camera video feed examples

23rd February 2017

The following code examples demonstrate how to use Golang and OpenCV to apply Gaussian blur filter on static image and….... read more



golang.pngGolang : Select region of interest with mouse click and crop from image

22nd February 2017

Just a short Golang OpenCV program that allows the user to select a region of interest on an image with….... read more



golang.pngGolang : Find and replace data in all files recursively

20th February 2017

Alright, this tutorial is an enhancement of previous tutorial on how to search for file recursively with wildcard support. In….... read more



golang.pngGolang : Search folders for file recursively with wildcard support

17th February 2017

Ok, here is an example on how to search for a file starting from a target directory and recursively search….... read more



gogland.jpgGogland : Single File versus Go Application Run Configurations

16th February 2017

This is a follow up from the previous guide on how to place the source code files in….... read more



gogland.jpgGogland : Where to put source code files in package directory for rookie

16th February 2017

Below is a simple guide for JetBrains Gogland IDE on how to add your own package and invoke….... read more



golang.pngGolang : Repeat a character by multiple of x factor

15th February 2017

In Python, it is pretty easy to repeat some characters inside a string. All you need to do is to….... read more



golang.pngGolang : Add build version and other information in executables

15th February 2017

Problem:

You want to add version and other information such as compilation time into your executables(binaries) and display the information….... read more



Advertisement