Quote of the day:
Yeah. Maybe I do have the right ... What's that stuff?

-- Homer Simpson
Deep Space Homer
 

Unix/Linux


Mon
27
Jun '05

I did a little fiddling and applied the patch to 2.6.12. Click here for the patch.

This is a patch for Linux kernel 2.6.12. The patch adds support for 1024×480 mode to the neomagic framebuffer driver. This is the resolution on the SONY VAIO PCG-C1X sub notebook. I didn’t write the patch myself and I have no idea how it works. I just got a 2.6.9 patch and adapted it for 2.6.12. I can’t remember where I got it. Apologies to the original author.

Fri
24
Jun '05

It’d be nice to be able to do some things without having to input passwords since I am pretty much the only user on my own machine. I know it’s not the securest approach. But I don’t really care that much since my machine is behind a robust firewall anyway :P. In the sudoers file:

system_username ALL=(ALL) NOPASSWD: ALL
Sun
15
May '05

Below the header, I have added a block “quote of the day”. It is based on the notorious unix program fortune. I found the PHP script here.

I had to hack the theme a little bit to make it look nice. Code wise, changes were made in header.php. One drawback is the fortune data directory is relative to the PHP code that includes the script. So I have to either specify an absolute path or symlink under each directory that wants to include fortune.php. I currently have only two such directories, so not that bad.

Now it’s time to get interesting quotes :D and fiddle a little bit with the fonts and color.