Documenting my ideas and insights on tech.
How to resolve the Husky pre-commit hook error in GitHub Desktop.
These are the steps I followed to install the Google APIs Client Library for PHP using Composer.
How I install the PHP dependencies on the production server using Composer.
How to include and read variables from another Bash file in a Bash script.
Use Bash to get the last modified date of a file.
These are the steps I followed to install and update nvm, Node.js, and npm on Windows.
These are the steps I followed to install Git and Git Bash on Windows.
Learn how to calculate the number of days between two dates in PHP.
Learn how to convert a date to a different format (e.g. “dd/mm/yyyy” to “yyyy-mm-dd”) in PHP.
How to fix the “Call to undefined function mysql_connect()” error in WP-CLI.
How to resolve openssl and curl errors when installing a package in Composer.
How to pass multiple parameters, along with the event object, from an event listener to an event handler.
How to find out what each field in Cloudflare rules means and what kind of value it returns.
Refreshing WordPress permalinks is very simple to do and can solve various problems with custom post types like 404 errors.
Learn how to fix the issue where you can’t add more than one item to a list block after updating to WordPress 6.1.
How to restrict the execution of a PHP script to CLI (Command Line Interface) only (so it doesn’t run through the browser).
Learn how to execute a PHP file remotely (using SSH) via a Bash script.
Different ways to automatically scroll to a particular HTML element on a page.