Skip to content

Instantly share code, notes, and snippets.

View psd's full-sized avatar

Paul Downey psd

View GitHub Profile

>>>>> gd2md-html alert: ERRORs: 0; WARNINGs: 0; ALERTS: 3.

  • See top comment block for details on ERRORs and WARNINGs.
  • In the converted Markdown or HTML, search for inline alerts that start with >>>>> gd2md-html alert: for specific instances that need correction.

Links to alert messages:

alert1 alert2 alert3
@psd
psd / model.txt
Last active March 18, 2021 19:47
Digital Land View model
// https://dbdiagram.io/d/60536fd6ecb54e10c33c1b72
// > many-to-one; < one-to-many; - one-to-one
// "organisation", "geography", "category", "document", "policy", "rule"
Table typology as T {
typology varchar [pk]
name varchar
}
// "local-authority", "conservation-area", "brownfield-land", etc
@psd
psd / output.txt
Last active March 14, 2021 19:47 — forked from 9600/text.xml
22.3
°C
not found
/(1) EBusRoot/(3) Zusatzmodul/(4) CIRCUIT 1/(119) /(3) 00:01
@psd
psd / Makefile
Last active August 25, 2020 16:36
Possibly missing shielding hub authorities
missing.txt: missing.py missing.csv organisation.csv local-authority-type.csv local-authority-to-hub.csv
python3 missing.py | tee $@
organisation.csv:
curl -qs 'https://raw.githubusercontent.com/digital-land/organisation-dataset/master/collection/organisation.csv' > $@
local-authority-to-hub.csv:
curl -qs 'https://raw.githubusercontent.com/digital-land/organisation-dataset/master/data/local-authority-to-hub.csv' > $@
local-authority-type.csv:
@psd
psd / typescript.txt
Created April 26, 2020 11:05
Add self-signed certificates by hand to curl
$ HOSTNAME=www.chelmsford.gov.uk
$ openssl s_client -showcerts -servername $HOSTNAME -connect $HOSTNAME:443 > cacert.pem </dev/null
$ curl -Lv --cacert cacert.pem 'https://www.chelmsford.gov.uk/EasySiteWeb/GatewayLink.aspx?alId=1095043' > resource.csv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 20.39.208.115:443...
* TCP_NODELAY set
@psd
psd / gist:5f72ef0156115b42e74f9c1e2bcd75c4
Created April 24, 2020 07:16
unknown addressbase custodians
2020-04-24 08:10:02,463 WARNING local-authority-eng:BPC: missing addressbase-custodian field
2020-04-24 08:10:02,464 WARNING local-authority-eng:BUC: missing addressbase-custodian field
2020-04-24 08:10:02,466 WARNING local-authority-eng:DST: missing addressbase-custodian field
2020-04-24 08:10:02,466 WARNING local-authority-eng:ESK: missing addressbase-custodian field
2020-04-24 08:10:02,473 WARNING local-authority-eng:SWT: missing addressbase-custodian field
2020-04-24 08:10:02,475 WARNING local-authority-eng:WSK: missing addressbase-custodian field
@psd
psd / stderr.txt
Created April 24, 2020 07:11
building the organisation collection
2020-04-24 08:10:02,461 WARNING development-corporation:Q20648596: missing opendatacommunities-area field
2020-04-24 08:10:02,462 WARNING development-corporation:Q6670544: missing opendatacommunities-area field
2020-04-24 08:10:02,462 WARNING development-corporation:Q72456968: missing opendatacommunities-area field
2020-04-24 08:10:02,462 WARNING development-corporation:Q72463795: missing opendatacommunities-area field
2020-04-24 08:10:02,463 WARNING local-authority-eng:BPC: missing addressbase-custodian field
2020-04-24 08:10:02,463 WARNING local-authority-eng:BPC: missing billing-authority field
2020-04-24 08:10:02,464 WARNING local-authority-eng:BUC: missing addressbase-custodian field
2020-04-24 08:10:02,464 WARNING local-authority-eng:BUC: missing opendatacommunities field
2020-04-24 08:10:02,464 WARNING local-authority-eng:BUC: missing opendatacommunities-area field
2020-04-24 08:10:02,464 WARNING local-authority-eng:BUC: missing billing-authority field
@psd
psd / england.geojson
Last active January 25, 2020 07:10
Bounding box of England
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.