In this blog post we will explore Django testing and dynamically accessing attributes during unit…
Read MoreCategory: til
TIL: time travel with Python’s standard library
tilThere are a few different approaches for writing tests for date and/or time-sensitive functionality. One…
Read MoreDjango Rest Framework: adding DateTimeField format serializer validation
til web developmentAdding date and time format validation to a DRF serializer
Read MoreTIL: installed packages in Python – list, and show
til web developmentIf your Python project has a very short list of required packages (in requirements, pipfile,…
Read MoreFind the commit that introduced a bug in your code: how to use git bisect in 7 steps
command line git tilWhen I first heard about git bisect I thought it sounded scary and complicated, so…
Read More6 Lessons learned from upgrading a Rails app
tilI was recently tasked with upgrading our Ruby on Rails application at work: my goal…
Read MoreGo to line number in a file using vim
tilYou want to see line 3842 of file called my_super_long_file.py and you can only access…
Read MoreTIL: docker commit
command line tilWhen I need to create a new custom Docker image, I usually start with a…
Read MoreTIL: How to move a line in Vim
tilFor a text like the following: In order to move the first line down, in…
Read MoreTIL: Create and deploy a serverless function in AWS
tilOnly two steps required (it assumes an existing account in AWS console): I used these…
Read More