Skip to content

Instantly share code, notes, and snippets.

Avatar
👒
He/Him/His

Luke Bacon equivalentideas

👒
He/Him/His
View GitHub Profile
@equivalentideas
equivalentideas / share-links-jekyll
Last active Oct 14, 2018
Social media share links for Jekyll/Liquid. Add these into a Jekyll layout to produce social media share links using that page's url and description.
View share-links-jekyll
@equivalentideas
equivalentideas / textexpander-wget-snippet
Last active Aug 29, 2015
Simple text expander snippet for wget
View textexpander-wget-snippet
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --domains %filltext:name=Domain% --no-parent %filltext:name=Domain%
@equivalentideas
equivalentideas / data.tsv
Last active Aug 29, 2015
Incidents per week time series chart
View data.tsv
week count
2009-09-28 1
2009-10-19 2
2009-10-26 6
2009-11-02 3
2009-11-09 6
2009-11-16 22
2009-11-23 9
2009-11-30 12
2009-12-07 13
View detention-centres.csv
name centre latitude longitude
Brisbane ITA Brisbane_ITA -27.401747 153.104782
Curtin IDC Curtin_IDC -17.38101 123.677216
Maribyrnong IDC Maribyrnong_IDC -37.780035 144.880142
Northern IDC Northern_IDC -12.425709 130.900211
Perth IDC Perth_IDC -31.934562 115.958118
Scherger IDC Scherger_IDC -12.633869 141.888428
Villawood IDC Villawood_IDC -33.878279 150.987339
Christmas Island Christmas_Island -10.488044 105.611572
Melbourne ITA Melbourne_ITA -37.841807 144.952068
View detention-centres.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@equivalentideas
equivalentideas / morph_scraping_snippets
Created May 29, 2015
Morph scraping helpful snippets
View morph_scraping_snippets
https://github.com/planningalerts-scrapers/melbourne/commit/6dba6cd
@equivalentideas
equivalentideas / webscraping_workshop_links.md
Last active Aug 23, 2017
Introduction to Web Scraping Workshop
View webscraping_workshop_links.md
@equivalentideas
equivalentideas / wa_councillors_gender.csv
Created Sep 16, 2016
Gender of Western Australian Local Councillors
View wa_councillors_gender.csv
Council female male
meekatharra shire council 0% 100%
broomehill-tambellup shire council 0% 100%
exmouth shire council 17% 83%
kulin shire council 11% 89%
bassendean town council 17% 83%
leonora shire council 14% 86%
capel shire council 11% 89%
boyup brook shire council 11% 89%
chittering shire council 14% 86%
@equivalentideas
equivalentideas / extract_hidden_requests_from_right_to_know.rb
Last active Aug 17, 2017
Script to run using rails runner to extract information about hidden information requests from Right To Know for analysis. It makes a .csv file with the days date in the title, containing some select (and not safe to publish) information on every hidden request.
View extract_hidden_requests_from_right_to_know.rb
CSV.open("./tmp/#{Date.today.to_s}_hidden_requests.csv", "wb") do |csv|
# Make headers
csv << [
"id",
"title",
"url",
"public_body_name",
"jurisdiction",
"created_at",
"requester_name",
@equivalentideas
equivalentideas / freedom_of_information_request_boilerplate.md
Created Nov 24, 2016
This is boilerplate text you can use as the starting point for a request for documents to under the Australian Freedom of Information Act, or equivalent act in a state jurisdiction.
View freedom_of_information_request_boilerplate.md

Dear <Organisation with the information>,

Could you please send through <documents with the information you want>.

If possible, please treat this as an administrative/informal request. Otherwise please proceed with my request as a formal information request under the Act.

Yours faithfully,

<Your name>

You can’t perform that action at this time.