Wicked Wednesday – Bon Voyage
June 30th, 2010 by pyratThis is one of the best snowboard video teasers I have seen for a while.
BON VOYAGE TEASER from VIDEOGRASS on Vimeo.
This is one of the best snowboard video teasers I have seen for a while.
BON VOYAGE TEASER from VIDEOGRASS on Vimeo.

A google server
Google storage was recently released as an open beta for developers to work with. All in all it seems like an Amazon S3 clone and whilst they have their REST api for integration they also support the Amazon S3 api.
Originally I was planning on writing a ruby wrapper of this api but decided to see if I could modify with existing aws-s3 gem to work with google storage.
After some in depth reading of both apis and understanding of the aws-s3 gem I have modified it to also work with google storage.
My github fork contains these modifications.
To use:
require 'aws/s3' include AWS::S3 Base.establish_connection!( :access_key_id => 'abc', :secret_access_key => '123', :default_host => "commondatastorage.googleapis.com" )
Note the addition of the default_host to connect to google instead of AWS.
From then on you can use the gem as normal as is described in the Readme.
I have been using SVN a bit recently (euch after the power of git) and have been doing some merges using
FileMerge (opendiff) a utility which comes with the mac developer tools.
To make this play with SVN 1.5 or greater you have to use a wrapper to call the tool. There is an existing toolset written in shell script but they do not seem to work for me (1.6.9).
#!/usr/bin/env ruby # A ruby wrapper unless ARGV.length == 5 puts "Incorrect number of arguments" exit end left = ARGV[3] right = ARGV[4] `opendiff #{left} #{right} -merge #{right}` exit(0)
Slap this script somewhere and make it executable. Edit your .bash_profile to include the following:
export SVN_MERGE='/path/to/svn_diff_wrapper.rb'
So when you get presented with the merge options press l and it should load filemerge for merging power.