Skip to content

Instantly share code, notes, and snippets.

@deparkes
deparkes / baudot.py
Created July 23, 2021 19:29
Simple exploration of the Lorentz cipher concept using Python - see also https://wp.me/p4DE9r-1mc
# Baudot
import random
import string
# Taken from https://www.cryptomuseum.com/ref/ita2/index.htm
baudot = { 'a': '0b00011',
'b': '0b11001',
'c': '0b01110',
'd': '0b01001',
'e': '0b00001',
import gpxpy
import gpxpy.gpx
import folium
gpx_file = open('path_to_gpx_file.gpx', 'r')
gpx = gpxpy.parse(gpx_file)
points = []
for track in gpx.tracks:
for segment in track.segments:
@deparkes
deparkes / uk_universities_locations.csv
Created May 15, 2016 10:19
UK University Locations
Name lat lon
The University of Aberdeen 57.165019 -2.099122
University of Abertay Dundee 56.46334 -2.973441
Aberystwyth University 52.403473 -4.043584
Anglia Ruskin University 51.741381 0.474495
Aston University 52.486637 -1.890952
Bangor University 53.229193 -4.129437
Bath Spa University 51.373209 -2.440912
The University of Bath 51.380441 -2.330673
University of Bedfordshire 51.87825 -0.411539