Switch from mod_php to FPM: sudo apt install php7.4-fpm sudo a2enmod proxy_fcgi sudo a2enconf php7.4-fpm sudo a2dismod php7.4 sudo a2dismod mpm_prefork sudo a2enmod mpm_event sudo systemctl restart apache2 Enable mod_http2: sudo a2enmod http2 sudo systemctl restart apache2 Add this to /etc/apache2/apache2.conf to enable HTTP/2: Protocols h2 http/1.1 Verify at https://http2.pro/
Modify Headers of Specific Post
Swift – Convert json to plist
plutil -convert xml1 in.json -o out.plist xml1 – x-ray mike lima 1 From SO
Fix Redirect Loop After Genesis Upgrade
Add remove_action( ‘genesis_upgrade’, ‘genesis_upgrade_redirect’ ); to functions.php, reload admin without ?page=genesis-upgraded in URL, clear cache, re-save Genesis settings, remove added code.
Nudging Myself Toward Better Git Commit Messages
In an effort to improve my Git commit messages I’ve decided to employ a commit message template. This starts with a file in my Home directory vi ~/.git-commit-msg-template Three simple lines beginning with # so if I ignore them, so does Git. # What this commit does # Why this commit is being made # […]

Setting Up Unit Tests with WP-CLI and VVV
Tried to set up unit tests tonight as I’ve done myriad times before. This time I was getting nowhere. The database was being created but that was it. As usual, I was running install-wp-tests.sh from the command line after ssh-ing into the Vagrant box. [email protected]:/srv/www/plugins/htdocs/wp-content/plugins/aviation-weather-from-noaa$ bash bin/install-wp-tests.sh wordpress_test root ‘root’ localhost latest + install_wp + ‘[‘ […]