Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
INSERT INTO user (id, first_name, email) | |
VALUES ( 0, "Josh", "[email protected]"); | |
INSERT INTO user (id, first_name, email) | |
VALUES ( 1, "Aaron", "[email protected]"); | |
INSERT INTO user (id, first_name, email) | |
VALUES ( 2, "Matt", "[email protected]"); | |
INSERT INTO user (id, first_name, email) |
CREATE TABLE user ( | |
id INTEGER PRIMARY KEY, | |
first_name TEXT, | |
email TEXT | |
); | |
CREATE TABLE quiz ( | |
id INTEGER PRIMARY KEY, | |
user_id INTEGER, | |
name TEXT |
desc "Create a bunch of seed data for artists and songs" | |
task :seed_artists_and_songs => [:environment, :clear_artists_and_songs] do | |
# Build Song Off Artist | |
# Given a Song called R.E.S.P.E.C.T | |
# build the Aretha Franklin Artist | |
s = Song.create(:name => "R.E.S.P.E.C.T") | |
s.build_artist(:name => "Aretha Franklin") | |
s.save |
matz | |
kent beck | |
roy fielding | |
martin fowler | |
tim berners lee | |
david heniemer hansing | |
john resig | |
jesse james garret | |
_why the lucky stiff | |
marc anderseen |
<!DOCTYPE html> | |
<head> | |
<title>Stay Standalone</title> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
<script src="stay_standalone.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<ul> | |
<li><a href="http://google.com/">Remote Link (Google)</a></li> |
INSTALL & SETUP | |
======================== | |
git clone git://github.com/imathis/octopress.git | |
cd octopress | |
bundle | |
rake install | |
rake preview | |
http://localhost:4000/ | |
rake new_post["Hello World"] | |
subl . |
$ time script/bootstrap | |
Bundler missing, installing. | |
Fetching: bundler-1.1.3.gem (100%) | |
Successfully installed bundler-1.1.3 | |
1 gem installed | |
Gemfile changed, bundling. | |
Schema changed, updating databases. | |
real 0m9.163s | |
user 0m3.762s |
# switch default editor for pry to sublime text | |
Pry.config.editor = "sublime" | |
# format prompt to be <Rails version>@<ruby version>(<object>)> | |
Pry.config.prompt = proc do |obj, level, _| | |
prompt = "\e[1;30m" | |
prompt << "#{Rails.version} @ " if defined?(Rails) | |
prompt << "#{RUBY_VERSION}" | |
"#{prompt} (#{obj})>\e[0m" | |
end |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA