Skip to content

Instantly share code, notes, and snippets.

View equivalentideas's full-sized avatar
👒
He/Him/His

Luke Bacon equivalentideas

👒
He/Him/His
View GitHub Profile
@equivalentideas
equivalentideas / textexpander-wget-snippet
Last active August 29, 2015 13:56
Simple text expander snippet for wget
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 August 29, 2015 14:01
Incidents per week time series chart
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
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
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 05:29
Morph scraping helpful snippets
https://github.com/planningalerts-scrapers/melbourne/commit/6dba6cd
@equivalentideas
equivalentideas / wa_councillors_gender.csv
Created September 16, 2016 05:22
Gender of Western Australian Local Councillors
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 / freedom_of_information_request_boilerplate.md
Created November 24, 2016 05:12
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.

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,

``

@equivalentideas
equivalentideas / keybase.md
Created February 2, 2017 05:28
keybase.md

Keybase proof

I hereby claim:

  • I am equivalentideas on github.
  • I am equivalentideas (https://keybase.io/equivalentideas) on keybase.
  • I have a public key ASCRtEsTIc-fZIAknASnMfiXEtN623R8LzctenDt90zoTQo

To claim this, I am signing this object:

@equivalentideas
equivalentideas / convert_mp3_to_aiff_using_ffmpeg
Created April 14, 2017 07:56
shell command to create new AIFF conversions for all MP3 files in the current directory
find . -name '*.mp3' | sed s/.mp3// | sed 's/.*/&.mp3 &.aiff/' | xargs -n 2 ffmpeg -i
@equivalentideas
equivalentideas / command.rb
Created May 24, 2017 01:03
Command to create markdown file of visible comments on a planning application in PlanningAlerts
# Run these commands on the production Rails console
# This creates a markdown file with the comments in the format:
#
# From: Luke Bacon
# Date of Submission: 6 April 2017
#
# Comment text bla bla bla
#
# * * *
#