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
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest ) | |
source /usr/local/rvm/scripts/rvm | |
echo "source /usr/local/rvm/scripts/rvm" >> $HOME/.profile | |
yum install -y bash curl gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel iconv-devel | |
rvm install 1.9.2 | |
rvm use --default 1.9.2 | |
gem install bundler |
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
-- Drop this script in ~/Library/Address Book Plug-Ins | |
-- Edit the path in the "do shell script" line | |
using terms from application "Address Book" | |
on action property | |
return "phone" | |
end action property | |
on action title for aPerson with aNumber | |
return "Dial with Google Voice" | |
end action title |
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
require 'rubygems' | |
require 'hmac-sha1' | |
require 'net/https' | |
require 'base64' | |
s3_access='S3_ACCESS_KEY' | |
s3_secret='S3_SECRET_KEY' | |
cf_distribution='CLOUDFRONT_DISTRIBUTION_ID' | |
if ARGV.length < 1 |
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
# So I bought this PDF book on ActiveMerchant from Peepcode. | |
# It's tests use Test::Unit, I was using RSpec. So I translated them. | |
# http://peepcode.com/products/activemerchant-pdf | |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
include ActiveMerchant::Billing | |
describe OrderTransaction do | |
before do | |
@amount = 100 |
NewerOlder