Tutorials

golang.pngGolang : convert int to string

28th August 2014

While working on previous tutorial on displaying struct values in string format with a method. I stumbled upon….... read more



ssl.pngDefault cipher that OpenSSL used to encrypt a PEM file

28th August 2014

Having generated couple of PEM files with OpenSSL for testing and writing tutorial purpose. Sometimes I wonder if OpenSSL has….... read more



php.jpgPHP : Count number of JSON items/objects

28th August 2014

Recently I need to paginate the search result returned by ElasticSearch. To paginate the result with standard CodeIgniter paginate helper....….... read more



php.jpgPHP : How to parse ElasticSearch JSON ?

28th August 2014

ElasticSearch returns search result in JSON format. To parse the items from the search result in PHP first you need….... read more



facebook.pngHow to let Facebook Login button redirect to a particular URL ?

27th August 2014

Facebook login is a popular way for web developer these days to capture user data and at the same time….... read more



php.jpgPHP : How to check if an array is empty ?

27th August 2014

In PHP, there are many times when I need to check if the return result array is empty or not.….... read more



golang.pngGolang : Find network of an IP address

26th August 2014

We will learn how to use Golang's net package to find out the network behind an IP address. It is….... read more



mariadb.pngHow to enable MariaDB/MySQL logs ?

26th August 2014

As a web developer that have been toying with MySQL/MariaDB for more than 5 years. I can tell you that….... read more



golang.pngSetting $GOPATH environment variable for Unix/Linux and Windows

26th August 2014

Go relies on one important environment variable called $GOPATH to determine where is the workspace located in your computer. To….... read more



elasticsearch.pngElasticsearch : Shutdown a local node

16th August 2014

Elasticsearch is a fantastic tool for adding search and indexing capability to your website or application. Basically, it functions just….... read more



golang.pngGolang : Clearing slice

15th August 2014

Slice is something that I use frequently in Go and I always prefer slice to array at anytime. If you….... read more



php.jpgPHP : See installed compiled-in-modules

14th August 2014

PHP has compiled-in modules that allows it to perform various operation. If you want see what modules is linked to….... read more



php.jpgPHP : Hide PHP version information from curl

14th August 2014

By default, PHP will expose its version information when query by curl -I and you may want to hide the….... read more



golang.pngGolang : Get file permission

13th August 2014

Get a file permission in Go is easy. In this tutorial, we will see how to read a file permission….... read more



ec2.jpgWARNING: UNPROTECTED PRIVATE KEY FILE! error message

13th August 2014

Was trying to ssh into my Amazon Web Services EC2 instances yesterday

ssh -i ec2-webserver.pem root@ec2-***.compute-1.amazonaws.com

and….... read more



golang.pngGolang : Read file with ioutil

13th August 2014

This tutorial will show you how to read a file into buffer and display the content in Go. This example….... read more



macosx.jpgUnix/Linux : How to test user agents blocked successfully ?

13th August 2014

This is actually a continuation from the tutorial on how to configure nginx to block certain user agents.….... read more



facebook.pngFacebook : Getting the friends list with PHP return JSON format

13th August 2014

Problem :

How to get friends list in Facebook with PHP in Json format?

Solution :

Use Facebook SDK https://graph.facebook.com/me/friends

.... read more



Advertisement