Skip to content

Instantly share code, notes, and snippets.

View mlandauer's full-sized avatar

Matthew Landauer mlandauer

View GitHub Profile

Overall install instructions for installing everything for DTA marketplace

Prerequisites

You'll need a dump of the staging database. Save this to staging.full.dump.sql.

Download repositories

$ mkdir dto
"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
@mlandauer
mlandauer / postcodes.rb
Last active December 15, 2015 01:49 — forked from henare/postcodes.rb
# See http://en.wikipedia.org/wiki/Postcodes_in_Australia
# Postcodes that are used for LVRs and PO boxes only
def australian_postcodes_po_boxes
nsw = (1000..1999).to_a
act = (200..299).to_a
vic = (8000..8999).to_a
qld = (9000..9999).to_a
sa = (5800..5999).to_a
wa = (6800..6999).to_a