Skip to content


Disabling http(s) trimming from Firefox address bar

Some time ago, the Firefox developers decided it was a good idea to trim the http(s):// from the address in the address bar. Since then, I've been getting HTTPS site where I don't want it, because I can't see what I'm doing. Especially so because HTTPS has no concept of virtual host names, and putting https:// in front of any domain might put you on a completely different web site. So, when I accidentally typed https:// in front of an URL once, it will remember that, but not show me... Read More »

Cheap Logitech USB video webcam

Noting this down to not forget. The Logitech HD Webcam C270 is a cheap webcam that is simply a USB video device, so it works in all OS's without special drivers. Read More »

20×2 LCD display

There are a million 20x2 characters LCDs out there, but this is one that I like: Farnell code: 9448780 Read More »

Making my USB webcam not the first sound card

When I booted my system with the webcam plugged in, it was sound device 0, instead of 1. This is annoying, so I added this to /etc/modprobe.d/alsa.conf: Read More »

Styling visited links for

I wanted to change the text of visited links on, using CSS. In the offer summary, I wanted to change the link text "Check it out!" with "Check it out again!" after the user had indeed checked out the offer. Read More »

Exemplary web design:

While investigating fragment identifiers and hashbangs for quite a while back, I came across this article by Dan Web, when I noticed that I really, really liked the design of Read More »

Creating a Xen bridge with bonding on Debian

Like this, but then with bonding: Read More »

A new Archlinux upgrade, a new unbootable system

It's that time again... First my grub broke. So I had to type my config manually: root (hd0,0) kernel /vmlinux26 root=/dev/mapper/lvmopraid-root initrd /kernel26.img boot Read More »

Aihato WordPress maintenance notes

According to Brian Kernighan, “Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?” With that in mind I'm re-exposing myself to the spaghetti that is the Aihato WordPress code base. Read More »

NFSN PHP file write permissions in safe_mode

I've been causing some (security) concerns for myself by thoughtlessly using the dreaded 777 permissions for upload directories to allow the various PHP-based websites that I host at to write files there. What this drastic anti-security measure didn't allow me to is to manage these uploaded files through SSH (and SCP/Rsync). In the chroot jail which I'm allowed to enter through SSH, I am ‘me’, while the files created from PHP end up being owned by user ‘web’. However, for some reason these files didn't get owned by group ‘web’ of which the ‘me’ user is a member. Also, I got into trouble with new directories that were being created by the upload scripts. Read More »