Technical Posts
A collection of mostly IT centric posts from the last ~20 years
Articles
Latest
Improving reliability of RSYNC copy between LINUX and SYNOLOGY – Note to Self
There are two options for transfer presented by the Synology KB article https://kb.synology.com/en-global/DSM/tutorial/How_to_back_up_Linux_computer_to_Synology_NAS Of the two the first seems to be more glitchy and the -e ssh one I found tends to complete more...
Side by side php8.3-FPM
CakePHP 5 uses zend.assertions = 1 for development so if you have production and test environments on your server you need separate instance of php-fpm so you can run one with zend.assertions = 1 for development and the other zend.assertions = -1 for production The...
Delete all files older than x days linux
This command deletes all files modified more than 30 days ago in the current directory # have a look at what it will delete find ./ -type f -mtime +30 | more # then get an idea of how many files it will delete find ./ -type f -mtime +30 | wc # after you are happy run...
Macbook Pro Mouse Pointer Moves but click stops working
I keep having an issue that my mouse track pad stops working. I can move the mouse pointer but I can't click. Possible solution: Open your laptop bag, find your Apple mouse and turn it off.
Generate custom fixture names in Cakephp 5
bin/cake bake fixture --conditions "id IN (10,81)" -r -n 10000 --table trading_partners CustomTradingPartners Use the above to export selected records to a fixture Important: The fixture name (The CustomTradingPartners parameter in the above example) is limited to 28...
CakePHP 5 persoderlind.vscode-phpcbf
Still haven't gotten this working well... sigh. The persoderlind.vscode-phpcbf extension didn't work for me when running my PHP devel container (php:8.2-fpm) on Windows 11 in Docker Desktop using the WSL2 Engine until I let it know about the CakePHP coding standard #...