Skip to content

Category: Technology

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 »

Making a service available on more ports with iptables

If you need services to be availble on multiple ports, you can use: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1000 -j REDIRECT --to-port 25 --match comment --comment "Explain." Read More »

Setting up pptpd and pptp for a VPN

source and source and source. I'm keeping it as simple as possible. Read More »

Making a Compaq Deskpro sff boot without keyboard

To boot a compaq Deskpro sff without keyboard, you need to configure the BIOS in a special way. I found this: Read More »

Disabling exim port 25 listening when zimbra is installed

Edit: This doesn't work anymore I don't think, because more modern versions check for SMTP conflicts and don't allow this. Read More »

Taking control of the wpautop filter

Wordpress does automatic paragraph formatting using the wpautop filter, some PHP code originally developed by Matt Mullenweg. For most of the time that this blog has existed, I've disabled the wpautop filter using the following two lines in my theme's functions.php file: Read More »


grml seems like an interesting Debian-based Linux Live CD. It seems interesting because “[it] includes a collection of GNU/Linux software especially for system administrators and users of texttools.”

Read More »

C++ base 10 to base 26

Last februari/march, I've been working again on an old obsession from ten years ago (when I was eighteen): to write a Minesweeper program that could solve very big maps as well or better than the best human player. At the time I did this because I thought that this was actually a million dollar challenge from the Clay Mathematics Institute. Now, I understand that the problem I solved at the time was not actually what was required, but still, once upon a time (such as early this year), I like to revisit the old problem and try to redo my old segfault generator as something that benefits from the fact that I'm now working with 10 years of programming experience instead of 1. Read More »

Zimbra has no shutdown init script on Debian and Ubuntu

There is a K01zimbra in rc6.d for reboot, but not in rc0.d. See this bug report I made. Read More »

Zimbra dependancy on ‘file’

Zimbra has a dependancy on 'file', which the installer file won't check for. It is also a WONTFIX bug, so beware: install file(1)! If you don't, mails get stuck in queue because amavisd won't run.

Read More »