Blog

How to delete all tables of a DB in MySQL?

Posted July 29, 2011 - By | Comments Off

mysql -u $user -p$pass -h $dbhost $db -e “show tables” | grep -v Tables_in | grep -v “+” | awk ‘{print “drop table ” $1 “;”}’ | mysql -u $user -p$pass -h $dbhost $db Tweet

Read more

Creating a local git repo and push it to remote server

Posted June 05, 2011 - By | No Comments

Quite often I forget the git quirks.. No, I don’t use github or beanstalk. Personally, I would like to manage my own code and my customer’s code rather than just pushing to a public repo. Having said that I always create a remote repo of my local ...

Read more

Open letter to eWay

Posted May 23, 2011 - By | 1 Comment

Hi There In past I had submitted #451292 In summary : because one of our customer accidentally entered incorrect customer ID and tried to authenticate several times, you have blocked our IP . We have been through the same discussion before in the above ticket ...

Read more

Compiling PHP 5.2.X on Redhat Linux

Posted May 01, 2011 - By | Comments Off

I love yum!! But I also hate how you can’t install previous version of software sometime. Because of Zend dependency and PHP 5.2.x I recently hit a problem where I couldn’t install it via yum. All yum repo’s only had PHP 5.3.x . I ...

Read more

LightSpeed webstore: store in filesystem vs database

Posted March 18, 2011 - By | No Comments

Seriously Guys!!! Please store your images in filesystem. It will serve 5 times faster than being in database. And don’t waste precious database space on images either ! Tweet

Read more
Page 1 of 212»