Writing a CLI utility that is also a Datasette plugin
2024-04-24
I'm working on [dclient](https://github.com/simonw/dclient), a CLI tool for interacting with Datasette instances via the Datasette API.
275 words
|
1 minute
Show the timezone for datetimes in the Django admin
2024-04-24
Django supports storing dates in a database as UTC but displaying them in some other timezone - which is good. But... by default datetimes are show...
360 words
|
2 minutes
CIS Benchmark-Aligned Partitioning Scheme for Rocky Linux 9.5
2024-04-24
A comprehensive guide to creating a secure, CIS Benchmark-compliant partitioning scheme for Rocky Linux 9.5 installations with 400 GiB of storage.
434 words
|
2 minutes
Formatting thousands in Jinja
2024-04-24
Here's how to format a number in Jinja with commas for thousands, without needing any custom filters or template functions:
55 words
|
1 minute
Skipping a GitHub Actions step without failing
2024-04-24
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 b...
132 words
|
1 minute
Analyzing Google Cloud spend with Datasette
2024-04-24
Google Cloud provide extremely finely grained billing, but you need to access it through BigQuery which I find quite inconvenient.
288 words
|
1 minute
Using Tesseract.js to OCR every image on a page
2024-04-24
Pasting this code into a DevTools console should load [Tesseract.js](https://github.com/naptha/tesseract.js) from a CDN, loop through every image l...
163 words
|
1 minute
Migrating a GitHub wiki from one repository to another
2024-04-21
I figured out how to migrate a [GitHub wiki](https://docs.github.com/en/communities/documenting-your-project-with-wikis/about-wikis) (public or pri...
117 words
|
1 minute