Skip to content
1.0http://trevorcreech.com/blog/2008/04/24/facebook-large-photos/

Facebook Large Photos

Time for my second greasemonkey script.

Ever searched for a long-lost friend on Facebook, only to wish you had a magnifying glass for their profile picture?  The ones shown in the search results are so small.  Well, today’s your lucky day, because I have just the solution for you!

  1. Make sure you are using Firefox.
  2. Install Greasemonkey
  3. Install Facebook Large Photos

Before:

After:

4.6http://trevorcreech.com/blog/2008/03/10/caps-lock-warning/

Caps Lock Warning

I just wrote my first Greasemonkey script. It warns you if you are typing a password with caps lock enabled.
The caps lock detection code is complements of Stuart Langridge.
To install:

  1. Make sure you are using Firefox.
  2. Install Greasemonkey
  3. Install Caps Lock Warning

Enjoy!

5.9http://trevorcreech.com/blog/2007/08/16/user-relevant-timezones-01/

User-Relevant Timezones 0.1

My friend Stephen and I have just written a WordPress plugin to show the times on your blog in the user’s timezones. Check it out!

4.6http://trevorcreech.com/blog/2007/08/04/early-web-design-experiments/

Early Web Design Experiments

From the earliest of my introduction to HTML and CSS (Thanks to my friend Stephen), I present these attrocities:
I was basically just trying to figure out basic HTML and CSS syntax.

Lovely stuff, eh? The logo on the first page was created with MS Paint, and saved as a gif. *shudder*

You can see how I’ve progressed by checking out my portfolio.

7.6http://trevorcreech.com/blog/2007/07/15/lego-robotics-invention-system-on-ubuntu-linux/

Lego Robotics Invention System on Ubuntu Linux

RCXThis is how I managed to get NQC working for the Robotics Invention System on my laptop, running Ubuntu 7.04 Feisty Fawn, with the USB Lego Infra-red Tower. Anything with a black background should be executed in a terminal.

  • Plug in your USB IR Tower
  • sudo mkdir /dev/usb/
  • sudo ln -s /dev/legousbtower0 /dev/usb/lego0 (Edit: For the latest versions of Ubuntu, the first path may need to be /dev/usb/legousbtower0, according to Scott.)
  • sudo chmod 666 /dev/usb/lego0
  • echo test > /dev/usb/lego0 (Look for a green light to flash on the IR Tower. If you see it, then all is well.)
  • Download the latest source of NQC from the NQC Website.
  • Put it in its own folder, and untar/gzip it: tar -xvzf nqc-[Hit tab to fill in the rest]
  • Open the Makefile: gedit Makefile
  • Remove the ‘#’ before this line: USBOBJ = rcxlib/RCX_USBTowerPipe_linux.o
  • Save and close the Makefile.
  • mkdir rcxlib/LegoUSB/
  • cd rcxlib/LegoUSB/
  • wget http://legousb.cvs.sourceforge.net/*checkout*/legousb/LegoUSB/drivers/linux/include/legousbtower.h
  • cd ../../
  • sudo make
  • sudo make install
  • export RCX_PORT=usb (You should also add this line to the bottom of the .bashrc file in your home folder: echo export RCX_PORT=usb >> ~/.bashrc
  • Try it out: nqc -msg 7 (You should see the green light come on on the IR Tower, and you shouldn’t get any message in the terminal.
  • If it works, you should be ready to use NQC! If you need to install the RCX Firmare, insert the Robotics Invention System CD, and run this command: nqc -firmware /media/cdrom/firm/firm0309.lgo
  • Download the test program: nqc -d test.nqc (This should put a program in slot 1 of the RCX which will just turn on Motor A.

Edit: Mike has a followup article where he explains how to set up the first three steps so they happen automatically when you plug in the IR Tower.

Kudos to this article for putting me on the right track.