Skip to content

Instantly share code, notes, and snippets.

@coen-hyde
coen-hyde / .gitignore
Created November 29, 2012 08:56 — forked from twolfson/.gitignore
Pretty print HTML but not JS test
/node_modules
@coen-hyde
coen-hyde / gist:4681319
Created January 31, 2013 08:32
staging.popbasic.com lb test
# staging.popbasic.com mapped to 165.225.130.235
$ ab -c 1000 -n 2000 http://staging.popbasic.com/api/collections/2013-january
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking staging.popbasic.com (be patient)
Completed 200 requests
Completed 400 requests
@coen-hyde
coen-hyde / beer.sh
Last active August 29, 2015 14:25
Add this snippet to you bash profile to give you the power of beer.
ROOT_PROJECT_DIR=$HOME/projects/
proot() {
echo $(echo $PWD | sed "s|\($ROOT_PROJECT_DIR[A-Za-z]*\).*|\1|")
}
beer() {
spec=$1
shift
cd $(proot); bundle exec rspec ./spec/$spec $@

Keybase proof

I hereby claim:

  • I am coen-hyde on github.
  • I am coenhyde (https://keybase.io/coenhyde) on keybase.
  • I have a public key whose fingerprint is 19E9 723E 901D 4B68 9B56 DCDD D775 56CA 7E43 DD85

To claim this, I am signing this object: