CLI Sort git Config As I was updating some gitflow config today, I noticed that my .gitconfig is a little messy. Like many things, it's grown organically and I've just never thought about tidying it up. It doesn't have to be organized, but neat and tidy files always
rofi rofi: Matching and Sorting rofi is a neat little tool that does so many cool things. This post looks at configuring rofi's matching and sorting and continues investigating both dmenu and script modi applications.
rofi rofi: Change Window Location rofi is a neat little tool that does so many cool things. This post looks at changing rofi's window location, introduces rofi's dmenu capabilities, and investigates script modi.
rofi rofi: Scripting modi Discovery rofi is a neat little tool that does so many cool things. This post looks at automatically updating modi lists. It also covers some intro awk stuff, so feel free to skip around.
CLI Remove Consecutive Duplicate Lines With awk I needed a way remove consecutive duplicate lines while ignoring whitespace and nonconsecutive duplicates. The top awk search results don't work for this use case, so I built my own.
Vagrant Ubuntu Notes: Unlocking /var/lib/dpkg I ran into some issues this morning setting up a Xenial box via Vagrant. On boot, /var/lib/dpkg was totally locked with nothing I knew to link it to in ps aux. I've created a fairly novel solution; my purchase today was learn about something new.
NPM NPM Lifecycle Stages: A Study in Stream Editors NPM has created a solid set of discrete stages that describe every state a package might be in. Getting programmatic access to that set is more convoluted than it sounds.