Reset Firefox Extension Manager

I ran into a little snag this evening with Firefox while trying to enable the Firebug Extension. Firefox gave me the typical message about restarting for my changes to take effect — but after restarting, nothing had changed and the restart message was still there!!

I must have restarted ten times before I realized it just wasn’t going to work itself out. So I turned to Google, and found a fix on the MozillaZine forums:

Continue Reading

How Long Has My Mac Been On?

When I want to know how long my Mac has been cranking away without a restart, I just open up Terminal and type uptime.

Right now, it’s only been up for four days. I was having some issues with TweetDeck chewing up my RAM, so I rebooted the MacBook to give it a fresh start again. But I think the longest I’ve had it going was seventeen days. Nice!!

Disable Post Revisions in WordPress

The Post Revisions feature in WordPress takes up database space that I’d rather not waste. So I found out how to disable the feature. Add this to wp-config.php:

// disable post revisions
define('WP_POST_REVISIONS', false);

Then, clean up the database with this SQL:

DELETE a,b,c  
FROM wp_posts a  
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)  
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)  
WHERE a.post_type = 'revision'