Go
Battery Power-Ups: Enhancing SketchyBar with "is"
·1042 words·5 mins
is
battery
bash
dotfiles
cli
Go
macos
sketchybar
The new “is battery” and “is known battery” subcommands can detect battery attributes with a clean, readable syntax. This post walks through practical examples of replacing complex shell commands with these new subcommands, demonstrating how they simplify a SketchyBar configuration on macOS. Learn how to check battery charge levels, charging state, and even conditionally load menu bar items based on whether your device has a battery.
Debounce All of the Things
·2073 words·10 mins
Go
bash
dotfiles
I wanted a tool for debouncing shell commands, to ensure that tasks like installing nightly builds or running scripts only execute once within a set time period. This is the story of how I finally ended up with a solution that I’m happy with.
is: an inspector for your environment
·1273 words·6 mins
Go
bash
dotfiles
is
I love writing bash scripts, but there are some aspects of it which I find to be a bit tedious. I’ve written “is” to try to make shell programming a little more enjoyable. Let’s look at how to get started with it.
Find Expiring TLS/SSL Certs
·2536 words·12 mins
prettygoodping
TLS
SSL
Go
curl
perl
Let's Encrypt
Just like domain name registrations, TLS/SSL certificates need to be renewed regularly. Let’s look at ways to monitor TLS/SSL expiry, from using a hosted service like https://prettygoodping to doing it ourselves in curl, Go and Perl.
perlimports
·111 words·1 min
Go
perl
Programming
My βGo for Perl Hackersβ Cheatsheet
·86 words·1 min
Go
perl
Programming