Skip to content

Instantly share code, notes, and snippets.

@johnvilsack
johnvilsack / 0_reuse_code.js
Created January 15, 2014 18:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@johnvilsack
johnvilsack / es.sh
Created December 3, 2012 23:18
Install ElasticSearch on Ubuntu 12.10
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre -y
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.11.tar.gz -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
sudo mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share