You'll need a dump of the staging database. Save this to staging.full.dump.sql
.
$ mkdir dto
#!/bin/bash | |
# Provide pid of process for which you want to monitor the number of file handles | |
# You probably want to use it somewhat like this | |
# ./file_handle_mon.sh 1877 | tee file_handle_mon.out | |
while [ 1 ] | |
do | |
number=$(lsof -p $1 | wc -l) | |
date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") | |
echo "$date,$number" |
""" | |
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 | |
I hereby claim:
To claim this, I am signing this object:
loon:cuttlefish matthew$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'precise64'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... |
loon:cuttlefish matthew$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'precise64'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... |
loon:cuttlefish matthew$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'precise64'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... |
# 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 |
{ | |
"radius": 10000, | |
"errorCode": 0, | |
"errorString": null, | |
"layer": "echopointkatoomba", | |
"hotspots": [ | |
{ | |
"actions": [], | |
"distance": 5000, | |
"type": 0, |