Using the GitHub Actions cache with npx and no package.json
Some of my repositories have GitHub Actions workflows that execute commands using `npx`, for example my [graphql-scraper](https://github.com/simonw...
252 words
|
1 minute
Athena error: The specified key does not exist
I was trying to run Athena queries against compressed JSON log files stored in an S3 bucket.
248 words
|
1 minute
__init_subclass__
David Beazley [on Twitter](https://twitter.com/dabeaz/status/1466731368956809219) said:
281 words
|
1 minute
Using Fabric with an SSH public key
Inspired by [this tweet](https://twitter.com/driscollis/status/1445772718507376646) by Mike Driscoll I decided to try using Fabric to run commands ...
87 words
|
1 minute
Testing the Access-Control-Max-Age CORS header
Today I noticed that [Datasette](https://datasette.io/) wasn't serving a `Access-Control-Max-Age` header.
516 words
|
3 minutes
Passing command arguments using heredoc syntax
This trick works for both Bash and zsh.
173 words
|
1 minute
Quick and dirty mock testing with mock_calls
I needed to write a test that checked for a really complex sequence of mock calls for [s3-credentials#3](https://github.com/simonw/s3-credentials/i...
318 words
|
2 minutes
Serving MBTiles with datasette-media
The [MBTiles](https://github.com/mapbox/mbtiles-spec) format uses SQLite to bundle map tiles for use with libraries such as Leaflet.
153 words
|
1 minute