Prevent WordPress’ .htaccess From Effecting Certain Directories

This really frustrated me. To ensure my next bout of horrid frustration isn’t caused by the same problem I’m documenting the solution here:

No comments | Trackback

Normal User Unable to Write to FAT32 Partition Ubuntu

Just when I though I had finished reviving my parent’s computer with Ubuntu, I discovered that the normal user was unable to write to the shared FAT32 partition.

No comments | Trackback

Partition Displayed as ‘40.0 GB Volume’ Instead of Mount Name Ubuntu

Installing Ubuntu on my parent’s computer today I ran into this problem: though the Windows and Storage partitions were being mounted correctly at login, they were displaying as “40.0 GB Media” and “80.0 GB Media” respectively.

No comments | Trackback

jQuery Error: ‘g is undefined’

Discovered the cause of this annoying (but seemingly impotent) error in a response by Karl Swedberg on Nabble.

The error was caused by my passing only one function to jQuery.hover(), eg:

 jQuery(".blog-entry-date").hover(function(){
                jQuery(this).animate({color: genHex()},100);
        });

Hover takes two functions. Instead ‘mouseenter’ should be used:

 jQuery(".blog-entry-date").bind('mouseenter',function(){
                jQuery(this).animate({color: genHex()},100);
        });

The error didn’t seem to have any effect on the execution of the code (at least in Firefox), but errors are errors, and the the cause should be hunted down. Always.

Comments (3) | Trackback

Perl Script to Insert DBpedia Infobox Data into a MySQL Database

This script parses out the Wikipedia page, DBPedia Infobox Predicate and Infobox subject, and inserts them into a MySQL table. I thought I’d share it with The Internet in case someone else wanted to work with DBPedia infobox data in the same way.

No comments | Trackback