Monthly Archives: March 2012

You are browsing the site archives by month.

Delete all tables in a MySQL database

I was looking for a script to delete all tables in a MySQL database without having to drop the database.

mysqldump -u [username] -p --add-drop-table [database] | grep ^DROP | mysql -u [username] -p

/cc @davelens

MacOSX maximize any window

I’m a keyboard man and I want to know as many useful shortcuts as humanly possible. I got a great tip from Dave Lens on how to configure MacOSX to bind cmd+m to maximize almost any window.