For patch reviews I often need to fetch a newer version of a patch I’ve fetched before. This was a bit tedious, so I made myself a shell function that makes this super simple.
For my microcontroller projects I often want to convert some linear value (like a potentiometer position) into a light intensity. Since our eyes aren’t linear, this requires some math. In this post I present a Python script that does the math for me.