Skip to content

Instantly share code, notes, and snippets.

@bmoore
bmoore / nodegit.sh
Created September 24, 2015 12:24 — forked from tbranyen/nodegit.sh
emscripten fallback
λ node
> require("nodegit").Repository.open(".", function(err, repo) { console.log(err, repo); });
0 {}
#!/bin/bash
# Usage: install_node 0.6.16
DIR=~/.node
TARGET=/Volumes/Macintosh\ HD
VER=$*
if [ ! -f ~/.node/$VER.pkg ]; then
curl --create-dirs -o $DIR/$VER.pkg http://nodejs.org/dist/v$VER/node-v$VER.pkg
fi
@bmoore
bmoore / install.sh
Created December 7, 2012 21:08 — forked from padcom/install.sh
Gitorious installation on Ubuntu 12.04
#!/bin/bash
#------------------------------------------------------------------------------
# SETTINGS
#------------------------------------------------------------------------------
MYSQL_ROOT_PASSWORD=password
MYSQL_GITORIOUS_PASSWORD=password
GITORIOUS_HOST=gitorious
SYSADMIN=sysadmin