Instantly share code, notes, and snippets.

View fizzbuzz.rb
(1..100).each do |i|
out = { fizz: 3, buzz: 5 }.map do |k, v|
k if 0 == i % v
end.compact.join('')
puts "#{i}: #{out}" unless out.empty?
end
View gist:f43276788fe62197b7f0a40e9dc62389
Verifying that "mtowers.id" is my Blockstack ID. https://onename.com/mtowers
View README.md

Description

A Dashing widget for displaying a graph of metrics data from Librato

Dependencies

httparty

Add it to dashing's gemfile:

View README.md