Shiki

I'm so bad with words that I can't even make a cool tagline

Category Archives: Ruby

Playing with Ruby: Silly backup tool for Amazon S3

To celebrate the New Year, I played a little with Ruby. I made this small Ruby script to download all original image files of PicLyf stored in Amazon S3: #!/usr/bin/env ruby require ‘rubygems’ require ‘aws/s3′ bucket = ‘bucket_name’ AWS::S3::Base.establish_connection!( :access_key_id => ‘our_access_key’, :secret_access_key => ‘our_secret_key’ ) last_key = nil while true do puts “Getting objects [...]