Skip to content

Instantly share code, notes, and snippets.

View coraallensavietta's full-sized avatar

Cora Allen-Savietta coraallensavietta

View GitHub Profile
<head>
<style>
body {
text-align: center;
background: url("http://media-cdn.tripadvisor.com/media/photo-s/01/34/b9/93/beautiful-farm-view.jpg");
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment:fixed;
color: white;
@coraallensavietta
coraallensavietta / cheers_long_and_short.rb
Last active January 4, 2016 14:59
Looking for a witty toast? This will help you find one.
choice = ""
while choice != "no" do
toasts_short = ["Cheers!", "Salut!", "Prost!", "Skal!", "Cin Cin!"]
toasts_long = ["To beer! Proof that God loves us.", "To staying positive and testing negative!", "Who would care to be a bee and sip sweet honey from the flower's lip when he might be a fly and steer head first into a can of beer?", "The health of the salmon to you: a long life, a full heart and a wet mouth!", "Here's to your health! You make age curious, Time furious, and all of us envious." "To the holidays! All 365 of them.", "May we be happy and our enemies know it!", "Champagne for my real friends and real pain for my sham friends!"]
print "So, are you ready to party?"
ready = gets.chomp
if ready == "no"
puts "Okay. :( Bye!"
def make_toast
toasts_int = ["Cheers!", "Salut!", "Prost!", "Skal!", "Cin Cin!"]
toasts_local = ["To staying positive and testing negative!", "To the holidays! All 365 of them.", "May we be happy and our enemies know it!", "Champagne for my real friends and real pain for my sham friends!"]
print "Are you ready to PARTAY?"
ready = gets.chomp.to_s
if ready == "yes"
puts "Let's get you a toast, my friend! Are you feeling international?"