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
#!/bin/bash | |
debug=`git diff --cached | grep -C 2 -E '+\s*(And (open|show me the page)|pry)'` | |
debugger=`git diff --cached | grep -C 2 debugger` | |
console_log=`git diff --cached | grep -C 2 console.log` | |
conflicts=`git diff --cached | grep -C 2 -E '<<<|>>>'` | |
if [ -n "$debug" ]; then | |
echo "debugging statements added in this commit" | |
echo $debug |
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
{ | |
'domain_name' : 'example.com' | |
'domainr' : { | |
'one_year' : { | |
price: '$100.00' | |
} | |
}, | |
'some_other_registrar' : { |
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.S3Uploader = function(options) { | |
var $uploadForm, $wrapping_form, build_content_object, build_relativePath, cleaned_filename, current_files, forms_for_submit, has_relativePath, setUploadForm, settings; | |
if (this.length > 1) { | |
this.each(function() { | |
return $(this).S3Uploader(options); | |
}); | |
return this; | |
} | |
$uploadForm = this; | |
settings = { |
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
1) Profile::LoadProfile loads a profile | |
Failure/Error: user = Factory.create_user! | |
TypeError: | |
can't convert nil into Array | |
# ./spec/factories.rb:323:in `create_user!' | |
# ./spec/profile/contexts/load_profile_spec.rb:6:in `block (2 levels) in <top (required)>' |
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
#!/bin/sh | |
# vim: se ft=sh ts=2 sw=2: | |
# | |
set -e | |
echo "" | |
echo " Hello" | |
echo "" |