Tutorials

golang.pngGolang : Missing Bazaar command

15th December 2014

Problem :

Encounter this error message go: missing Bazaar command when trying go get some package.

For example :

go:….... read more



golang.pngGolang : Missing Subversion command

15th December 2014

Problem :

Encounter this error message go: missing Subversion command when trying go get some package.

For example :

go:….... read more



golang.pngGolang : read gzipped http response

14th December 2014

There are times when we want to grab a website content for parsing(crawling) and found out that the content is….... read more



golang.pngGolang : Decompress zlib file example

14th December 2014

Continuation from previous tutorial on how to zlib compress a file. In this part, we will learn how….... read more



zip.pngHow to check with curl if my website or the asset is gzipped ?

14th December 2014

Problem :

You are trying to improve your PageSpeed score and trying to gzip the output of your website. You….... read more



zip.pngGolang : Unzip file

14th December 2014

Go's standard library provides support for several archive file formats. Zip format is the most common standard of compressing file.….... read more



golang.pngGolang : How to tell if a file is compressed either gzip or zip ?

14th December 2014

Sometimes it is good to check if a file is really in compressed form or not by examining the actual….... read more



golang.pngGolang : zlib compress file example

14th December 2014

This tutorial will show you how to read an uncompress file content into a buffer, use zlib on the buffer….... read more



golang.pngGolang : Gzip file example

14th December 2014

This tutorial is to fulfill a request from a student learning Golang in Senegal.

His question is how to gzip….... read more



golang.pngGolang : Gunzip file

14th December 2014

This tutorial demonstrates how to g-unzip a gz file easily in Golang. It is a continuation from previous .... read more



golang.pngGolang : Example for RSA package functions

14th December 2014

One of the most practicable and popular cryptography systems is the RSA. The encryption works by allowing the public/encryption key….... read more



golang.pngGolang : For loop continue,break and range

12th December 2014

Feeling like writing about FOR loop today so....this tutorial will explore how Golang's FOR loop works.

For loop is….... read more



golang.pngGolang : missing Mercurial command

12th December 2014

Problem :

You encounter this funky error message when trying go get some package.

For example :

go: missing….... read more



golang.pngGolang : missing Git command

12th December 2014

Problem :

Attempt go get some package failed because Git is missing.

For example :

go: missing Git command. See….... read more



golang.pngGolang : get the current working directory of a running program

11th December 2014

Problem :

You are looking for way to get the folder/directory of the running program.

Solution :

Use https://bitbucket.org/kardianos/osext.... read more



ssl.pngSSL : How to check if current certificate is sha1 or sha2 from command line

11th December 2014

Problem :

You want to check if a website SSL certificate is sha1 or sha2 algorithm from command line.

Solution….... read more



golang.pngGolang : Read a text file and replace certain words

11th December 2014

Problem :

You have a text file with some words that you need to replace with another word.

Solution :

.... read more



golang.pngGolang : convert rune to integer value

11th December 2014

Just a short tutorial on how to convert a rune into integer. Converting rune to integer value can be useful….... read more



Advertisement