This repo contains TILs from the team at the University of Bristol's Research Engineering Group.
Tip
TIL stands for "today I learned". We constantly learn new things that would be useful for others (including our future self!) to see.
We welcome contributions from the community.
TILs are public domain (CC0) unless otherwise noted. Any referenced content may have its own license.
This repo uses a Python script, triggered by GitHub Actions, to automatically generate the table of contents and index of TILs in this README. This system was inspired by the TILs of Lacey Henschel and Simon Willison.
- How to contribute a TIL - 2024-08-11
- How to commit and push without GitHub Actions from running - 2024-08-11
- How to preview the
README.md
locally - 2024-08-11 - How to push/pull without conflicts - 2024-08-11
- Commonly used commands in Git - 2024-08-12
- Adding alerts and notes to GitHub markdown - 2024-08-11
- Comparing sequences is automatically element-by-element - 2024-08-12
- Doing nothing with
pass
andEllipsis
- 2024-08-12 - Exceptions aren't always errors - 2024-08-12
- Function arguments that can only be used a keywords, not positional arguments - 2024-08-19
- Progress bars for long-running loops or tasks - 2024-08-19
- Python decorators (the @things before functions) - 2024-08-11
- Rich console output, pretty printing and formatting - 2024-08-19
- Small Integer Caching - 2024-08-28
- Type hints are useful but not strictly enforced - 2024-08-12