Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Created February 24, 2012 01:14
Show Gist options
  • Save paulfryzel/1896482 to your computer and use it in GitHub Desktop.
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!
#!/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