I knew the linked-in-the-article https://lindeloev.github.io/tests-as-linear/ which is also great. A bit meta on the widespread use of linear models: "Transcending General Linear Reality" by Andrew Abbott, DOI:10.2307/202114
It really makes me frustrated about the ways I was introduced to statistics: brute force memorization of seeming arbitrary formulas.
I'm linking to my fork of it because I've added some fixes and filled in some of the missing parts (e.g. Welch's t-test).