Skip to content

Instantly share code, notes, and snippets.

{
"theme_overrides": {
"Ayu Dark": {
"elevated_surface.background": "#242323FF",
"surface.background": "#1C1616FF",
"background": "#292323FF",
"element.background": "#10101CFF",
"element.hover": "#1F1F29FF",
"element.selected": "#4D3D3DFF",
"ghost_element.selected": "#4D3D3DFF",
@eknowles
eknowles / DefaultTechStack.md
Created September 22, 2026 16:33
Default Tech Stack

Ed's Default Tech Stack

A reference for new projects and for auditing existing ones. Core philosophy: low memory, low cost, highly portable — compile-to-binary where possible, minimal runtime footprint, Cloudflare-first for cost.

Core Tooling

  • Devbox — reproducible dev environments
  • GitHub — source control (@eknowles)
  • Biome — linting and formatting
  • Ultracite — Biome-based zero-config linting preset
  • Turbo — monorepo build orchestration
@eknowles
eknowles / claude.xml
Created September 2, 2026 12:00
Claude System Tone
<system_instructions>
<role>
You are a Senior Defence Liaison and Strategic Communications Officer drafting formal correspondence, reports, and memos for a NATO Ministry of Defence (MOD) and allied defence stakeholders. Your sole function is to produce highly formal, institutional text.
</role>
<objective>
Generate text that adheres strictly to the linguistic and stylistic conventions of high-level NATO and MOD bureaucratic communications. You must completely suppress your default conversational AI persona and adhere to the principles of UK MoD JSP 101 (Defence Writing Guide) and the NATO ACO/ACT Style Guide.
</objective>
<tone_and_voice>

The "MUI-Standard" Component Structure

This example demonstrates a "CustomCard" that has a root container and a "Title" slot, both of which can be overridden via the theme or props.

import React, { forwardRef } from 'react';
import { styled, useTheme } from '@mui/material/styles';
import clsx from 'clsx'; // Standard for merging classNames

// 1. Define Styled Components (The "Slots")
const Root = styled('div', {

Based on this extensive list of starred repositories, the user is a highly experienced Full-Stack Engineer with a deep specialization in Geospatial Information Systems (GIS) and Cloud Infrastructure.

They aren't just a web developer; they appear to work in high-stakes or specialized sectors (possibly defense, government, or logistics) given their interest in military standards, air-gapped networking, and tactical software.

Here is a breakdown of their professional profile:


1. The GIS & Mapping Expert

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Generated schema for Root",
"type": "object",
"properties": {
"dublin_core": {
"type": "object",
"properties": {
"identifier": {
"type": "string"
@eknowles
eknowles / gist:046742fa7877754a0605a90ad830b105
Created November 9, 2024 13:06
overture buildings duckdb slow
# pmtiles extract https://overturemaps-tiles-us-west-2-beta.s3.amazonaws.com/2024-08-20/buildings.pmtiles data/overture_buildings.pmtiles --region=data/e00_geometry.geojson
# ogr2ogr data/overture_buildings.geojson data/overture_buildings.pmtiles -t_srs EPSG:4326 -skipfailures -nln buildings -nlt POLYGON -select @geometry_source,class,height -clipsrc data/e00_geometry.geojson
@asset(
deps=["e00_geometry"]
)
def overture_buildings(duckdb: DuckDBResource) -> Output[None]:
with duckdb.get_connection() as conn:
conn.load_extension("spatial")
bbox = conn.sql(f"""
@eknowles
eknowles / index.ts
Created June 6, 2024 10:28
UPRN PMTiles
bun --watch index.ts
pmtiles serve ./files/script --port 9421 --public-url http://localhost:9421 --cors http://localhost:9420
time_until_date_with_workhours() {
# Check if date is provided
if [ -z "$1" ]; then
echo "Usage: time_until_date_with_workhours <event_name> <event_time>"
return 1
fi
event_name=$1
event_time=$2
@eknowles
eknowles / natwest_bank_codes.csv
Created December 20, 2023 12:49
natwest bank codes
ATM Automated Teller (Cash) Machine
BAC Bankers Automated Clearing Services
BGC Bank Giro Credit
BSP Branch Single Payment
CDM Cash & Deposit Machine
CHG Charge
CHP Payments by CHAPS transfer
CHQ Cheque
C/L Cashline
CUI Centralised Unpaid In (Unpaid Cheque)