Just toasted my Windows 10 Pro install with a Windows 11 upgrade. Think it will be unrecoverable (because of Bitlocker and no recovery keys in AAD) but going to try and recover with Veeam and need to copy the recovery ISO to USB to kick off the restore. This is a nice...
James McDonald
CakePHP 4 development environment with docker compose orchestrated containers
A screencast I did of CakePHP 4 development environment with docker-compose containers. #cakephp https://youtu.be/uoOb6u3_NU8
Cakephp 4 – Display the loaded plugin list in the ui
Handy snippet to include your loaded plugin list in a view // templates/Pages/help.php <tr> <th>Loaded Plugins</th> <td> <?= Text::toList(Plugin::loaded()) ?></td> </tr> Walah!
Cakephp 4 with cakedc/auth and rbac
I have been trying to do a Youtube video coding a CakePHP 4 with Authentication / Authorization using RequestAuthorizationMiddleware tied into CakeDC/auth RBAC After multiple tries I'm just posting it as is. I learnt I'm not currently a video editor....
WordPress database transfer BETWEEN LIVE AND DEVELOPMENT SITES without a plugin
Transfer a Wordpress site between Live and Development environments or domains using the command line Take a database backup mysqldump --databases wpdb -uroot -p > wp.sql From LIVE to Development Environment sed -ibak 's+https://toggen.com.au+http://localhost:8080+g'...
Google Chrome – Screen flashing black or all black
I recently upgraded to Windows 11 and installed latest Nvidia Game ready driver and am now noticing Google Chrome displays a black screen or switches between that and normal. Can't use Chrome https://youtu.be/OmPFBEDICbY How to work-a-round Google Chrome screen...
Add Xdebug to a Chocolatey Installed PHP
This is my version of PHP. installed with choco install php. Notice no Xdebug php -v PHP 8.1.6 (cli) (built: May 11 2022 08:56:01) (NTS Visual C++ 2019 x64) Copyright (c) The PHP Group Zend Engine v4.1.6, Copyright (c) Zend Technologies Goto downloads for xdebug here...
Why does my dd output look different in CakePHP 4
If you have ever wondered why sometimes your cake dd() output looks like this: And then other times looks like this: The reason is that the CakePHP/Repl plugin uses symfony/var-dumper and this package has a version of dd() that loads its own version of dd() so the...
CakePHP 4 policy missing from cake bake command
If you try the bin/cake bake policy command and get "Could not find a task named policy." bin/cake bake policy Could not find a task named `policy`. Make sure CakePHP Authorization is installed and then add the following to src/Application.php public function...
Windows 11 – We have finally reached the Year of Linux on the Desktop
Just upgraded to Windows 11 and my WSL (Windows Subsystem for Linux) instance is visible in Windows Explorer _and_ it has the Penguin logo...
