Skip to content

Instantly share code, notes, and snippets.

@handelaar
handelaar / oir2kildarestreet.js
Created October 31, 2014 20:19
Copy and paste this code into the 'URL' field of a new bookmark in your browser
javascript:function twfy_cb(r){if (r.url)window.location=r.url;};(function(d,s){s=d.createElement('script');s.src='https://www.kildarestreet.com/api/convertURL?callback=twfy_cb&key=FBrex6AbX3X7G7ggkLGtfWW2&url='+encodeURIComponent(window.location);d.getElementsByTagName('head')[0].appendChild(s);})(document)
genghis@mygov:~/sites/publicwhip$ bundle install
Fetching source index from https://rubygems.org/
Using rake 10.4.0
Using i18n 0.6.11
Using json 1.8.1
Using minitest 5.4.3
Using thread_safe 0.3.4
Using tzinfo 1.2.2
Using activesupport 4.1.8
Using builder 3.2.2
@handelaar
handelaar / postoffices.csv
Created January 2, 2019 22:01
post offices csv
We can't make this file beautiful and searchable because it's too large.
id;lat;lng;name;county;town;services;status
101;52.34605137;-9.68989518;"ABBEYDORNEY";"Co. Kerry";"Abbeydorney";'[{"Name":"AIB BANKING SERVICES"},{"Name":"BILLPAY"},{"Name":"BUSINESS BANKING"},{"Name":"COURIER POST"},{"Name":"DANSKE CASH LODGEMENTS"},{"Name":"DSFA PAYMENTS"},{"Name":"EXPRESS POST"},{"Name":"FOREIGNEXCHANGE"},{"Name":"GARDA FINES"},{"Name":"GAS NETWORK IRELAND TOP UP"},{"Name":"GIFT VOUCHERS"},{"Name":"INSURANCE"},{"Name":"PASSPORT EXPRESS"},{"Name":"POST OFFICE SAVINGS BANK"},{"Name":"POSTAL MONEY ORDERS"},{"Name":"REGISTERED POST"},{"Name":"SAVINGS AND INVESTMENT PROD"},{"Name":"SMART ACCOUNT"},{"Name":"STAMPS"},{"Name":"STANDARD POST"},{"Name":"TOP UP MOBILE PHONE"},{"Name":"TTOP UP TOLLTAG"},{"Name":"TV AND DOG LICENCE"},{"Name":"ULSTER CASH LODGEMENTS"},{"Name":"WESTERN UNION"}';"Automated Contract Office";
102;52.38561073;-9.30156533;"ABBEYFEALE";"Co. Limerick";"Abbeyfeale";'[{"Name":"AIB BANKING SERVICES"},{"Name":"BILLPAY"},{"Name":"BUSINESS BANKING"},{"Name":"COURIER POST"},{"Name":"D