Skip to content

Index

My universal remote programming codes

Whenever this remote's battery is loose for a while, it forgets its programming. So, here it is: For computer, use the TV setting. Press 1 and 3 for a few seconds, then when the light turns on, enter 0677 as code. Read More »

Kart racing scores

I want to keep track of my kart racing scores: dateTrackRacerfastest Time 2012-07-24Long BeachWiebe55.95 2012-07-24Long BeachWiebe56.22 2012-07-24Long BeachWiebe58.84 Read More »

Apache mod_proxy configuration for The Pirate Bay

I found several apache mod_proxy configs for setting up a proxy for The Pirate Bay, but none worked fully. Read More »

Listing MySQL table sizes

This query lists the sizes of all tables in MySQL: SELECT TABLE_SCHEMA, TABLE_NAME, CONCAT(ROUND(data_length / ( 1024 * 1024 ), 2), 'MB') DATA, CONCAT(ROUND(data_free / ( 1024 * 1024 ), 2), 'MB') FREE from information_schema.TABLES where TABLE_SCHEMA NOT IN ('information_schema','mysql', 'performance_schema'); Read More »

How to test payformystay.com

I haven't got much experience when it comes to testing web applications. Instead (and more so out of apathy than belief), I've always adhered to the ad-hoc test approach. However, the usage of pure Posgres unit tests back when I worked on a complicated investment database with Halfgaar did teach me the advantages of test-driven development. Read More »

Generating an SSL CSR and key

To generate an SSL certificate signing request (CSR) with key you can do this: openssl req -nodes -newkey rsa:2048 -keyout bla.key -out bla.csr Read More »

Creating a drbd for an existing Xen domain

I needed some VMs to be available on a backup node, which I accomplished with the distributed remote block device, or DRBD. My host machine is Debian 6. Read More »

Internet Explorer in VirtualBox 4.1 in Ubuntu 10.10

I've been needing IE for testing payformystay.com for some time now, but now I'm studying and I need it to work with some interactive Silverlight stuff. Read More »

What all programmers must know about character encoding

click. Read More »

Fixing mailscanner insecure dependancy

Mailscanner cut out on me, without errors in the log. It was only after turning on debug (which prevents backgrounding and it then only processes one batch) that it showed me. Read More »