Skip to content

Instantly share code, notes, and snippets.

@jibs
jibs / install_graphite_statsd_ubuntu_precise.sh
Created May 17, 2012 14:45 — forked from bhang/install_graphite_statsd_ubuntu_precise.sh
Install Graphite and statsd on Ubuntu 12.04 LTS (Precise Pangolin)
#!/bin/bash
# node.js using PPA (for statsd)
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
# Install git to get statsd
sudo apt-get install git
@jibs
jibs / gist:2137961
Created March 20, 2012 16:32
Useless hello world micro-benchmarks go (golang) vs Nodejs
Go
** SIEGE 2.72
** Preparing 200 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.
Transactions: 8296 hits
Availability: 100.00 %
Elapsed time: 19.54 secs
@jibs
jibs / .vimrc.local
Created September 9, 2011 10:04
.vimrc.local
set foldmethod=marker
nmap <c-h> <c-w>h<c-w><Bar>
nmap <c-l> <c-w>l<c-w><Bar>
let g:user_zen_expandabbr_key = '<c-e>'
let g:use_zen_complete_tag = 1
" Use Node.js for JavaScript interpretation
" let $JS_CMD='node'
let g:syntastic_quiet_warnings=0