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 | |
echo "this is a test." | |
exit 1 |
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
#!/usr/bin/env ruby | |
raise "this is a test." | |
# end | |
test |
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
#!/usr/bin/env ruby | |
require 'github-campfire' | |
def ask_for_image(phrase) | |
`growlnotify -m "#{phrase}"` | |
GitHub::Campfire.notify("/img me #{phrase}", GitHub::Campfire::HUBOT) | |
end | |
phrases = [ | |
'hubot ignite', # new presentation style |
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
me: | |
a: | |
sandwich: |
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
demo: | |
domain: "demo@xxx.private.connamara.com" | |
deploy_to: "/home/demo/customer_DEMO" | |
repository: "git@github.com:connamara/customer_reporting.git" | |
post_deploy_script: "script/post_deploy.sh" | |
post_setup_script: "script/post_setup.sh" | |
rake_env: | |
RAILS_ENV: 'production' |
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
.ui-calculator { width:9.65em; } | |
.ui-calculator-container { padding:.2em .2em 0; } | |
.ui-calculator-display { width:12.3em; padding:.3em; margin-bottom:.3em; font-size:0.7em; overflow:auto; } | |
.ui-calculator-numberpad, .ui-calculator-functionpad { width:7em; float:left; } | |
.ui-calculator-functionpad { width:2em; } | |
.ui-calculator li { float:left; margin:0 .2em .2em 0; } | |
.ui-calculator-button { display:block; width:2em; height:1.2em; padding:.3em 0 .5em; text-align:center; border:0; } | |
.ui-calculator-button-wide { width:4.3em; } | |
.ui-calculator-icon { margin:.2em auto; } |
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
.ui-calculator { width:9.65em; } | |
.ui-calculator-container { padding:.2em .2em 0; } | |
.ui-calculator-display { width:12.3em; padding:.3em; margin-bottom:.3em; font-size:0.7em; overflow:auto; } | |
.ui-calculator-numberpad, .ui-calculator-functionpad { width:7em; float:left; } | |
.ui-calculator-functionpad { width:2em; } | |
.ui-calculator li { float:left; margin:0 .2em .2em 0; } | |
.ui-calculator-button { display:block; width:2em; height:1.2em; padding:.3em 0 .5em; text-align:center; border:0; } | |
.ui-calculator-button-wide { width:4.3em; } | |
.ui-calculator-icon { margin:.2em auto; } |
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 'rspec/core/formatters/progress_formatter' | |
class NescafeFormatter < RSpec::Core::Formatters::ProgressFormatter | |
def example_failed(example) | |
super | |
index = failed_examples.size - 1 | |
output.puts "\n" | |
dump_failure(example, index) | |
dump_backtrace(example) | |
output.puts "\n" |
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
@ ruby-1.8.7@douche Tue Apr 17 08:01:48 rick@Yer-Moms-Computer-2 | |
~/git/douche (douche2)(*)$ ruby try.rb ~/Desktop/audio/unconverted/flying_bags_of_urine/mci_compatible_autoradioactivity_unit/jeremys_al_green.mp3 | |
(0.448) File [/Users/rick/Desktop/audio/unconverted/flying_bags_of_urine/mci_compatible_autoradioactivity_unit/jeremys_al_green.mp3] | |
name[Tired Of Being Alone] | |
artist[Al Green] | |
duration[162] | |
url[http://www.last.fm/music/Al+Green/_/Tired+Of+Being+Alone] | |
albumurl[http://www.last.fm/music/Al+Green/_/Tired+Of+Being+Alone/+albums] | |
album: "Best Of" => http://www.last.fm/music/Al+Green/Best+Of | |
album: "The Supreme Al Green" => http://www.last.fm/music/Al+Green/The+Supreme+Al+Green |
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
alias em='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient' | |
alias emc='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c' | |
alias emd='/Applications/Emacs.app/Contents/MacOS/Emacs --daemon' | |
alias emt='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t' |