Ajax Whois WordPress Plugin

January 29th, 2012

Ajax Whois for WordPressAjax Whois for WordPress is a plugin that allows you to add a domain name lookup form to your WordPress blog posts or pages. The Whois form is fully ajaxified for fast domain name lookups without the need for page reloads.

Read more »»

Finding out disk space usage using Linux shell

January 28th, 2012

Linux command line program

Finding out your disk space usage using the shell or command line in Linux is easy once you know how. This article takes a look at the different commands that tell you your disk space usage at different levels of the file system i.e. from entire disk volumes/partitions all the way down to individual files and directories.

Read more »»

Custom Comments Notice WordPress Plugin

January 15th, 2012

Custom Comments Notice for WordPress is a plugin that allows you to add a custom message or notice to your WordPress comments form. You can set a single message for your entire site and/or choose to display notices on a per post/page basis. You can fully customize the appearance of your message including font and background colors, border and even shadow effects. The plugin comes with various icons that you can add to your message to increase its impact on your audience.

Read more »»

Converting a string to a number consistently using PHP

January 12th, 2012

Say you want to convert strings to numbers such that a string will always convert to the same number. So for example the string
“red” will always convert to 2 or the string “blue” will always convert to 1. You don’t know which strings you are going to get and the exact number they convert to doesn’t matter just that it always converts to the same number. The reason you want to do this is to pick a value from an array based on that string-converted-to-a-number i.e. you want to use the string-converted-to-a-number as the array’s index or key. How do you do that conversion using PHP?
Read more »»

Backup and restore MySQL databases

December 20th, 2011

MySQLMySQL comes with a utility called mysqldump that allows you to take a backup of your MySQL database. It generates a text file containing SQL statements that you can use to recreate your database on any MySQL server.

Read more »»