How To Clear PHP-FPM Logs Daily On macOS (M1 Chipset)
To clear your php-fpm logs daily set up a CRON job to run the following script.
Change File & Folder Permissions In Bulk on macOS
To change file and folder permissions on macOS in bulk use the find command. In terms of the ideal permissions, the following […]
Convert MP4 to WebM Lossless on macOS
To convert MP4 to WebM video on macOS, install FFmpeg using Homebrew. Step 1: Install Homebrew. Step 2: Install FFmpeg. Step 3: […]
How To Get Your WordPress Plugin’s Admin Page URL
To get your plugin’s registered WordPress admin page URL with the page’s menu slug use the function menu_page_url(). However, this built-in WordPress […]
Install Nginx & Multiple PHP Versions on macOS 12 Monterey
Create a very robust, clean, and fast local multi-version PHP (7.4, 8.0, 8.1) development environment on macOS Monterey with Intel or Apple M1 chipsets.
Log PHP Data In WordPress To Your Browser’s Console
Debugging PHP can be a pain in WordPress. Add this handy code snippet to your theme’s functions.php file. The function will log PHP data to your browser’s console.
Don’t Trust The Numbers!
As developers, we can’t trust raw data about people. Yet for some reason, when we see stats and figures from studies about people we tend toward blind faith in them.
How To Create The Perfect Type Scale in SCSS
Get your type scale spot on with this bit of SCSS. You can use the Type Scale website to determine the typographic scale that fits your design.