Skip to content

Instantly share code, notes, and snippets.

Justin Hileman bobthecow

Block or report user

Report or block bobthecow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bobthecow on github.
  • I am bobthecow ( on keybase.
  • I have a public key whose fingerprint is 9177 E181 69EE D627 6F32 7A45 02BA 291C FB37 7198

To claim this, I am signing this object:

View gist:334793
Each test run on 5000 total instances.
**1 classes:**
spl_object_hash() time: 0.0025229454040527
spl_object_hash_var_dump() time: 0.042062997817993
spl_object_hash_references() time: 1.8909840583801
**2 classes:**
View else.mustache
has mustache
{{:mustache}}{{! (this is an else...) !}}
has beard
bobthecow / premailer_plugin.rb
Created May 9, 2010
Premailer gem plugin for Coda
View premailer_plugin.rb
require 'rubygems'
require 'premailer'
require 'tempfile'
tmp_html ='premailer')
bobthecow / gist:425576
Created Jun 4, 2010
Best git alias ever!
View gist:425576
alias = "!sh -c '[ $# = 2 ] && git config --global alias.\"$1\" \"$2\" && exit 0 || [ $# = 1 ] && [ $1 = \"--list\" ] && git config --list | grep \"alias\\.\" | sed \"s/^alias\\.\\([^=]*\\)=\\(.*\\).*/\\1@@@@=>@@@@\\2/\" | sort | column -ts \"@@@@\" && exit 0 || echo \"usage: git alias <new alias> <original command>\\n git alias --list\" >&2 && exit 1' -"
View gist:430956
#!/usr/bin/env python
""" TapDat - Simple VPN Setup.
import re
import sys
from commands import getoutput as cmd
def main():
View untitled.txt
mergetool.chdiff.cmd=/usr/bin/env chdiff --wait $LOCAL $REMOTE
difftool.Kaleidoscope.cmd=ksdiff-wrapper git "$LOCAL" "$REMOTE"
bobthecow / untitled.txt
Created Jun 16, 2010
homebrew compile args for php 5.3 (work in progress)
View untitled.txt
# homebrew compile args for php 5.3 (work in progress)
bobthecow / cdd.bash
Created Jun 21, 2010
Change directories really fast
View cdd.bash
# Change directories really really fast
# Author: Justin Hileman (
# Installation:
# Add the following function to your `.bashrc` or `.bash_profile`,
# or save it somewhere (e.g. `~/.cdd.bash`) and source it in `.bashrc`
View one.twig
<a href="{% route 'product_sellable' with ["sellerName": activity.sellable.seller.identity.username , "productSlug": activity.sellable.product.slug] %}">
<img src="{{ activity.sellable.product.images[0].thumbUrl }}">
You can’t perform that action at this time.