Using awk to add a prefix
I wanted to dynamically run the following command against all files in a directory:
147 words
|
1 minute
Sort by number of JSON intersections
This [post on Reddit](https://www.reddit.com/r/sqlite/comments/wr0wp0/i_have_a_sqlite_database_of_recipes_i_would_like/) asked how to run a query t...
391 words
|
2 minutes
Deploying CoreDNS and StepCA with Kubernetes Manifests Using Quadlet on CoreOS
A comprehensive guide to deploying and configuring CoreDNS and StepCA infrastructure using Kubernetes manifests through Quadlet on Fedora CoreOS, enabling integrated DNS and certificate management.
1523 words
|
8 minutes
How to mock httpx using pytest-mock
I wrote this test to exercise some [httpx](https://pypi.org/project/httpx/) code today, using [pytest-mock](https://pypi.org/project/pytest-mock/).
283 words
|
1 minute
How I studied for my Ham radio general exam
I scraped a pass on my Ham radio general exam today, on the second attempt (you can retake on the same day for an extra $15, thankfully).
913 words
|
5 minutes
macOS Catalina sort-of includes Python 3
Once you have installed the "command line tools" for Catalina using the following terminal command:
449 words
|
2 minutes
Running a Python ASGI app on Vercel
Vercel really wants you to deploy static assets with [serverless functions](https://vercel.com/docs/serverless-functions/introduction) tucked away ...
198 words
|
1 minute
Mocking subprocess with pytest-subprocess
For [apple-notes-to-sqlite](https://github.com/dogsheep/apple-notes-to-sqlite) I needed to write some tests that simulated executing the `osascript...
260 words
|
1 minute