Skip to content

Instantly share code, notes, and snippets.

View FauxFaux's full-sized avatar

Chris West FauxFaux

View GitHub Profile
faux@sweevo:~% which jruby
/home/faux/.rvm/rubies/jruby-1.7.11/bin/jruby
faux@sweevo:~% jruby -wdv
Error: Could not find or load main class
faux@sweevo:~$ rvm info
jruby-1.7.11:
system:
uname: "Linux sweevo 3.13.0-19-generic #40-Ubuntu SMP Mon Mar 24 02:36:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux"
system: "ubuntu/14.04/x86_64"
bash: "/bin/bash => GNU bash, version 4.3.0(1)-release (x86_64-pc-linux-gnu)"
zsh: "/usr/bin/zsh => zsh 5.0.2 (x86_64-pc-linux-gnu)"
@FauxFaux
FauxFaux / gist:1671267
Created January 24, 2012 17:20
Machine set-up
sudo apt-get install git zsh screen && git clone --recursive git://git.goeswhere.com/git/rc.git && rc/install.sh && chsh
exit
sagi fail2ban libpam-cracklib shorewall vim-nox xbase-clients build-essential aptitude apt-file aria2 wget etckeeper dnsutils dos2unix ncdu p7zip pbzip2 pwgen tig openjdk-6-jdk most
printf "deb http://ftp.uk.debian.org/debian-backports/ squeeze-backports main non-free contrib\ndeb-src http://ftp.uk.debian.org/debian-backports/ squeeze-backports main non-free contrib\n" | s tee /etc/apt/sources.list
sagu
sagi -t squeeze-backports gitolite git-daemon-run lighttpd gitweb
screen
package ptv.publishing;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;