Skip to content

Instantly share code, notes, and snippets.

View tmschndr's full-sized avatar

Tim Schneider tmschndr

View GitHub Profile
@hmans
hmans / whatever-manifesto.md
Created April 23, 2012 16:30
The Whatever Manifesto

THE WHATEVER MANIFESTO

  1. Follow your dreams (or don't. Whatever.)
  2. Work sane hours (or don't. Whatever.)
  3. Separate work from life (or don't. Whatever.)
  4. Build a fun side project (or don't. Whatever.)
  5. Always be open to new ideas (or don't. Whatever.)
  6. Learn how to manage your money (or don't. Whatever.)

Whatever it is that you choose to do, follow these two simple rules:

class BinaryBumi
class << self
def translate(actions)
new.translate(actions)
end
end
def translate(actions)
actions.split("").each do |action|
puts action.to_i == 1 ? "Phone" : "Sleep"