Tutorials

golang.pngGolang : Normalize email to prevent multiple signups example

11th August 2015

If your application allows the public to sign up, chances are your application will attract the "unkind" types and they….... read more



golang.pngGolang : Remove dashes(or any character) from string

11th August 2015

Problem :

You have a string with dashes in between and you want to remove all the dashes. How to….... read more



golang.pngGolang : How to validate ISBN?

11th August 2015

This tutorial will show you an example on how to validate ISBN with the govalidator package and then get the….... read more



golang.pngGolang : Validate credit card example

11th August 2015

Problem :

You have an e-commerce website and you want to validate the user credit card number before passing it….... read more



golang.pngGolang : Validate IPv6 example

10th August 2015

This tutorial is an enhancement of previous tutorial on how to determine if a given IP address is….... read more



golang.pngGolang : How to validate URL the right way

10th August 2015

Validating input from user or external sources is critical and needed to ensure that your program will not simply process….... read more



golang.pngGolang : Disable security check for HTTPS(SSL) with bad or expired certificate

10th August 2015

There are times when a webmaster failed to renew the certificates from SSL connection in time or some other reason….... read more



yum.jpgFix sudo yum hang problem with no output or error messages

10th August 2015

Encounter a weird error this morning while trying to execute sudo yum update command. Yum just hangs there and no….... read more



javascript.jpgJavaScript : Rounding number to decimal formats to display currency

7th August 2015

Was looking for ways to round up float numbers to 2 decimal points and also to display currency with Javascript.….... read more



facebook.pngFacebook : How to force facebook to scrape latest URL link data?

7th August 2015

Problem :

When you try to put URL link on a Facebook input boxes and Facebook will automatically scrape a….... read more



golang.pngGolang : Get timezone offset from date or timestamp

6th August 2015

Problem :

You have a date or time stamp and you want get the time zone offset from the date.

.... read more



golang.pngGolang : Fix image: unknown format error

6th August 2015

Problem :

You want to find out the dimension of an image file with image.DecodeConfig() function - to….... read more



golang.pngGolang : Reset or rewind io.Reader or io.Writer

6th August 2015

Problem :

You have read file with io.Reader till EOF. Or you want to rewrite a file with io.Writer again.….... read more



golang.pngGolang : io.Reader causing panic: runtime error: invalid memory address or nil pointer dereference

6th August 2015

Problem :

You read a file to retrieve some data with io.Reader, then when you attempt to read the same….... read more



golang.pngGolang : Get dimension(width and height) of image file

6th August 2015

If you need to open up an image file, be it jpeg, png or gif. Chances are you will need….... read more



golang.pngGolang : Get RGBA values of each image pixel

6th August 2015

Problem :

You need to find out each pixels R,G,B,A values on an image. Maybe to do ASCII art, edge….... read more



golang.pngGolang : Get missing location after unmarshal binary and gob decode time.

6th August 2015

Problem :

You loaded some time based data, found out that the time is missing location data and somehow screw….... read more



golang.pngGolang : How to control fmt or log print format?

4th August 2015

How to control fmt or log print format output? Use this reference as guide on how to control the fmt….... read more



Advertisement