I hereby claim:
- I am cwalsh on github.
- I am cameronwalsh (https://keybase.io/cameronwalsh) on keybase.
- I have a public key whose fingerprint is 20CA 4C1B D97A D157 220D 6AF7 F633 C28F 1FC5 F852
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'sinatra' | |
get '/:status_code' do | |
status params[:status_code].to_i | |
end |
#The beginnings of a bash script to allow you to do "vi features/step_definitions/thingy_steps.rb:166" and have it load the rb file and jump to line 166 instead of trying to open a file called "thingy_steps.rb:166" | |
function vim() { | |
IFS=':' read -ra PARAMS <<< "$1" | |
if [ -z "${PARAMS[1]}" ]; then | |
/usr/bin/vim ${PARAMS[0]} | |
else | |
/usr/bin/vim ${PARAMS[0]} -c ${PARAMS[1]} | |
fi | |
} |