These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
require 'json' | |
require 'open-uri' | |
def most_recent_timestamp | |
data = JSON.parse(open('http://bitcoincharts.com/t/markets_timestamps.json').read) | |
data['mtgoxUSD'].to_i | |
end | |
def new_transactions(n) |
# rails new [appname] -JT -m https://gist.githubusercontent.com/paulmars/960988/raw/386eb14e20153ef4d55a6735d22748c6503b64f8/template.rb | |
# rails new APPNAME -JT -m /Users/paul/Development/template/template.rb | |
# sass | |
gem 'sass-rails' | |
gem 'bootstrap-sass', '3.2.0.2' | |
# image update | |
gem 'carrierwave', '0.10.0' | |
gem 'fog', '1.19.0' |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
# Start Keymando at login | |
# ----------------------------------------------------------- | |
start_at_login | |
# System-wide mappings | |
# ----------------------------------------------------------- | |
# Ctrl-Backspace maps to Alt-Delete for laptop use | |
map "<Ctrl-delete>", "<Alt-backspace>" # (delete & bs are reversed in keymando) | |
map "<Ctrl-Cmd-delete>", "<Cmd-backspace>" # delete to EOL |
source 'http://ruby.taobao.org' | |
gem 'sinatra' | |
gem 'sinatra-reloader' | |
gem 'slim' | |
gem 'sass' | |
gem 'coffee-script' | |
gem 'compass' | |
gem 'pry' |
As configured in my dotfiles.
start new:
tmux
start new with session name:
gem 'activemerchant' |
This guide enables you to install (ruby-build) and use (rbenv) multiple versions of ruby, isolate project gems (gemsets and/or bundler), and automatically use appropriate combinations of rubies and gems.
# Ensure system is in ship-shape.
aptitude install git zsh libssl-dev zlib1g-dev libreadline-dev libyaml-dev