Skip to content

Instantly share code, notes, and snippets.

@mikecarroll
Last active December 25, 2015 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikecarroll/7016920 to your computer and use it in GitHub Desktop.
Save mikecarroll/7016920 to your computer and use it in GitHub Desktop.
Win a free ticket to the FastForward Health movie night, courtesy of Health Devs (http://www.meetup.com/HealthDevsNYC/)!
tickets = {83=>"@_mcarroll_"}
winner = nil
nojoys = []
while winner.nil? do
number = rand(1..1000)
tickets.include?(number) ? winner = tickets[number] : nojoys << number
end
p nojoys
puts "After #{nojoys.count} draws, the winner is: #{winner}!"
@mikecarroll
Copy link
Author

Some rules:
(1) Leave your Twitter handle in the comments, along with a unique raffle number between 1 and 1000 (of your choosing).
(2) If you win and accept the ticket you promise that you will make a good faith effort to attend (we might disqualify you from future raffles, if you don't show).
(3) If you win, you promise to reciprocate the free ticket love from FastForward Health by Tweeting during the event with your thoughts/reflections (though you are entirely free to Tweet whatever you want).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment