Skip to content

Instantly share code, notes, and snippets.

@dguzzo
Last active October 8, 2016 22:19
Show Gist options
  • Save dguzzo/8448625 to your computer and use it in GitHub Desktop.
Save dguzzo/8448625 to your computer and use it in GitHub Desktop.
say sup, y'all
#!/usr/bin/env ruby
SUP_COUNT = 120
SUP_PADDING = 50
def vertical_pad_message(padding=15)
padding.times {puts "\n"}
yield
padding.times {puts "\n"}
end
SUP_COUNT.times do |i|
puts "sup".center(SUP_PADDING, i%5 == 0 ? '*' : "+")
sleep 0.05
end
vertical_pad_message {puts 'yay'.center(SUP_PADDING)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment