Category: Dev Stuff
-
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…
-
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.
-
Bash Script: Calculate before/after averages
in Dev StuffOptimize your performance testing with a little bash script that computes average percent changes quickly.
-
Macbook Battery Stats in Your ZSH Terminal Prompt
Discover how to transform your ZSH terminal prompt into a dynamic battery monitor for your MacBook, offering real-time status updates with every command.
-
Sending Prowl Alerts via Bash
in Dev StuffLearn how to send alerts using Prowl for server scripting, ensuring proper alert notifications, even after struggling with other options like Twilio.
-
Supercharge Your Clipboard with a Shell Function for iTerm2
in Dev StuffDiscover a nifty shell function tailored for iTerm2 on macOS, bridging the gap between your terminal and clipboard, making it seamless to copy content directly to your clipboard, even from remote servers.