Skip to content

Instantly share code, notes, and snippets.

@wragge
wragge / naa_tas_series.csv
Created Jul 2, 2021
Series held by the National Archives of Australia's Tasmanian office
View naa_tas_series.csv
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
A list of digitised newspaper titles in Trove, showing approximately when they became available (based on web archive captures).
@wragge
wragge / trove-non-english-newspapers.md
Last active Apr 27, 2021
List of Trove newspapers in languages other than English
View trove-non-english-newspapers.md
@wragge
wragge / list-requirements.py
Last active Mar 14, 2021
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.
View list-requirements.py
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 Mar 7, 2021
A first attempt to find aircraft identification numbers in files from the National Archives of Australia
View naa_ids.txt
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 / recordsearch_show_pages.user.js
Last active Feb 24, 2021
RecordSearch Show Pages Userscript
View recordsearch_show_pages.user.js
// ==UserScript==
// @name RecordSearch Show Pages
// @namespace http://timsherratt.org/recordsearch_show_pages
// @description Shows the number of pages in a digitised file in the NAA's RecordSearch database
// @version 0.6
// @date 2021-02-24
// @creator Tim Sherratt
// @include https://recordsearch.naa.gov.au/SearchNRetrieve/Interface/ListingReports/ItemsListing.aspx*
// @include https://recordsearch.naa.gov.au/SearchNRetrieve/Interface/DetailsReports/ItemDetail.aspx*
// @include https://recordsearch.naa.gov.au/SearchNRetrieve/Interface/ViewImage.aspx*
@wragge
wragge / trove-newspapers-keyboard-navigation.user.js
Last active Jan 25, 2021
Keyboard navigation for Trove newspapers
View trove-newspapers-keyboard-navigation.user.js
// ==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 Jan 21, 2021
DNZ Fireworks
View spec.json
{
"config": {
"view": {"continuousWidth": 400, "continuousHeight": 300, "strokeWidth": 0},
"axis": {
"domainColor": "#999999",
"grid": false,
"labelColor": "#999999",
"tickColor": "#999999",
"titleColor": "#999999"
},
@wragge
wragge / spec.json
Created Jan 21, 2021
Open collections in DigitalNZ
View spec.json
{
"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 Jan 21, 2021
Open collections in DigitalNZ
View spec.json
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"layer": [
{
"mark": {
"type": "circle",
"opacity": 0.8,
"stroke": "white",
"strokeDash": [4, 1],
"strokeOpacity": 0.4,