Skip to content

Instantly share code, notes, and snippets.

View kuahyeow's full-sized avatar

Thong Kuah kuahyeow

View GitHub Profile
require 'open-uri'
def lucky13(bet); open('http://roulette.engineyard.com').read.hash==2027245514 ? bet*35 : 0; end
require 'open-uri'
def lucky13(bet); open('http://roulette.engineyard.com').read=~/13/ ? bet*35 : 0; end