Horrell.ca

Installing node.js on a Joyent SmartMachine

Posted 64 days ago in Archive, modified 2 days ago

Here’s a little tip for installing node.js (v0.1.102) on a Joyent SmartMachine (formerly called an Accelerator).

First, you’ll need to be root, so lets get that out of the way:

su -

Next, create a ~src/ directory in the home directory of root and download node.js:

mkdir src
cd src
curl -O http://nodejs.org/dist/node-v0.1.102.tar.gz

untar it:

gtar -xpf node-v0.1.102.tar.gz

Now, configure, build, and install:

cd node-v0.1.102/
./configure
gmake
gmake install

The gmake part will probably take the longest. And you’ve probably noticed I’m using gtar instead of tar and gmake instead of make. There are some difference between the Solaris versions and the GNU versions.

And that’s it!

cnn.com: Remove Comments

Posted 149 days ago in Archive, modified 149 days ago

cnn.com: Remove Comments is a Greasemonkey user script for the Firefox or Safari web browser. This script removes comments from the CNN website.

To use this script you first need to make sure you have Greasemonkey installed and enabled for Firefox or GreaseKit installed and enabled for Safari. With that out of the way, do the following:

  1. Click the Download link for the cnn.com: Remove Comments user script below
  2. You should now see an Greasemonkey or GreaseKit installation dialogue.
  3. Click Install

And that’s it, cnn.com: Remove Comments script is installed! Enjoy!

Download: cnn_remove_comments.user.js ~1KB

Created: 04/03/2010 10:38 AM

Modified: 04/03/2010 10:39 AM

Total downloads: 175

Installing Greasemonkey Scripts in Safari

Posted 243 days ago in Archive, modified 243 days ago

Here’s a recent discovery I’d like to share: you can actually run Greasemonkey scripts in Safari. The solution is simple: install GreaseKit. You can find some good instructions on installing GreaseKit here.

Once installed, you can use any of my Greasemonkey scripts in Safari on a mac just like in Firefox. I’ll update the pages for each of my scripts to include this information as well as instructions for installing the scripts in the next few days. Installation should be easy enough though. In fact, you should just be able to click the download link for each file and you’ll see an installer prompt. This should also work in Firefox and is a much quicker way to install scripts — another recent discovery of mine, ahem.

youtube.com: Remove Comments

Posted 247 days ago in Code, modified 234 days ago

youtube.com: Remove Comments is a Greasemonkey user script for the Firefox or Safari web browser. This script removes comments from YouTube.

To use this script you first need to make sure you have Greasemonkey installed and enabled for Firefox or GreaseKit installed and enabled for Safari. With that out of the way, do the following:

  1. Click the Download link for the youtube.com: Remove Comments user script below
  2. You should now see an Greasemonkey or GreaseKit installation dialogue.
  3. Click Install

And that’s it, youtube.com: Remove Comments script is installed! Enjoy!

Download: youtube_remove_comments.user.js ~1KB

Created: 26/11/2009 05:02 PM

Modified: 26/11/2009 05:02 PM

Total downloads: 337

nationalpost.com: Remove Comments

Posted 253 days ago in Code, modified 234 days ago

nationalpost.com: Remove Comments is a Greasemonkey user script for the Firefox or Safari web browser. This script removes comments from the nationalpost.com website.

To use this script you first need to make sure you have Greasemonkey installed and enabled for Firefox or GreaseKit installed and enabled for Safari. With that out of the way, do the following:

  1. Click the Download link for the nationalpost.com: Remove Comments user script below
  2. You should now see an Greasemonkey or GreaseKit installation dialogue.
  3. Click Install

And that’s it, nationalpost.com: Remove Comments script is installed! Enjoy!

Download: thenationalpost_remove_comments.user.js ~1KB

Created: 20/11/2009 10:56 AM

Modified: 20/11/2009 10:56 AM

Total downloads: 327

theglobeandmail.com: Remove Comments

Posted 253 days ago in Code, modified 234 days ago

theglobeandmail.com: Remove Comments is a Greasemonkey user script for the Firefox or Safari web browser. This script removes comments from the theglobeandmail.com website.

To use this script you first need to make sure you have Greasemonkey installed and enabled for Firefox or GreaseKit installed and enabled for Safari. With that out of the way, do the following:

  1. Click the Download link for the theglobeandmail.com: Remove Comments user script below
  2. You should now see an Greasemonkey or GreaseKit installation dialogue.
  3. Click Install

And that’s it, theglobeandmail.com: Remove Comments script is installed! Enjoy!

Download: theglobeandmail_remove_comments.user.js ~1KB

Created: 20/11/2009 10:20 AM

Modified: 20/11/2009 10:54 AM

Total downloads: 297

Dear Microsoft: This is how it's done

Posted 254 days ago in Archive, modified 159 days ago

For some odd reason if you want to watch the following video from Microsoft at the Channel 9 site about the IE 9’s support for standards and interoperability, you are prompted to install Silverlight.

I just thought I'd post this to show them how it's done. The quality of the Ogg file isn't the greatest so apologies for anyone using Firefox 3.5 or Chrome. Update: I removed the Ogg version of the video to cut back on bandwidth usage.

Kanye Bomb

Posted 320 days ago in Code, modified 316 days ago

You may have heard about Kanye West storming the VMA stage during Taylor Swift’s speech. To mark that event I bring you the Kanye Bomb, an easy way to add an interrupting Kayne to your site.

Download the file below, follow the README and enjoy!

Download: kanye_bomb_1.0.zip ~187KB

Created: 14/09/2009 11:56 PM

Modified: 24/09/2009 01:02 PM

Total downloads: 17

A few of my favourite iPhone apps

Posted 338 days ago in Archive, modified 338 days ago

I bought the iPhone 3G S on the day it came out on June 19 and I’ve been pretty happy with it. Granted, I went from a Motorola Razr 3.0, probably the worst off all the cell phones I have even owned and I’ve owned about four. Granted, it’s definitely not a smart phone so it’s probably a bad comparison, but even doing “dumb” things on it, like say responding to an SMS or making a call, was painful.

Ugh, it irritates me just talking about that phone…

Where was I?

Oh, right, iPhone apps. So here’s a list of my current favourites in no particular order:

  • ConvertBot. Sure there are probably faster apps for converting feet to centimetres and what not, but this app is so fun to use I just don’t care about those possible extra lost seconds
  • Eucalyptus. An ebook reader type app which is essentially an awesome interface to the archives of Project Gutenberg. You get easy access to over 20,000 books! For free! Well, the app isn’t free, but totally worth the price. I’ve been working my way through the Sherlock Holmes series.
  • TouchTerm Terminal access from your iPhone or iPod Touch?! Hell yeah! I’m telling you, it’s so good to be able to ssh into my shared account on Joyent and edit something in nano from wherever I am. SO GOOD!
  • BeejiveIM Instant messaging from anywhere?! Are you kidding me?! No, I’m not. It’s great. You can long into MSN, MobileMe/AOL, Jabber, and Google Talk accounts all at once from a nice interface on you iPhone or iPod Touch.

Squirrel Pop

Posted 343 days ago in Code, modified 330 days ago

A new phenomenon has hit the web: Squirrel Photobombing. I first discovered this on Cute Overload and Intelligent Travel. It’s taking over!

To join in the fun, I’ve created Squirrel Pop, an easy way to add the Banff squirrel sitebomb (yes, I just made that up) to your site.

Download the file below, follow the README and enjoy!

Download: SquirrelPop1.0.zip ~66KB

Created: 22/08/2009 12:30 PM

Modified: 24/09/2009 11:14 PM

Total downloads: 16

Older | →