/home » workblog

Entries for June, 2008

Blank Page when using IIS Permalink hack

I use Pretty Wordpress Permalinks on IIS when I need to install WP on a windows server, but on one host I ran into a problem where I would get a blank page if the post didn’t exist instead of the theme’s 404 template. But for some reason it works fine if I just echo [...]

Remove device from ‘Safely Remove Hardware’

My new laptop has a removable DVD drive, which is nice, but I’ll rarely–if ever–remove it and because it’s removable Windows puts the Safely Remove Hardware icon in the system tray, which is annoying to someone who is as nuerotic and anal-retentive as I am. If you search for a way to remove it most [...]

Comparing E-mail Address Validating Regular Expressions

I wanted to find a regular expression to validate e-mail addresses, but when I searched I found dozens of slightly different versions of the same expression. Almost all of them had people leaving comments about how it failed to validate or invalidate some rare but completely valid/invalid address syntax. But dispite all the criticism, I [...]