Ubuntu: Installation Docker

Docker is a set of platform as a service products that use OS-level virtualisation to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.
A Highly Reliable, Low-Cost Way To Build, Ship, & Run Distributed Apps At Any Scale. Docker Provides Simple Commands You Can Use To Build, Start, Or Stop Containers.

Ubuntu: Configure XDebug and Eclipse PDT

Xdebug is a PHP debugger with Eclipse integration. Here are some instructions for installing it .

First login in ubuntu
Then install xdebug by running below command
sudo apt-get install php5-xdebug

after installation you should edit below file
sudo gedit /etc/php5/conf.d/xdebug.ini

Add below this line

Error : SWT browser is not available
Sometime eclipse display above error.To fix the above error, please install below package.

Now you are able to debug php code with help of eclipse.

Converting character encoding

Introduction ICONV

Iconv is a computer program and a standardized API used to convert between different character encodings.
This module contains an interface to iconv character set conversion facility. With this module, you can turn a string represented by a local character set into the one represented by another character set, which may be the Unicode character set. Supported character sets depend on the iconv implementation of your system. Note that the iconv function on some systems may not work as you expect. In such case, it’d be a good idea to install the » GNU libiconv library. It will most likely end up with more consistent results.