Skip to content

Instantly share code, notes, and snippets.

View markgandolfo's full-sized avatar

Mark Gandolfo markgandolfo

View GitHub Profile
- unless flash.empty?
- flash.each_pair do |key, message|
.flash{:class => "#{key}"}= message
require "autotest/restart"
require "autotest/fsevent"
require 'redgreen/autotest'
$KCODE = 'U'
module Autotest::Growl
Autotest.add_hook :initialize do |autotest|
%w{.git .svn .hg .DS_Store ._* vendor tmp}.each {|exception| autotest.add_exception(exception) }
false
end
@markgandolfo
markgandolfo / survey
Created November 1, 2009 10:44 — forked from radar/survey.md
What did you do to get good at Rails?
Built an online store, i jumped in the deep end, but after two months part time on rails, i got a cool little app working.
From there, i kept building apps, and helping out on #rubyonrails
Who taught you what you know?
the crew at #rubyonrails, mainly you.
Do you have any fond (or not so fond) memories of your learning experiences?
// only outputs if console available and does each argument on its own line
function log() {
if (window && window.console && window.console.log) {
var i, len;
for (i=0, len=arguments.length; i<len; i++) {
console.log(arguments[i]);
}
}
}