Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am jarofghosts on github.
  • I am jarofghosts ( on keybase.
  • I have a public key whose fingerprint is A32D 7993 9DBC B0DB A21F 422D 4061 A390 9B8A 56E7

To claim this, I am signing this object:

View hudammoweapons.res
"ControlName" "CTFImagePanel"
"fieldName" "HudWeaponAmmoBG"
"xpos" "4"
"ypos" "0"
"zpos" "1"
"wide" "90"
jarofghosts / pr-js-only.js
Created Feb 10, 2014
see just the js files in a github pr
View pr-js-only.js
$('[data-path]').each(function(i, el) {
var $el = $(el)
if ($el.attr('data-path').slice(-3) !== '.js') {
jarofghosts / commit-msg
Created Jan 15, 2014
better commit messages
View commit-msg
echo "`cat $1` $face" > $1
View commit-msg
# Simply prepends the branch name to every commit message
branch=$(git rev-parse --abbrev-ref HEAD)
if [ $branch != 'master' ] && [ $branch != 'HEAD' ]; then
echo "[$branch] `cat $1`" > $1
View gist:5715631
MORPHEUS: For the longest time, I wouldn't believe it. But then I saw the fields with my own eyes, watched them liquefy the dead so they could be fed intravenously to the living -
NEO (politely): Excuse me, please.
NEO: I've kept quiet for as long as I could, but I feel a certain need to speak up at this point. The human body is the most inefficient source of energy you could possibly imagine. The efficiency of a power plant at converting thermal energy into electricity decreases as you run the turbines at lower temperatures. If you had any sort of food humans could eat, it would be more efficient to burn it in a furnace than feed it to humans. And now you're telling me that their food is the bodies of the dead, fed to the living? Haven't you ever heard of the laws of thermodynamics?
MORPHEUS: Where did you hear about the laws of thermodynamics, Neo?
NEO: Anyone who's made it past one science class in high school ought to know about the laws of thermodynamics!
MORPHEUS: Where did you go to