Skip to content

Instantly share code, notes, and snippets.

@wragge
wragge / naa_tas_series.csv
Created July 2, 2021 01:16
Series held by the National Archives of Australia's Tasmanian office
identifier title contents_date_str contents_start_date contents_end_date location quantity described_note described_total digitised_total access_open_total access_owe_total access_closed_total access_nye_total
A40 Volumes of duplicate Certificates of Naturalization 01 Jan 1904 - 31 Dec 1917 1904-01-01 1917-12-31 TAS 0.13 All items from this series are entered on RecordSearch. 36 36 36 0 0 0
A376 Correspondence Files T Series TAS 0.36 Click to see items listed on RecordSearch. Please contact the National Reference Service if you can't find the record you want as not all items from the series may be on RecordSearch. 16 2 15 1 0 0
A396 Alien Registration Papers - Chinese, Tasmania TAS 0.9 All items from this series are entered on RecordSearch. 293 285 293 0 0 0
A401 Records of Aliens 1914 - 1919 1914 1919 TAS 0.36 All items from this series are entered on RecordSearch. 767 767 767 0 0 0
A403 Correspondence Files, C Series TAS 0.03 All items from this series are entered on RecordSearch. 10 0 10 0 0 0
@wragge
wragge / trove_newspaper_titles.md
Last active May 7, 2021 02:12
A list of digitised newspaper titles in Trove, showing approximately when they became available (based on web archive captures).
@wragge
wragge / list-requirements.py
Last active March 14, 2021 02:41
Script to list non-standard modules imported by Jupyter notebooks. Run this in a directory containing `.ipynb` files and it will generate a `requirements-unpinned-tocheck.txt` file.
from pathlib import Path
import json
import re
import imp
import os.path
import sys
python_path = os.path.dirname(sys.executable).replace('bin', 'lib')
imports = []
@wragge
wragge / naa_ids.txt
Last active March 7, 2021 07:06
A first attempt to find aircraft identification numbers in files from the National Archives of Australia
G-AUAF
NAA: A705, 35/6/1137, Regn and Airworthiness DH 60 Moth G-AUAF, 1926 - 1927
G-AUAP
NAA: A705, 35/6/1448, Registration & Airworthiness DH Co. "Moth" G-AUAP (C.A. March), 1927 - 1929
G-AUBA
NAA: A705, 35/6/93 PART 1, Aircraft G-AUBA "Avro" 504K No.H.2030 (First aircraft on Australian Register later marking VH-UBA), 1922 - 1929
NAA: A705, 35/6/1091, Avro 504 'K' G-AUBA K. Frewen 1927, 1927 - 1927
G-AUBC
NAA: A705, 35/10/117, Aircraft G-AUBC Maurice Farman Shorthorn, 1924 - 1926
G-AUBF
@wragge
wragge / trove-newspapers-keyboard-navigation.user.js
Last active January 25, 2021 00:18
Keyboard navigation for Trove newspapers
// ==UserScript==
// @name Trove newspapers keyboard navigation
// @namespace http://timsherratt.org/trove-keyboard-navigation
// @version 0.1
// @description Use left and right arrows to move between pages, up and down arrows to move between issues.
// @author Tim Sherratt (@wragge)
// @match https://trove.nla.gov.au/newspaper/page/*
// @grant none
// ==/UserScript==
@wragge
wragge / spec.json
Created January 21, 2021 13:42
DNZ Fireworks
{
"config": {
"view": {"continuousWidth": 400, "continuousHeight": 300, "strokeWidth": 0},
"axis": {
"domainColor": "#999999",
"grid": false,
"labelColor": "#999999",
"tickColor": "#999999",
"titleColor": "#999999"
},
@wragge
wragge / spec.json
Created January 21, 2021 10:12
Open collections in DigitalNZ
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"layer": [
{
"mark": {
"type": "circle",
"opacity": 0.8,
"stroke": "white",
"strokeDash": [4, 1],
"strokeOpacity": 0.4,
@wragge
wragge / spec.json
Created January 21, 2021 10:03
Open collections in DigitalNZ
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"layer": [
{
"mark": {
"type": "circle",
"opacity": 0.8,
"stroke": "white",
"strokeDash": [4, 1],
"strokeOpacity": 0.4,
@wragge
wragge / spec.json
Created January 21, 2021 09:57
Vega-Lite spec from Thu Jan 21 2021
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"layer": [
{
"mark": {
"type": "circle",
"opacity": 0.8,
"stroke": "white",
"strokeDash": [4, 1],
"strokeOpacity": 0.4,
@wragge
wragge / spec.json
Created January 21, 2021 09:56
Vega-Lite spec from Thu Jan 21 2021
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"layer": [
{
"mark": {
"type": "circle",
"opacity": 0.8,
"stroke": "white",
"strokeDash": [4, 1],
"strokeOpacity": 0.4,