Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Friday, October 19, 2012

Thought


When things in your life seem almost too much to handle, when 24 hours in a day are not enough, remember the mayonnaise jar and the 2 Beers.



A professor stood before his philosophy class and had some items in front of him. When the class began, he wordlessly picked up a very large and empty mayonnaise jar and proceeded to fill it with golf balls. He then asked the students if the jar was full. They agreed that it was.

Tuesday, October 16, 2012

Setting Environment Variable in LINUX

Setting Environment Variable in LINUX
Environment variables in LINUX are basically the shell variable used to set configuration options and customize the shell environment under Linux. 



Display Environment variables
    $ env

Setting Environment Variable in LINUX


Here is the syntax of setting environment variables 

Tuesday, October 9, 2012

Managing MySQL Server Logs

Managing MySQL Server Logs
MySQL Server provides several logs that help us find out what activity is taking place. MySQL provides different types of log files. 
Error Log: contains information indicating when mysqld was started and stopped and also any critical errors that occur while the server is running. 
General Query Log: is a general record of what  mysqld is doing. The server writes information to this log when clients connect or disconnect, and it logs each SQL statement received from clients. 
Binary Log: contains “events” that describe database changes such as table creation operations or changes to table data. 

Organizing short folder structure Using mod_rewrite

Organizing short folder structure Using mod_rewrite
Sometimes long folder names become annoying to type and can cause your page to result in huge loading time. Thank GOD !!! .htaccess file is there with a solution for this problem. It also leads to Search engine friendly URLS and image names (for image searches)