Skip to content

Instantly share code, notes, and snippets.

View stefl's full-sized avatar

Stef Lewandowski stefl

View GitHub Profile
usernames = "mrmactout
angusmactout
elsbethmactout
sgtmacfuzz
mrsmactoffy
professordunkopf
ferociousness1983
littleness1983
hungryness1983".split("\n")
require 'rubygems'
require 'weary'
class Postie
def get(code)
(Weary.get "http://www.uk-postcodes.com/postcode/#{code.gsub(' ', '')}.json").perform
end
end
postie = Postie.new
(Untested - this is the gist of what you need to do)
Install Macports
http://www.macports.org/install.php
Get the latest TCL/TK:
http://www.activestate.com/activetcl/