Skip to content

Author: Rowan Rodrik

MediaWiki ConfirmEdit/QuestyCaptcha extension

Since I moved my LDAP wiki over from DokuWiki to MediaWiki, I've been burried by a daily torrent of spam. Just like with my tropical timber investments wiki, the ReCaptcha extension (with pretty intrusive settings) doesn't seem to do much to stop this shitstream. Read More »

Safari: don’t give gzipped content a .gz extension

Yesterday, while helping Caloe with the website for her company De Buitenkok, I came across the mother of all stupid bugs in Safari. Me having recently announced payformystay.com, I loaded it up in Apple's hipster browser only to notice that the CSS wasn't loaded. Oops! Read More »

Announcing payformystay.com

Januari the first, a very good day to announce a new project that I've been working on this past year. Which I did, on Facebook and Twitter. Now, five days later, it's time te repeat the announcement to give it some much-needed link-juice. I know that normal people don't follow this blog. (I don't even follow this blog!) But it does have PageRank. And it does have 4000 monthly visitors. Time for some link-whoring! Read More »

Ubuntu Desktop Linux and Acer TravelMate 7513WSMi

My youngest sister has retired her big-ass (17") Acer TravelMate (model 7513WSMi 7510) with a more modern offering from Sony. That was last year. Now, she thought it'd be a good idea to donate it to our oldest sister. But since the thing has always “run” like a pig with Windows Vista, her girl-geek instincts thought it better if I'd equip the old monster with Ubuntu Linux instead. Read More »

Making a shell-script run with setuid root

If you want to run a process with root privileges that you can invoke as a less unprivileged user, you can make the program setuid root. This can be very useful, for example, when you want a PHP or CGI script to call a backup process, or to create a new site or irrevocably delete you whole system. The latter example points to a serious security problem: if anyone can figure out a way to make your program do something you don't want, you're screwed, because you just gave them root privileges to wreak maximum havoc. That's why, normally, scripts (anything executed by an interpreter by the kernel because of a shebang) won't get elevated privileges when you set their setuid bit. Read More »

Remove appending slash from a path using Sed

Here's how you can remove the appending slash from a path using sed, the stream editor: Read More »

Ubuntu and SiS 671 VGA chipset driver

The video on my mom's laptop, A Fujitsu Siemens Esprimo Mobile V5535, had recently gone awry. At the time, the laptop was running Ubuntu 9.04 (I think). Reconfiguring the driver didn't do much good, so I upgraded the machine to 10.04, hoping that that would fix it. It didn't. Read More »

How to make a wiki work: PALDAP

The first ever wiki I started was www.paldap.org. PALDAP stands for “PALDAP: A Lazy Directory Administrator's Pal”. Yes, that's a recursive acronym. Cute, ainnit? I actually registered the domain because it was the name of a crappy abandonware PHP LDAP administration tool that I wrote in PHP, but decided instead to configure it as a wiki to host some of my assorted experiences with LDAP and OpenLDAP in particular. Read More »

Effective CLI habits

Just an example of some effective CLI magic that I copy/pasted into a draft aboutexactly a year ago. Can you see what's happening? I'm moving some selected files into a subdirectory. Read More »

Posting to WordPress via the command-line

In February I was interested in posting to WordPress from the command-line, a possibility that I enjoyed when I wanted to apply some CLI-magic to some of my MediaWiki installations in the past. Read More »