Archive for the ‘ Geek Stuff ’ Category

Node.js on OSX

Node.js is a fun new technology. If you are looking to experiment with it, here is a quick start guide on how to install it for people using OSX

Macports is so 1995

Install Homebrew, a much better alternative to macports

    ruby -e "$(curl -fsSL"

Install Node.js and NPM

npm (Node Package Manager) is a nifty little tool to manage node packages

    brew install node
    brew install npm
    export NODE_PATH="/usr/local/lib/node"

That'll do it's thing and voila!, you now have node installed. To quickly test if this is working create a file called test.js. In the file paste the following contents

    var http = require('http');
    http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Hello World\n');
    }).listen(8124, "");
    console.log('Server running at');

Now run and you should be able to hit to view the results

    node test.js

A few more packages to play with while you experiment:

    npm install expressjs
    npm install jsdom
    npm install yui3
    npm install yql

Handy .bashrc Aliases

By no means a complete list. I find this useful in my day to day. Feel free to comment and add some more

The fanboy in me

Fruit Salad


Awesome street sign

Long Live and Prosper

Long Live and Prosper

We have all been here



OMG they canned kenny


Einstein ate Mentos!

Einstein endorses Mentos

Paranoid Much?

I accept your challenge via

Schedule for Spring 2009

I don't know what to make of this post. This might be the most important semester of my career at college and its also the last for many of my friends. I'm going to have to strike a balance between both. Somehow i convinced myself I could do a BME senior design project and signed up for it with nick and Hahn. Here is my schedule for now.

Spring 2009 Schedule

Unstructured Scribbles is powered by Express and Pure CSS. Opinions on this website are my own and not of my employer.