Snapshot testing with Syrupy
I'm a big fan of snapshot testing - writing tests where you compare the output of some function to a previously saved version, and can re-generate ...
637 words
|
3 minutes
Using LD_PRELOAD to run any version of SQLite with Python
I've been wanting to figure this out for ages. [This thread](https://news.ycombinator.com/item?id=23282684) on Hacker News plus [this Stackoverflow...
729 words
|
4 minutes
Observability Best Practices
Day 60 of 90 Days of DevOps - Observability Best Practices. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
501 words
|
3 minutes
Running pip install '.[docs]' on ReadTheDocs
I decided to use ReadTheDocs for my in-development [datasette-enrichments](https://github.com/datasette/datasette-enrichments) project.
146 words
|
1 minute
Set a GIF to loop using ImageMagick
I managed to accidentally create a GIF that ran once without looping. I think this is because I created it in [LICEcap](https://www.cockos.com/lice...
81 words
|
1 minute
Running pip install -e .[test] in zsh on macOS Catalina
macOS Catalina uses `zsh` rather than `bash` as the default shell (apparently because Apple don't like GPL 3).
99 words
|
1 minute
Chaos Engineering and Resilience
Day 59 of 90 Days of DevOps - Chaos Engineering and Resilience. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
635 words
|
3 minutes
Convert a datetime object to UTC without using pytz
I wanted to convert a datetime object (from GitPython) to UTC without adding the `pytz` dependency.
61 words
|
1 minute