Author: Derrick
-
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!
-
Silly Ideas: Cache WordPress Excerpts
in WordPressLet’s explore dumb ideas around caching parts of WordPress we shouldn’t.
-
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.
-
Code Sweep: A Simple Approach to a Neater WordPress User List
in WordPressLearn how to efficiently manage WordPress users by using a PHP snippet to add a ‘Comments’ count column, helping you easily identify and remove spam accounts.