May 2022
February 2022
December 2021
January 2021
-
🔗Using checksums to verify syncing 100M database records
-
🐥Gotcha with defer in Go
-
🐥Assert vs require in testify
-
🐥Using environment variables in Go tests
-
🐥Waiting for a MySQL database in Go
-
🐥Truncating a Unix timestamp to the hour using Go
-
🐥Parsing a key pair from a PEM file in Go
-
🐥Looking up a CNAME in Go
-
🐥Pretty-print JSON with Go
-
🐥Embedding file with Go 1.16
December 2020
November 2020
-
🐥Writing maintainable code
-
🐥Annotate Querysets to Fetch Specific Values
-
🐥Define Custom Query Sets and Model Managers for Code Reuse
-
🐥Use Prefetch Objects to Control Your Prefetch Related
-
🐥Using Q Objects for Complex Queries
-
🐥Optimize Database Calls with Prefetch Related and Select Related
-
🐥Making a unique list in Python preserving the order
-
🐥Safely getting values from a Python dictionary
-
🐥How to test if __name__ == "__main__"
-
🐥Testing exceptions in pytest