Skip to content

Instantly share code, notes, and snippets.

View henare's full-sized avatar

Henare Degan henare

View GitHub Profile
<division divdate="2013-03-21" divnumber="2" id="uk.org.publicwhip/debate/2013-03-21.77.1" nospeaker="true" time="14:39" url="http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;adv=yes;orderBy=_fragment_number,doc_date-rev;page=0;query=Dataset%3Ahansardr,hansardr80%20Date%3A21%2F3%2F2013;rec=0;resCount=Default">
<divisioncount ayes="73" noes="71" pairs="2" tellerayes="0" tellernoes="0"/>
<memberlist vote="aye">
<member id="uk.org.publicwhip/member/1" vote="aye">Tony John Abbott</member>
<member id="uk.org.publicwhip/member/589" vote="aye">John Alexander</member>
<member id="uk.org.publicwhip/member/13" vote="aye">Kevin James Andrews</member>
<member id="uk.org.publicwhip/member/612" vote="aye">Karen Andrews</member>
<member id="uk.org.publicwhip/member/26" vote="aye">Bob Charles Baldwin</member>
<member id="uk.org.publicwhip/member/38" vote="aye">Bruce Fredrick Billson</member>
<member id="uk.org.publicwhip/member/42" vote="aye">Mrs Bronwyn Kathleen Bishop</member>

Keybase proof

I hereby claim:

  • I am henare on github.
  • I am henare (https://keybase.io/henare) on keybase.
  • I have a public key whose fingerprint is 2025 342E 1A58 0861 5B3D 5210 3B8B EA4C 8A9A BDE8

To claim this, I am signing this object:

@henare
henare / 1.md
Created July 3, 2014 01:18
Suggestion to NSW Parliament website about locating Register of Interests

Hello,

I was recently trying to find the Register of Interests online and found this page that mentions it: http://www.parliament.nsw.gov.au/prod/web/common.nsf/key/membersethics

It says you need to call and make an appointment to see it. When I did call the Clerk's office I was advised it was online as a tabled paper here: http://www.parliament.nsw.gov.au/prod/la/latabdoc.nsf/30d097ada2f32772ca256e84007f076b/bf372a04a3499ebcca257c060017f56c?OpenDocument

I mentioned to the person I spoke to that it might be a good idea to link to that so that people don't have to call up and find out. The person advised they couldn't make the change but that I could use this form to suggest it - so here I am! :)

Can you please advise if you can make this change so the register is more easily found and the Clerk's office is not burdened with phone calls from people like me trying to locate this document?

We can't make this file beautiful and searchable because it's too large.
ERAID,Rank,Title,FoR1,FoR1 Name,FoR2,FoR2 Name,FoR3,FoR2 Name,ISSN1,ISSN2,ISSN3,ISSN4
11662,C,1913: a journal of forms,2005,Literary Studies,,,,,1548-9914,,,
34647,B,3CMedia,20,"Language, Communication and Culture",,,,,1832-6161,1445-971X,,
39853,C,4OR: A Quarterly Journal of Operations Research,0102,Applied Mathematics,1503,Business and Management,,,1619-4500,0390-8127,,
32180,C,A St A: Advances in Statistical Analysis,0104,Statistics ,,,,,1863-8171,1863-818X,0002-6018,
30533,A,AA files: annals of the Architectural Association School of Architecture,1201,Architecture,,,,,0261-6823,,,
36072,B,AACE International Transactions,15,"Commerce, Management, Tourism and Services",12,Built Environment and Design,,,1528-7106,,,
35966,B,AACE Journal,13,Education,,,,,1551-3696,,,
15571,C,AACN Advanced Critical Care,1103,Clinical Sciences,,,,,1559-7768,1559-7776,1079-0713,
44322,C,AANA Journal,1103,Clinical Sciences,1110,Nursing,,,0094-6354,,,
@henare
henare / public_whip_todo.md
Last active August 29, 2015 14:01
Public Whip TODO
  • Remaining sections
    • note issues here
  • Review Rails app
    • Page differences, API differences
    • Which DB tables is Rails not using? Why?
  • Pair with Matthew to review Rails app
  • Review remaining PHP issues outstanding
  • Review code notes (TODO, FIXME, etc.)
  • Review policies, edited divisions
