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
usernames = "mrmactout | |
angusmactout | |
elsbethmactout | |
sgtmacfuzz | |
mrsmactoffy | |
professordunkopf | |
ferociousness1983 | |
littleness1983 | |
hungryness1983".split("\n") |
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
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 |
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
(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/ |
NewerOlder