This file contains 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
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "rails", github: "rails/rails" |
This file contains 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
var babby = { | |
response: "wahhhh", | |
hello: function() { | |
console.log(this.response) | |
} | |
} | |
babby.hello(); | |
babby.hello.call({response: "I'm Stewie Griffin. Hello. </britishaccent>"}) |
subl
- Understanding the Unix Environment
- Homebrew
- sqlite3
- postgres
These are the Rails Guides for things we'll cover in Phase 3. They are a really good overview of Rails and some of the problems you'll solve as a web developer.
One suggestion: make sure you're trying things out on a project (e.g. a blog or todo app). This will help cement the code examples you'll read through in the Guide by applying them in your pet project.
This file contains 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
$ ruby -e "a = (0..5).to_a; c = a.map do |x| x*2; end; p c.class" | |
Array | |
$ ruby -e "a = (0..5).to_a; c = a.map { |x| x*2; }; p c.class" | |
Array | |
$ ruby -e "a = (0..5).to_a; p a.map do |x| x*2; end" | |
#<Enumerator: [0, 1, 2, 3, 4, 5]:map> | |
$ ruby -e "a = (0..5).to_a; p a.map { |x| x*2; }" | |
[0, 2, 4, 6, 8, 10] |
##Thinking
- Pragmatic Thinking and Learning
- The Pragmatic Programmer
- The Passionate Programmer
- Apprenticeship Patterns
- These books
##Code
- Clean Code
- Eloquent Ruby
This file contains 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
http://projectmona.com/bits-of-brilliance-session-five/ |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css"> | |
<link rel="stylesheet" href="main.css"> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900"> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"> | |
</head> |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<script src="./zoo.js"></script> | |
</head> | |
<body> | |
</body> | |
</html> |
NewerOlder