This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this to your .bash_profile | |
function pow() { | |
name=`basename $PWD` | |
if [[ $1 && $1 != "-ru" ]]; then | |
name=$1 | |
fi | |
echo "Using name: $name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Streamsend::Blast < ActiveResource::Base | |
self.site = "https://app.streamsend.com/" | |
self.user = "{login_id}" | |
self.password = "{key}" | |
self.element_name = "blast" | |
private | |
# fix because streamsend rarely includes the type="array" attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install cucumber webrat | |
./script/generate cucumber --test-unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'digest/sha1' | |
sha1 = Digest::SHA1.hexdigest('something secret') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.dataset = function(key, value) { | |
if(value != null) { | |
if($(this).attr('data-' + key)) { | |
$(this).attr('data-' + key, value); | |
return true; | |
} else { | |
return false; | |
} | |
} else { | |
return $(this).attr('data-' + key); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am paulspringett on github. | |
* I am paulspringett (https://keybase.io/paulspringett) on keybase. | |
* I have a public key whose fingerprint is CA7D E438 060B 4BE7 E82D 044E D9EC 1739 EEEB 5895 | |
To claim this, I am signing this object: |
NewerOlder