Create a GIF from a video - Right from the Command Line!
Finding this little set of commands is one of the main reasons why I love the Command Line. Once I realized that almost everything that I was doing in a UI was possible on the CLI, the world opened up. One of the things I return to from time to time is when I can鈥檛 find a GIF I want to use in a message or email. Every time, I look up how to convert a video to a GIF and every time, I鈥檓 given a new solution....
How to Revisit your Terminal Session's History
I can鈥檛 believe I didn鈥檛 know about this command beforehand. When I first got into self-hosting and homelabbing, one of the app ideas I had that would help me with internal documentation is a terminal program that saves your input and output to a file for you to review later and extract the key commands you used. I also had the bonus idea that you could add comments as you were writing out commands....
Google Sheets to Slides with Scripts: an Automation
Overview Recently, my wife needed help in sharing weekly content with a group of people. The original way this group was sharing content was a PDF export of a Google Doc. From a User Experience perspective, it wasn鈥檛 great. Someone would received this long PDF, they would have to scroll to find the date or topic of the next additional_notes, and overall didn鈥檛 look great. While she had developed the Google Sheets and Google Slide system to make everything a bit more legible and navigable, there was still an element of copy and paste from the Sheet to the Slide....
QuickHits: OpenResty and Package Updates
Turns out I wrote this back in November, but on a different machine and I never pushed my changes up to git. So here it is now! The last two times I鈥檝e run apt update && apt upgrade -y on my web server and OpenResty has an update to push out, I will get some errors including Openresty is not setup correctly. There are a few other errors in the systemctl status openresty output such as process 223478 [nginx] is still running....
Neovim Subtitute Magic
This week, I鈥檝e had to make some changes to an automation we had setup for a customer in Workato. The original recipe was made by a co-worker with a bunch of javascript nodes. Even though I鈥檓 customer facing and generally not considered a technical employee, I knew the engineer who worked on this was swamped, so I decided to jump in. In order to greatly reduce the number of nodes needed in the single recipe, I created a list of dictionaries in python (with one of the values being another list!...
Mini Neovim
If I鈥檓 being honest, when I started this quick project to reduce my Neovim plugin footprint size, I thought I was going to be able to get rid of way more plugins! Inspired by this Reddit post that setup a Neovim config using only echasnovski鈥檚 mini library, I was reminded that some of my remote server environments were still using Packer as their plugin manager, where my main machine has upgraded to Lazy....
ESP8266 Medicine Indicator Light
This is a quick treat! We recently learned that one of our children needs to take medicine twice a day for the foreseeable future. He鈥檚 too young to take it on his own, so the twice-a-day responsibility is split up between my partner and I. However, sometimes our schedules don鈥檛 overlap so succinctly, so we needed some sort of indicator to let the other know if the previous dose was (or wasn鈥檛!...