Skip to content

Instantly share code, notes, and snippets.

irc = require 'irc'
navi = new irc.Client 'hub.irc.hu', 'Navi', debug:true, channels: ['#nonesuch']
Array::random = ->
@[Math.floor Math.random()*@length]
navi.hey = navi.addListener
navi.addListener 'message', (from, to, message) ->
# install git
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
mkdir ~/src
cd ~/src
# download the Node source, compile and install it
git clone https://github.com/joyent/node.git
cd node