Skip to content

Instantly share code, notes, and snippets.

View wiseman's full-sized avatar

John Wiseman wiseman

View GitHub Profile
# "Close-In" — the trailer's score. Render: uv run tools/score.py trailer/score.txt trailer/music.wav
#
# D minor, 128 bpm, 16 bars = 30 s. The cut is built on these bars (trailer/edit.txt):
# 1-2 cold open: drone, sonar pings, a heartbeat ("Vampire, vampire, vampire!")
# 3-5 build: a hit as the gun opens up, taiko and string ostinato, Dm Bb C
# 6-7 riser: strings up the octave, a snare roll, Gm A, then a beat of nothing
# 8-10 the drop: braams, half-time drums, brass stabs, Dm Bb C
# 11-13 the gag: a record scratch and silence (the mount and the Seahawk)
# 14 back in, harder: the title
# 15-16 the last hit, ringing out under the end card ("And there goes my tax refund.")
@wiseman
wiseman / N193RA.md
Last active June 30, 2026 16:56
N193RA Hexbird Report

Deep dive: N193RA

N193RA is a Beechcraft B300 (King Air 350) ISR aircraft, Mode S hex A174C8, owned through most of its recent life by the defence contractor Metrea Special Aerospace. It now flies near-daily intelligence, surveillance and reconnaissance (ISR) orbits along the United States–Mexico border. Right now it is orbiting over Brownsville, Texas.

What it is

Field Value
Registration N193RA
Mode S hex A174C8
@wiseman
wiseman / download_lapd_drone_flights.py
Created April 7, 2026 23:46
Downloads LAPD drone flight data
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "requests",
# ]
# ///
"""Download LAPD drone flight data from ArcGIS feature service."""
import json
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >AE654A track</name>
<Placemark ><name >AE654A</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >N29LW track</name>
<Placemark ><name >N29LW</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >N2585U track</name>
<Placemark ><name >N2585U</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >SWA1496 737 track</name>
<Placemark ><name >SWA1496 737</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >N15KR track</name>
<Placemark ><name >N15KR</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >N470WN track</name>
<Placemark ><name >N470WN</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>
@wiseman
wiseman / N216MH-track-press_alt_uncorrected.kml
Created April 10, 2025 22:29
Final track of N216MH on 2025-03-10.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Folder ><Folder ><name >N216MH track</name>
<Placemark ><name >N216MH</name>
<Style ><LineStyle ><color >ff1c1ae3</color>
<width >4</width>
</LineStyle>
<IconStyle ><Icon ><href >http://maps.google.com/mapfiles/kml/shapes/airports.png</href>
</Icon>
</IconStyle>
</Style>