Created
February 24, 2012 01:14
-
-
Save paulfryzel/1896482 to your computer and use it in GitHub Desktop.
Script that lets you know if you drink for free at Antarctica this month!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'open-uri' | |
if(!ARGV[0]); puts "Usage: ant.rb [name]"; exit end | |
if(open("http://antarcticabar.com/NameNight.html") {|f| f.read.include? ARGV[0]}); puts "Fuck yeah " + ARGV[0] + "!" end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment