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
| #making .irbrc posted at http://www.tech-angels.fr/post/963080350/improve-irb-and-fix-it-on-mac-os-x | |
| #work with rails3 | |
| require 'rubygems' | |
| #rails3: be sure to include wirble and hirb in your Gemfile | |
| require 'wirble' | |
| require 'hirb' | |
| Wirble.init | |
| Wirble.colorize | |
| # hirb (active record output format in table) |
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
| #! /usr/bin/env ruby | |
| =begin | |
| backshot.rb is a Ruby program driving | |
| Amazon EBS <http://aws.amazon.com/ebs/> | |
| to generate snapshots for backup purposes. | |
| Hourly, daily, weekly, and monthly snapshots | |
| are generated by default. |