Conditional Response Class in FastAPI

I discovered recently that I could create a custom response class for use with FastAPI and that I could use this to create a pretty printed json-like reponse for my API. I didn’t want to force all my responses to...

Git Diff and Patch

Last week I got myself into a complete git merge and rebase nightmare. It’s not all that unusual now that I’m using Git in the context of a team where we have multiple developers and branches at various steps removed...