start new:
tmux
start new with session name:
tmux new -s myname
<sendEmail | |
xmlns="http://schemas.blinkbox.com/books/emails/sending/v1" | |
xmlns:r="http://schemas.blinkbox.com/books/routing/v1" | |
r:originator="bookStore" | |
r:instance="book-store.mobcast.co.uk" | |
r:messageId="9678170f7c21-47dc-d8f3-a60f-c73e4c58"> | |
<template>password_reset</template> | |
<to> |
source 'https://rubygems.org' | |
gem 'rails', '3.2.12' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
# Use PostGres for both development and production, keeping the same database with both | |
gem 'pg' |
bundle exec rake db:create:all | |
bundle exec rake db:migrate |
- Install Xcode from the App Store | |
- Open Xcode, go to preferences > Additional downloads, install Command line tools | |
- Install Homebrew, the command for installing it can be found at http://mxcl.github.com/homebrew/ under the "Install Homebrew" section |
class C | |
@v = "Bah bah" | |
def m | |
p @v | |
p @@v # The Class instance variable is not the same as a class variable | |
end | |
def self.m | |
p @v |