require 'open-uri'
require 'json'
# Grab a signed URL from the API console for the group you want: http://www.meetup.com/meetup_api/console/?path=/2/members
url = ''
results = JSON.parse(open(url).read)
results['results'].each do |r|
if r['other_services'] && r['other_services']['twitter']
<?xml version="1.0" encoding="UTF-8"?>
<debates>
<major-heading id="uk.org.publicwhip/lords/2014-03-25.3.1" url="http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;adv=yes;orderBy=_fragment_number,doc_date-rev;page=0;query=Dataset%3Ahansards,hansards80%20Date%3A25%2F3%2F2014;rec=0;resCount=Default">
BILLS </major-heading>
<minor-heading id="uk.org.publicwhip/lords/2014-03-25.3.2" url="http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;adv=yes;orderBy=_fragment_number,doc_date-rev;page=0;query=Dataset%3Ahansards,hansards80%20Date%3A25%2F3%2F2014;rec=0;resCount=Default">
Social Services and Other Legislation Amendment Bill 2013; Consideration of House of Representatives Message </minor-heading>
<speech approximate_duration="60" approximate_wordcount="193" id="uk.org.publicwhip/lords/2014-03-25.3.3" speakerid="uk.org.publicwhip/lord/100083" speakername="Mitch Peter Fifield" talktype="speech" time="12:31" url="http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;adv=yes;orderB
@henare
henare / apache.conf
Last active January 1, 2016 17:09
Redirects for Jira to GitHub Issues migration https://github.com/henare/jira_to_github/issues/17
# Redirect issue URLs
# Redirect issue URLs for PW
Redirect /browse/PW-1 https://github.com/openaustralia/publicwhip/issues/4
Redirect /browse/PW-2 https://github.com/openaustralia/publicwhip/issues/5
Redirect /browse/PW-3 https://github.com/openaustralia/publicwhip/issues/6
Redirect /browse/PW-4 https://github.com/openaustralia/publicwhip/issues/7
Redirect /browse/PW-5 https://github.com/openaustralia/publicwhip/issues/8
Redirect /browse/PW-6 https://github.com/openaustralia/publicwhip/issues/9
Redirect /browse/PW-7 https://github.com/openaustralia/publicwhip/issues/10
--- /home/henare/Desktop/2012-10-11.xml 2012-10-12 01:05:43.000000000 +0300
+++ /home/henare/tmp/openaustralia/pwdata/scrapedxml/representatives_debates/2012-10-11.xml 2013-09-09 14:29:16.310410565 +0300
@@ -4,9 +4,9 @@
BILLS </major-heading>
<minor-heading id="uk.org.publicwhip/debate/2012-10-11.3.2" url="http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;adv=yes;orderBy=_fragment_number,doc_date-rev;page=0;query=Dataset%3Ahansardr,hansardr80%20Date%3A11%2F10%2F2012;rec=0;resCount=Default">
Clean Energy Amendment (International Emissions Trading and Other Measures) Bill 2012, Clean Energy (Charges—Excise) Amendment Bill 2012, Clean Energy (Charges—Customs) Amendment Bill 2012, Excise Tariff Amendment (Per-tonne Carbon Price Equivalent) Bill 2012, Ozone Protection and Synthetic Greenhouse Gas (Import Levy) Amendment (Per-tonne Carbon Price Equivalent) Bill 2012, Ozone Protection and Synthetic Greenhouse Gas (Manufacture Levy) Amendment (Per-tonne Carbon Price Equivalent) Bill 2012, Clean Energ
@henare
henare / OA-532
Created August 23, 2013 06:56
Output differences between master and OA-532 when running the OA alert mailer
linux-uvvg:/srv/www/openaustralia/twfy/scripts # echo -e "0\n0" > alerts-lastsent
linux-uvvg:/srv/www/openaustralia/twfy/scripts # git checkout master
Already on "master"
linux-uvvg:/srv/www/openaustralia/twfy/scripts # php alertmailer.php
max_batch_id: 3
lastupdated: 1377093600 lastbatch: 0
batch_query_fragment: batch:1 batch:2 batch:3
EMAIL: [email protected], uid 0; memory usage : 3556936
ALERT 1/1 QUERY 0 : Xapian query 'speaker:10552 batch:1 batch:2 batch:3', caching, hits 32, time 0.13633012771606