To stop the activity log growing forever. Set a retention period. The following triggers WP Activity Log to prune log entries older than 2 months # the following is a more complex command that executes as a particular user sudo -u youruser /usr/local/bin/wp...
James McDonald
How to tell if your OneDrive, Dropbox or Other Cloud Providers files are the same on multiple computers – i.e. Have they synced even though the GUI says “your files are synced”
This morning I opened a OneDrive file on my Windows Workstation and found the entries I did on MacOS weren't there. OneDrive reported "your files are synced" So here is how you confirm that the files are different or exactly the same # on a OneDrive file on my mac cd...
Error when trying to flush the OPcache using wp-cli
Error: Unable to query OPcache status: array_key_exists(): Argument #2 ($array) must be of type array, false given. Resolution: Make sure opcache.enable_cli=1 is enabled in the cli php.ini at /etc/php/8.3/cli/php.ini (on Debian) To find the php.ini and PHP version #...
Installing Chromium Browser on Ubuntu 26.04 LTS ARM64
I have VMWare Fusion on my M1 Macbook Pro running an ARM64 Ubuntu 26.04 LTS VM In the VM spatie/browsershot is running to create PDF's in a web app so I need a working instance of Chromium Browser which the PHP-FPM service running as the www-data user can run to...
Notes on compiling Glabels with Libzint on Ubuntu 26.04 LTS
Problem: The default version of Glabels 3 in Ubuntu 26.04 doesn't include support for the Zint (https://zint.org.uk/) library. I use zint for it's GS1-128 encoding (see example label output below) Working Zint Version is 2.6.3 Tried it with the latest version of...
Vietnam 2026 – Ans eco resort Ninh Binh
Rustic
Cron error
If you get an error message like this when you run cron -l cron -l cron: can't open or create /var/run/crond.pid: Permission denied It's probably because you meant to run crontab -l crontab -l # Edit this file to introduce tasks to be run by cron. # # Each task...
Good Second Hand Phones
https://reebelo.com.au
Convert Cisco MAC to colon-separated or dash-separated MACs using Excel
Just about everything can be asked and answered by AI these days but this was useful If the original MAC is in Cisco format (xxxx.xxxx.xxxx) e.g. a1b2.c3d4.e5f6 in cell A1 =TEXTJOIN(":",TRUE, MID(SUBSTITUTE(A1,".",""), {1,3,5,7,9,11}, 2))...
Backups from Veeam Agent for Windows to Synology Failing
Trying to get more reliable Veeam Agent for Windows backups to Synology SMB shares which are failing... with errors The network path is: Optiplex XE 4 Workstation <=> NETGEAR A6150 WiFi USB 2.0 Adapter <=> Unifi WAP <=> Unifi Switch...
