Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

TIL Minifying JavaScript with npx uglify-js — While [upgrading CodeMirror](https://github.com/simonw/datasette/issues/948) in Datasette I figured out how to minify JavaScript using `uglify-js` on the command line without first installing any teels, using [npx](https://www.npmjs.com/package/npx) (which downloads and executes a CLI tool while skipping the install step):
None
Release airtable-export 0.4 — Export Airtable data to YAML, JSON or SQLite files on disk
Release datasette-yaml 0.1a — Export Datasette records as YAML
Release airtable-export 0.3.1 — Export Airtable data to YAML, JSON or SQLite files on disk
Release airtable-export 0.3 — Export Airtable data to YAML, JSON or SQLite files on disk
Release airtable-export 0.2 — Export Airtable data to YAML, JSON or SQLite files on disk
Release airtable-export 0.1.1 — Export Airtable data to YAML, JSON or SQLite files on disk
Release airtable-export 0.1 — Export Airtable data to YAML, JSON or SQLite files on disk
TIL Converting Airtable JSON for use with sqlite-utils using jq — The Airtable API outputs JSON that looks like this:
None
Release datasette 0.49a0 — An open source multi-tool for exploring and publishing data
Release sqlite-utils 2.16.1 — Python CLI utility and library for manipulating SQLite databases
TIL Browsing your local git checkout of homebrew-core — The [homebrew-core](https://github.com/Homebrew/homebrew-core) repository contains all of the default formulas for Homebrew.
None
Release asgi-csrf 0.7.1 — ASGI middleware for protecting against CSRF attacks
TIL Piping echo to a file owned by root using sudo and tee — I wanted to create a file with a shell one-liner where the file lived somewhere owned by root.
None
Release datasette-graphql 1.0.1 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 1.0 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.15 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-render-images 0.3.2 — Datasette plugin that renders binary blob images using data-uris
Release datasette-atom 0.7 — Datasette plugin that adds a .atom output format
Release shapefile-to-sqlite 0.4.1 — Load shapefiles into a SQLite (optionally SpatiaLite) database
TIL Rendering Markdown with the GitHub Markdown API — I wanted to convert the Markdown used in my TILs to HTML, using the exact same configuration as GitHub does. GitHub has a whole load of custom extensions for things like tables and syntax highlighting (see [issue 17](https://github.com/simonw/til/issues/17)).
None
Release shapefile-to-sqlite 0.4 — Load shapefiles into a SQLite (optionally SpatiaLite) database
TIL Skipping a GitHub Actions step without failing — I wanted to have a GitHub Action step run that might fail, but if it failed the rest of the steps should still execute and the overall run should be treated as a success.
None
TIL Creating a dynamic line chart with SVG — I helped build the tide chart visualizations for [Rocky Beaches](https://www.rockybeaches.com/).
None
TIL Providing a "subscribe in Google Calendar" link for an ics feed — If you provide your own custom generated ICS file hosted at a URL it's nice to be able to give Google Calendar users an easy way to subscribe to that feed.
None
TIL Dynamically loading multiple assets with a callback — For [datasette-leaflet-geojson](https://github.com/simonw/datasette-leaflet-geojson) I wanted to dynamically load some external CSS and JavaScript and then execute some code once they had loaded ([issue 14](https://github.com/simonw/datasette-leaflet-geojson/issues/14)).
None
TIL Outputting JSON with reduced floating point precision — [datasette-leaflet-geojson](github.com/simonw/datasette-leaflet-geojson) outputs GeoJSON geometries in HTML pages in a way that can be picked up by JavaScript and used to plot a Leaflet map.
None
Release datasette-auth-passwords 0.3.2 — Datasette plugin for authentication using passwords
Release shapefile-to-sqlite 0.3 — Load shapefiles into a SQLite (optionally SpatiaLite) database
Release datasette-leaflet-geojson 0.6 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.