Skip to content

Instantly share code, notes, and snippets.

cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
wget -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
sudo mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share
liamcurry /
Created May 14, 2012 20:24 — forked from markupboy/
automated conversion of a file to all three html5 compatible video formats - h.264, ogg, and webm
# Output file for HTML5 video
# requirements: ffmpeg .6+
# usage: ./ infile.mp4 640x360
file=`basename $1`
filepath=`dirname $1`