- http://destroyallsoftware.com
- http://confreaks.net/videos/641-gogaruco2011-fast-rails-tests
- https://github.com/coreyhaines/ShoppingCart
- http://blog.steveklabnik.com/2011/09/06/the-secret-to-rails-oo-design.html
- http://jakedouglas.wordpress.com/2011/10/16/every-day-use-of-the-decorator-pattern/
- http://jamesgolick.com/2010/3/14/crazy-heretical-and-awesome-the-way-i-write-rails-apps.html
- http://jamesshore.com/Blog/Architectural-Design-Challenge.html
- http://jamesshore.com/Agile-Book/test_driven_development.html
- http://stackoverflow.com/questions/7543782/how-to-mock-and-stub-active-record-before-create-callback-with-factory-girl
- https://github.com/rubypair/rubypair/
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
#!/bin/bash | |
if [ -z "$1" ]; then | |
wdir="." | |
else | |
wdir=$1 | |
fi | |
for f in $( find . -name '*erb' ); do | |
out="${f%.erb}.haml" | |
if [ -e $out ]; then |
Overall Goals
Ruby
- Programming basics (if necessary)
- Primary types - String, Array, Enumerable, etc
- OO
Rails - lecture and build an app iteratively with TDD
- CRUD
- Auth
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
require 'socket' | |
require 'date' | |
require 'securerandom' | |
host = '127.0.0.1' | |
port = 2575 | |
def send_messages(host, port, facilities, count) | |
names = ['Swaniawski Lavonne', 'Blick Melyssa', 'Schiller Dorothea', 'Lemke Malinda', 'Fahey Margot', 'Fritsch Muhammad', 'Connelly Elena', 'Stiedemann Declan', 'Leffler Logan', 'Hermiston Theodora', 'Koelpin Edwardo', 'Walter Jaren', 'Schuster Delaney', 'Lubowitz Melisa', 'Langosh Murl', 'Mraz Marina', 'Hamill Ardella', 'Gerhold Tabitha', 'Schaden Enola', 'Farrell Mohammed', 'Kassulke Bobby', 'Crist Kurtis', 'Heller Alexys', 'McKenzie Eloy', 'Nikolaus Gianni', 'Littel Rebecca', 'Schuster Lucy', 'Mayer Zella', 'Reilly Phoebe', 'Auer Colton', 'Hessel Emerson', 'Schuppe Jordan', 'Goodwin Paolo', 'King Guy', 'Heathcote Pietro', 'Spencer Laurence', 'Heathcote Selina', 'Brown Reginald', 'Quitzon Orpha', 'Howe Otho', 'Hansen Desiree', 'Feil Marley', 'Casper Bryana', 'Schmeler Royce', 'Auer Enrique', 'Hilll Liliana', 'Kiehn Lisandro', 'Eichmann Jerrold', 'Wuckert Eloisa', 'Schimm |
- Homebrew
- SOURCES
brew update
- Update brew itself and get new versions of formulas
brew upgrade [formula]
- Upgrade all or specified formula to latest version
brew cleanup [-n]
- Remove old installed versions of formulas
-n
to see what will happened