February 3, 2010 | Computers | No comments
My MacBook Pro has been acting up again lately. Crashes, stalls, and overall wacky goodness. Yesterday I pulled it out of my bag after getting home and although I had put it to sleep, and confirmed that it was asleep before packing it away, it had crashed on the way home.
When I restarted it I was faced with a question mark flashing inside a folder icon. The computer couldn’t find a valid system to boot from.
(more…)
December 24, 2009 | Computers | 1 comment
Ever. Sheerly out of principle.

This is from a Macbook Pro “late 2008″ connected to a Samsung HDTV over VGA because all of my HDMI ports are taken.
December 21, 2009 | Plugins, Web Design & Development | No comments
I can actually say that I’m timely on this one! The WordPress TextMate Bundle and the WordPress Clippings for BBEdithave been updated for WordPress 2.9 “Carmen”.
There wasn’t a lot that changed as far as the bundle is concerned, most of it being about a shift in line numbers of where the functions are located in the core so that the Jump to Function action works properly. There’s also a built in About page now that provides documentation on the plugin as well as credits to the folks who have helped out.
The versions of the Bundle and Clippings that are compatible with WordPress 2.8 have been tagged at GitHub, so they’re still available through a direct download or git checkout.
On a side note, a less used (and maybe less practical resource), my WordPress Hooks Tag Cloud has been updated for the new 2.9 version (and, 2.8… whoopsie!). If you’re looking to see where a certain action or filter is used you can find that out there.
December 18, 2009 | Web Design & Development | No comments
Stupid Gippy Trick #2495: The title may sound funny, and the concept a bit weird, but when you’re working on many different client servers, development and production servers, with as many different configurations, keeping track of DB credentials can get a little tiresome and time consuming.
Here’s a command line one liner to print the database credentials so that they’re easily used to manually log in to MySQL or do a database dump:
Which prints out:
- define('DB_NAME', 'putyourdbnamehere');
- define('DB_USER', 'usernamehere');
- define('DB_PASSWORD', 'yourpasswordhere');
- define('DB_HOST', 'localhost');
- define('DB_CHARSET', 'utf8');
- define('DB_COLLATE', '');
Voila! No more switching back and forth from a credentials file or database or get the credentials, you simply use that’s already there.
Somebody more ambitious could probably make a little function that parses that output and creates a MySQL login command or mysqldump command, but right now that’s not me.