Skip to main content
Ministry of Intrigue Ministry of Intrigue

TIL

2023

TIL: Show Hidden Files in MacOS Finder
·94 words·1 min
TIL macos hotkeys
This is one of those silly little things that I always feel like I’m the last to learn. Admittedly, when I’m working with hidden files, I’m usually on the command line or in a text editor that already shows them.

2022

TIL - Importing annotations from future for concise Python typing
·110 words·1 min
TIL python
Python 3.10 introduced several improvements for type hints, including a much more concise Union operator. This means that instead of using: def square(number: Union[int, float]) -> Union[int, float]: return number ** 2 You can instead write this:
TIL - Running make apidocs for Read the Docs
·196 words·1 min
TIL python
I was hacking on my quote service the other day, and notice that Read the Docs wasn’t building my module level documentation, which meant that anyone that wanted to look at said modules in more detail was getting a 404 error.