if (is_singular() && post_password_required($post))

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…]

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!!

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'

I have been going out of my fucking mind trying to figure out how to select and drag multiple items in Finder. It’s not that I could never get it to work – every once in a while, in the midst of multiple and repeated attempts, I’d experience sudden and unexpected success with it. But, for the life of me, I simply could not determine exactly what magical action or combination of actions my fingers had just performed on the keyboard and trackpad that had done the trick!!

I was starting to think that my love affair with my new Macbook was on its way to becoming a love/hate relationship instead. Oh, no, this will not do. Google time!

Lo and behold!! Thanks to Mort, who posted the answer in this Apple discussion thread, both my sanity and my love have been restored.

Grab [them] by the icon and then drag.

The icon?! The icon!! *hallelujah chorus*