How to get human readable file size on Mac (/*BSD) terminal

Getting file size from OSX terminal is a pain. Actually it's a pain in all BSD variants. We normally use `ls -sh` on Linux derivatives. But this command on Mac doesn't return a human readable value.

Basic Database Design tips for Relational Database

A poorly designed database can make your life hell as a dev while optimizing an app. On the other hand, A good design can speedup your development process along with the performance of the app.

Determine MySQL Database Size

Sometimes we want a summery of size consumed by our databases in MySQL engine. This will list all databases that current MySQL user can access and list their size in megabyte.

Guest Posts v2.0 Released

Give an opportunity to your unregistered readers to post on your Blog now. v2.0 Release notes.

Why my WP_AJAX returning Zero (0) with my response?

Some of you may still surprise, why the callback function for WP_Ajax returning an additional 0 or something else which is very unwanted at the end of your own response.

How to properly work with AJAX on WordPress (WP_AJAX)

Actually using Ajax directly into your plugin or theme is a little immature way. Cause you'll have to keep track of your files to make it work, which sometime become difficult. That's where WP_Ajax make things comfortable.