Skip to content

Instantly share code, notes, and snippets.

View syrnick's full-sized avatar

Alexander Sorokin syrnick

View GitHub Profile
@syrnick
syrnick / taxonomy_exercise.markdown
Created November 10, 2011 18:57 — forked from tysonmote/client_services.markdown
Taxonomy Code Exercise

Taxonomy Code Exercise

Using HTML, CSS, and JavaScript, you will create a tool that allows a user to drill down through a tree of categories and select a final category. The taxonomy data is represented as a tree of categories. A category can have any number of children. A category with no children is considered a selectable category (categories with children should not be selectable).

The taxonomy data is located at https://gist.github.com/935805

Thread.abort_on_exception = true
Thread.new {
sleep(1)
$stderr.puts ">> Baby threw up."
raise "Barf."
}
$stderr.puts ">> Mommy is listening to the monitor, but she is also drunk."
sleep(5)