Using curl to run GraphQL queries from the command line
2024-06-29
I wanted to run a query against the GitHub GraphQL API using `curl` on the command line, while keeping the query itself as readable as possible. He...
751 words
|
4 minutes
Redirecting a whole domain with Cloudflare
2024-06-29
I had to run this site on `til.simonwillison.org` for 24 hours due to a domain registration mistake I made.
148 words
|
1 minute
Managing Podman Containers with Systemd - Traditional Methods vs. Quadlet
2024-06-28
A comprehensive guide to integrating Podman containers with systemd, comparing the traditional service file approach with the modern Quadlet method, with detailed examples and best practices.
1276 words
|
6 minutes
Implementing a "copy to clipboard" button
2024-06-28
I had to figure this out while building [datasette-copyable](https://github.com/simonw/datasette-copyable/) - demo [here](https://covid-19.datasett...
180 words
|
1 minute
Converting no-decimal-point latitudes and longitudes using jq
2024-06-25
I had some data with weird co-ordinates in it:
219 words
|
1 minute
Testing cookiecutter templates with pytest
2024-06-25
I added some unit tests to my [datasette-plugin](https://github.com/simonw/datasette-plugin) cookiecutter template today, since the latest features...
159 words
|
1 minute
Paginating through the GitHub GraphQL API with Python
2024-06-25
(See also [Building a self-updating profile README for GitHub](https://simonwillison.net/2020/Jul/10/self-updating-profile-readme/) on my blog)
329 words
|
2 minutes
Managing Multiple GitHub Accounts on a Single Machine - A Comprehensive Guide
2024-06-25
A step-by-step guide to effectively setting up and managing multiple GitHub accounts on a single machine using SSH keys, custom hosts, and repository-specific configurations.
1188 words
|
6 minutes