Posts

Find Invisible Users In Gmail

…  $hostname = ‘talk.google.com’; my $port = 5222; my $componentname = ‘gmail.com’; my $Contype = ‘tcpip’; my $tls …  $status = $Con->Connect( hostname => $hostname, port => $port, componentname => $componentname, connectiontype => $Contype, tls …

“Send To” in Linux for Nautilus

…  i thought of making one for my convenience. Nautilus supports user scripts inside it. This can be easily embedded into the manager by …

Customizing Mysql Prompt For multiple Servers

…  it in the .bashrc file in home folder [shell] export MYSQL_PS1="(\u@\h) [\d]> " [/shell] The best way …  in numeric format \P am/pm \p The current TCP/IP port or socket file \R The current time, in 24-hour military time (0-23) \r …

Web page Performance for a Blog – Part 1

…  what is the performance currently.So I selected two most important or most visited pages in my blog – The home page and the Post page. Now …  It should be located in the domain root as well. Its important to add a favicon as if not the request would be a HTTP 404 error. …

Check the port in which the Mysql is running on

…  can be configured to run other ports other than the default port (of 3306). So what will you do when you need to find the port on which a mysql server runs on. If you don’t have access to the server …

Print Array in PHP

…  [4] => 1 ) )[/php] var_export The syntax for the function is var_export($array) and the result is [php] array ( ‘string’ => ‘abcd’,  …  and how Boolean and nested arrays are handled. var_export is used for reusing that printed array in a php file. This is useful when …