Tag: bash
-
Get OctoPrint Status via Bash
in Dev StuffI’m working on a module to add OctoPrint status to my zsh prompt, which I’ll probably write about in the future as a bigger post about my prompt customizations. To start with that though, I need to play around with accessing the API via curl. So here’s my super alpha version that will request the…
-
Capturing MacOS Settings Changes
in MacOSLet me get this right out. I upgraded to MacOS 15 beta and it totally borked my machine. I had to do a full, fresh reinstall. Totally my fault, and I should have prepared better. So now, I’m trying to remember to capture my personal settings so I can use a shell script to restore…
-
PHPCS Anywhere!
in Dev StuffSomething that I do often is run PHPCS on code I’m working on, almost always inside a git repository. Even more likely is that PHPCS was installed via composer, which means it will live in $GIT_ROOT/vendor/bin. So I always end up doing something like ../../../vendor/bin/phpcs file.php which is hugely annoying. Which is why I made…
-
Setting up Pibooth in 2024
Let’s go on an Open Source adventure to build a photo booth!
-
Garbage Sysadmin: Easily Make CIFS Mounts
in Dev StuffAutomating your CIFS mounts: the perfect mix of efficiency and potential chaos.
-
-
Bash Script: Calculate before/after 2: Calculate Harder
in Dev StuffI’ve updated my script to test URL performance during changes, measuring the Time to First Byte (TTFB). The script now records initial and subsequent TTFB to determine update impact, displaying percentage change—a helpful tool for reporting.
-
Matrix Reimagined: Crafting Digital Rain with Bash and ChatGPT
in Dev StuffExploring the creation of a Matrix Digital Rain effect in the terminal using ChatGPT-4, this post delves into coding a unique bash-based version, complete with Japanese Katakana and extended ASCII characters.
-
Quick Tip: Add Screen Name to Bash Prompt
in Dev StuffDiscover how to effortlessly enhance your shell prompt with screen session names, a simple yet powerful tweak for SSH sessions.