I've recently moved from using pre-commit for my git hooks to husky, and as part of this transition, I've migrated some of my quality-of-life hooks over to the new system. First and foremost: prevent committing to the main/master branch. It's very simple, but it can save a lot of headaches. You're able to prevent just this hook from running by setting the ALLOW_MAIN environment variable for those situations where you're feeling particularly angry with the world. Here's the …
About me
I am a software engineer and textmode artist. I worked as a web developer in higher education for almost 15 years, but I have recently moved into the private sector to build microservices and cloud-native solutions. I enjoy solving problems and sharing what I have learned with others.
Recent posts
Prevent committing to main branch with husky
Tags:Improved "tail" bookmarklet
Tags:A while back, I scratched my own itch for automated webpage scrolling (e.g. for AWS logs) by creating a bookmarklet that would slam the scrollbar to the bottom of the document every second. It was a ham-fisted approach, but it worked. I …
Bookmarklet to adjust media playback speed
Tags:If you're like me, you tend to listen to audio (e.g. podcasts) and watch videos faster than their default playback speed. However, sites like YouTube only provide you with a predetermined list of speeds to choose from, and you may find …
Latest stream
Designing forearm rotation tool in FreeCAD and printing the prototype
Used FreeCAD to design a prototype for a forearm rotation tool, then started printing it on the Bambu Lab P2S
Latest video
Writing a Discord sidebar toggle bookmarklet on the fly
Discord doesn't let you toggle the server channels list sidebar… but it's really just a webpage, and you can still (mostly) affect those with bookmarklets. So let's do that!
