This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.
Today I learned how to create git aliases in my .gitconfig
file.
Today I learned how to automatically push code changes while I'm doing live coding, for example while teaching.
Today I learned how to use named tuples to improve readability and flexibility of test parametrisations in pytest.
Today I learned how to automatically delete local git branches that have been merged already.
Today I learned that you can run custom Python code when Python starts-up, before running other scripts or programs.
Today I learned how to find the commits that affected a specific file with git log
.
Today I learned how to customise the Python REPL on start-up.
Today I learned how to create nested git repositories through the submodules
command.
Today I learned how to create an alias to activate my Python virtual environments with a single-word command.
This reference article teaches you the things you'll need to write your thesis or report with LaTeX.
Learn keyboard shortcuts that will make you a more efficient and productive Python programmer with VS Code.
In this Pydon't you'll learn how to make the best use possible of the Python REPL.