I hereby claim:
- I am stuartsaunders on github.
- I am stuartsaunders (https://keybase.io/stuartsaunders) on keybase.
- I have a public key ASBvdtGxPLybp-OhfanqKse9sYQ7WWrrMbkwxEGId27Ynwo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# CIJoe mail notification script. | |
# Some things in here are shamelessly ripped from | |
# http://gist.github.com/374030 | |
# | |
# Call this from your hooks (build-worked, build-failed) with something like: | |
# ~/ci/scripts/mail.rb ~/ci/PROJECT/ CIJOE_URL BRANCH | |
# | |
# Requirements |
require 'rubygems' | |
require 'right_aws' | |
aws_access_key_id = 'your-access-key' | |
aws_secret_access_key = 'your-secret-key' | |
target_bucket = 'your-source-bucket' | |
destination_bucket = 'your-destination-bucket' | |
s3 = RightAws::S3Interface.new(aws_access_key_id, aws_secret_access_key) |
# If your workers are inactive for a long period of time, they'll lose | |
# their MySQL connection. | |
# | |
# This hack ensures we re-connect whenever a connection is | |
# lost. Because, really. why not? | |
# | |
# Stick this in RAILS_ROOT/config/initializers/connection_fix.rb (or somewhere similar) | |
# | |
# From: | |
# http://coderrr.wordpress.com/2009/01/08/activerecord-threading-issues-and-resolutions/ |
I hereby claim:
To claim this, I am signing this object:
Basecamp's new book Shape Up is now available online (https://basecamp.com/shapeup) to read page-by-page.
To read it all in a single page:
javascript:
javascript:var style=do...
)