/home/sjf
/home/sjf
/var/blog
/usr/share/photos
/usr/lib/cgi-bin
/dev/random
/var/mail
Muh Blog

My blog has moved to http://spikeypillow.com.

It's a montage! Part 2

Another year of college couldn't go by without you experiencing the wonder that is our CS lecturers. See it tiled, 1995 style.

(Mike Brady gets in because I forgot him last year).

sjf, now in Technicolor

So I started a blog, I'm sorry, I know, there goes my credibilty. You can read it here. Anyway, I'll be filling it with stuff about america, so you can find out if what the tv tells us is true. Also have a spiffy new camera, so can I show off my lack of photographic ability to the world. My photos are on Flickr

Quotes

Quotes, some from random sources, some original. They're in % seperated format which I believe is what fortune(6) likes.

quotes

It's a montage!

These are the lecturers for third year computer science 2006 in all their technicolor glory. Photos are from their websites. Unfortunately Dan McCarthy is missing, the only photo I could find was a tiny shot of him with a priest.
Get the full experience here.

The Microsoft Interview

Once upon a time there a was webpage about the Microsoft interviewing processing. But this webpage was lost at sea. Now for your enjoyment and personal gain, dredged from the depths of archive.org, I bring you Hacking the Microsoft Interview.

How to make firefox 1.5 less annoying

Firefox 1.5 uses the GTK filepicker (the dialogue you get when you open or save a file). Well you may have noticed that it blows serious monkey chunks, where's the box for typing in the name of the file? Oh no, that just 'appears' if you start hitting keys. Stop typing for too long and it will disappear again and forget anything you just entered. I know I want to use /usr/bin/xpdf to open a pdf, I don't want to have to wait for firefox to give me a complete listing of all the files in /usr/bin and then just select xpdf for me after locking up the browser for 5 minutes. I could go on but it would just get boring.

So how to go back the pre-1.5 builtin filepicker? Well, luckily for us there is a solution! You need to edit nsFilePicker.js in the firefox components directory, /usr/lib/firefox/components. You just need to change one line:

Original File:

    compMgr.registerFactoryLocation(FILEPICKER_CID,
                                    "FilePicker JS Component",
//@line 278 *snip*
                                    "",
//@line 280 *snip*
                                    fileSpec,
                                    location,
                                    type);

New Improved File:
    compMgr.registerFactoryLocation(FILEPICKER_CID,
                                    "FilePicker JS Component",
//@line 278 *snip*
                                    FILEPICKER_CONTRACTID,
//@line 280 *snip*
                                    fileSpec,
                                    location,
                                    type);
You have to get firefox to register the change, you can do this by disabling, enabling or installing an extension.

Many thanks to Robert S. on the mozillaZine forums.

Hey, look it's that person.
You seen them before?
Hmm, me neither. You're not here about the VAX are you?
Good, good. Well I guess you must be new here. Well welcome to the team, glad to have you aboard etc. Here's your company pen.
Oh yes, and watch out for the kitten.
Yes, I've heard he can be quite nasty.
Whats, that? What are you doing here? You mean you don't know? You must be here for CGI.
Umm, he's not here yet.
You mean he's late? Well I guess you'll just have to wait until he gets in then. In the meantime I suggest you have a look around. Try to not to tread mud around, white carpets are a nightmare to keep clean.