Blog

WordPress is stupid

I have stopped using WordPress for personal projects and only use it professionally any more. In case you haven't been aware of this, WordPress core developers think that potentially breaking thousands of links on thousands of sites is an accepatable edge case. Here's a great summary of what has been ... more

Samsung ML-1610 on Debian GNU/Linux

I bought this printer a long time ago and it was connected to my Mac until that box died. I tried to install it once but never tried again after I didn't get it to work in less than five minutes. Well, this time I did invest like ten minutes ... more

Using recordmydesktop to upload to YouTube, Vimeo etc.

recordMyDesktop is a great tool to make videos of what you're doing with your computer. This can be very useful to demonstrate software features or to document workflows. By default, recordMyDesktop produces Ogg-Theora-Vorbis. If you want to share your files or upload them to a video site you'll want to ... more

Password protecting the wp-admin directory

Several places recommend to block the WordPress admin area with a password. While this certainly is a good idea, implementing it properly is non-trivial. One of the problems is that the WordPress Ajax handler script is located in the admin directory. So password-protecting the admin area will break all Ajax ... more

How to add support for navigation menus to your WordPress theme

The new navigation menus system in WordPress 3.0 looks promising, but in my opinion it's not very usable yet. Anyway, here's one way to add navigation menus to your theme while maintaining backward compatibility: In your theme's functions.php add something like the following code: <?php function mytheme_addmenus() { register_nav_menus( array( ... more

WPMU fast backend switch

I recently converted several simple WordPress installs into a single WPMU install. As I use all of the blogs myself I wanted a quick way to switch between the various backends. This is probably only useful if you don't have too many blogs and use all of them yourself. The ... more

WordPress 3.0 network lighttpd rewrite rules

I recently installed my first WordPress network on lighttpd and was looking for rewrite rules. This post is correct except for the rewrite rule for files. I supposed it's a change that was introduced in 3.0, or maybe earlier. Anyway, here are updated rewrite rules: In your lighttpd.conf: $HTTP["host"] =~ ... more