Skip to content

Instantly share code, notes, and snippets.

View unreal's full-sized avatar

Jay Strybis unreal

View GitHub Profile
@jcasimir
jcasimir / Rakefile
Created July 20, 2011 17:34
Using Rake to keep track of my pending/to-do items while writing
FILE_SEARCH_PATTERN = "tutorials/**/*.{markdown, textile}"
MARKERS = {"todo" => :red, "pending" => :green}
COLORIZE = true
MARKERS.keys.each do |marker|
desc "Pull out #{marker.upcase} lines"
task marker do
print_lines_containing(marker)
end
end