JSConf.eu opening song - JavaScript Will Listen - Bella Morningstar
- Plask - Dean McNamee
- Plask
coffee = require 'coffee-script' | |
https = require 'https' | |
npm = require 'npm' | |
Irc = require 'irc-js' | |
cradle = require 'cradle' | |
{GitHubApi} = require 'github' | |
request = require 'request' | |
gitHubApi = new GitHubApi() | |
githubIssueApi = gitHubApi.getIssueApi() | |
githubObjectApi = gitHubApi.getObjectApi() |
var follow = require("follow") | |
var seen = {} | |
follow({ db: "http://isaacs.ic.ht/registry" | |
, since: 20267 | |
, include_docs: true }, function (er, update) { | |
if (er) throw er | |
var doc = update.doc |
startup.customRuntimeMain = function () { | |
var path = NativeModule.require('path'); | |
var custom = path.resolve(process.cwd(), process.argv[0] + ".js"); | |
if (!path.existsSync(custom)) return; | |
process.argv[1] = custom; | |
}; |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl http://npmjs.org/install.sh | sh |