This file contains hidden or 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
Colleagues don't let colleagues code sober. | |
=========== | |
= Spirits = | |
=========== | |
- Santa Teresa 1796 rum | |
- Black Maple Hill bourbon | |
- Bruichladdich Rocks scotch | |
- Templeton rye | |
- Whistlepig Straight Rye Whiskey |
This file contains hidden or 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
~/src/se/app [SE-85-upgrade-braintree] % whois kevin.li | |
whois: This information is subject to an Acceptable Use Policy. | |
See http://www.nic.ch/terms/aup.html | |
Domain name: | |
kevin.li | |
Holder of domain name: | |
Moser Kevin |
This file contains hidden or 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 | |
exec 2>&1 | |
function is_unicorn_alive { | |
set +e | |
if [ -n $1 ] && kill -0 $1 >/dev/null 2>&1; then | |
echo "yes" | |
fi | |
set -e | |
} |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
MYSQL_PASSWORD = 'XXXXXXXXX' | |
unless ARGV[1] == 'dev' | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'digital_ocean' | |
end |
This file contains hidden or 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
{ | |
"CensusInfo"=>nil, | |
"CityName"=>"Brooklyn", | |
"Country"=>"USA", | |
"County"=>"KINGS", | |
"CountyNum"=>"047", | |
"FinanceNumber"=>"350995", | |
"FirmOrRecipient"=>"", | |
"GeoLocationInfo"=>nil, | |
"IntelligentMailBarcodeKey"=>"61sq0ZTrYYAO1DYL7I5DOw==", |
This file contains hidden or 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
~/src/se/app/vendor/plugins/master_slave_adapter [master] ⚡ % ruby test/master_slave_adapter_test.rb | |
oLoaded suite test/master_slave_adapter_test | |
Started | |
^R | |
FFF.F. | |
Finished in 0.092515 seconds. | |
1) Failure: | |
test_insert(MasterSlaveAdapterTest) [test/master_slave_adapter_test.rb:177]: | |
<ActiveRecord::RecordNotFound> exception expected but none was thrown. |
This file contains hidden or 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
Host github.com | |
StrictHostKeyChecking no | |
VerifyHostKeyDNS yes |
This file contains hidden or 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
module Whatever | |
module Listhub | |
class ListhubSource | |
... | |
end | |
end | |
end | |
module Listhub |
This file contains hidden or 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
# Lhm 1.3.0 includes an `Lhm.cleanup` method that handles table cleanup, so | |
# we can just wrap that functionality here. | |
# | |
# Check the README at: https://github.com/soundcloud/large-hadron-migrator | |
namespace :db do | |
namespace :lhm do | |
desc "Show tables created by LHM migrations" | |
task :show => :environment do | |
Lhm.cleanup |
This file contains hidden or 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
stuff |