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 ...
502 words
|
3 minutes
The most basic possible Hugo site
With [Claude's help](https://gist.github.com/simonw/6f7b6a40713b36749da845065985bb28) I figured out what I think is the most basic version of a sta...
649 words
|
3 minutes
Using packages from JSR with esbuild
[JSR](https://jsr.io/) is a brand new package repository for "modern JavaScript and TypeScript", [launched on March 1st](https://deno.com/blog/jsr_...
990 words
|
5 minutes
Manipulating query strings with URLSearchParams
The `URLSearchParams` class, in [every modern browser](https://caniuse.com/?search=URLSearchParams) since IE 11, provides a sensible API for manipu...
150 words
|
1 minute
Attaching a bash shell to a running Docker container
Use `docker ps` to find the container ID:
90 words
|
1 minute
Basic Datasette in Kubernetes
This recipe for deploying the official `datasetteproject/datasette` container in Kubernetes just worked for me. It uses an interesting (possibly na...
187 words
|
1 minute
Using just with Django
Jeff Triplett [convinced me](https://twitter.com/webology/status/1532860591307726851) to take a look at [just](https://github.com/casey/just) as a ...
460 words
|
2 minutes
Deploying Python web apps as AWS Lambda functions
I've been wanting to figure out how to do this for years. Today I finally put all of the pieces together for it.
1568 words
|
8 minutes