Skip to content

Instantly share code, notes, and snippets.

@fredjean
fredjean / quiz-1.md
Created September 26, 2012 15:52 — forked from ahoward/quiz-1.md
quiz-1.md
So you think you wanna be a web developer...

Fork this, update your copy with answers.

They don't need to be precise - pseudo-code is fine in most cases.

Some questions don't have correct answers.

@fredjean
fredjean / jobs.rb
Created July 29, 2012 17:31 — forked from ahoward/jobs.rb
./script/jobs
#!/usr/bin/env ruby
# encoding: utf-8
# setup
#
require 'fileutils'
script = File.expand_path(__FILE__).gsub(%r|\breleases/\d+\b|, 'current')
script_dir = File.dirname(script)
rails_root = File.dirname(script_dir)
dirs = ["output/test/deepdir", "testdir", "another"]
task :default => dirs
dirs.each do |dir|
directory dir
end
# fjean@Prometheus ~/dev/gist-806422
# master* $ rake -t -v [13:22:23]
(setq ruby-deep-indent-paren nil)
(setq ruby-deep-arglist nil)