A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| module Test | |
| module Unit | |
| TestCase = RSpec::Core::ExampleGroup | |
| end | |
| end | |
| class Test::Unit::TestCase | |
| def self.inherited(host) | |
| host.set_it_up host.name.gsub(/(Spec|Test)/,'') | |
| def host.method_added(name) |
| # fibonacci.rb | |
| class Euler | |
| def fib(n) | |
| curr = 0 | |
| succ = 1 | |
| n.downto(0) do |x| | |
| curr, succ = curr + succ, curr | |
| end | |
| return curr |