<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ -->
<!-- Active URL: http://socrates.devbootcamp.com/sql -->
<sql>
<datatypes db="mysql">
- Figure out your lifestyle for the period.
- Sleep: Figure out a plan to give you 6.5 to 7.5 hours of sleep.
- Social Life: You will have one, but it will be limited to a few hours on the weekend. Friends/family should know that this commitment does remove you from normal life.
- TDD Test Driven Development. Write examples before implementation.
- BDD Behaviour-Driven Development is about implementing an application by describing its behavior from the perspective of its stakeholders. (The Rspec Book)
- RSpec (mention alternatives, write a simple hand sewn test)
see my Goodreads page
TITLE | AUTHOR(S) | LENGTH | COMPLETED? |
---|---|---|---|
Eloquent Ruby | 448 | TRUE | |
Well-Grounded Rubyist | 470 | TRUE |
|
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
language: ruby | |
rvm: | |
- 1.9.3 | |
env: | |
- DB=postgresql | |
script: | |
- bundle exec rake db:migrate | |
- bundle exec rake db:test:prepare | |
- bundle exec rake spec | |
before_script: |
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
// returns a single element of an array based upon it's offset from the end | |
if (!Array.prototype.last){ | |
Array.prototype.last = function(offset){ | |
return this[this.length - offset]; | |
}; | |
}; |
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
function assert(condition, message) { | |
if (!condition) { | |
throw message || "Assertion failed"; | |
} | |
} |