Skip to content

Instantly share code, notes, and snippets.

View chrisramsay's full-sized avatar

Chris Ramsay chrisramsay

View GitHub Profile

Keybase proof

I hereby claim:

  • I am chrisramsay on github.
  • I am arrayschism (https://keybase.io/arrayschism) on keybase.
  • I have a public key ASBMN0uiuuf9quNKgQCGIVJwDYCRYGiCwXwtxXTTbJ5Dcgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am chrisramsay on github.
  • I am chrisramsay (https://keybase.io/chrisramsay) on keybase.
  • I have a public key whose fingerprint is 060C F305 F20B 5359 8D19 7F93 AC94 F4DE 41C2 E99B

To claim this, I am signing this object:

@chrisramsay
chrisramsay / gist:4709143
Created February 4, 2013 19:52
js-prettify
(function() {
var prettifyPath = "//jp-cdn.appspot.com/js/prettify/";
var prettifyJS = prettifyPath + "prettify.js";
var prettifyCSS = prettifyPath + "prettify.css";
var jqueryJS = "//jp-cdn.appspot.com//js/jquery.js";
function jQueryExists() { return typeof jQuery !== 'undefined'; }
//get jquery
#! /bin/sh
# set some vars/env vars up
HFILE=/etc/hosts
HNAME_S=`/bin/hostname -s`
HNAME_F=`/bin/hostname -f`
TDATE=`/bin/date '+%Y-%m-%d %H:%M:%S'`
export JAVA_HOME=/usr/java/default
export EC2_PRIVATE_KEY=/tmp/.ec2/your-key.pem
// Comment
public class Testing {
public Testing() {
}
public void Method() {
/* Another Comment
on multiple lines */
int x = 9;
}