Copy and paste the following into a .reg file and change the path to match your system Double click on the .reg file to insert it into the registry Windows Registry Editor Version 5.00 ;"C:\\Users\\JamesMcDonald\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"...
IT Tips
More Cost effective Cloud Alternative to Amazon & Azure
The only issue is it's in Europe and so the round trip times from there to here (in Australia) would be ~330ms https://www.hetzner.com/cloud https://youtu.be/5eo8nz_niiM
SCAM Targeting Parents of Adult Children
The other day my mother who has just turned 80 received a WhatsApp message from someone pretending to be one of her children. Mum lives with my Sister so she assumed this was me. What to look out for The Spiel: "I" had dropped my phone in the toilet, and that was why...
Remove the default OneDrive folder in explorer
Go from thisTo This Create a registry file (.reg) with the following and double click it Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}] "System.IsPinnedToNameSpaceTree"=dword:00000000 Or merge the above using reg...
VMware® Workstation 16 Pro 16.2.4 on a Ubuntu 22.04 Host
I am running VMWare Workstation 16.2.4 Pro on Ubuntu 22.04 Host Video Card: VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)Host CPU: AMD Ryzen 9 3900X 12-Core ProcessorVM's are hosted on a 1TB NVMe disk lspci -k | grep -EA3...
Working around Java applets no longer available in Browsers & CAB.de Printers
Since modern browsers stopped allowing Java applets if you try and connect to a CAB.de printer with a browser all you will see is But how do you get the same functionality provided by the old browser embedded Java applet? Goto CAB.de goto Support & Downloads =>...
Copy ISO to USB for Installing Windows
https://rufus.ie/en/ Warning: I tried to burn an ISO to a USB with dd on Linux and it simply wouldn't install on my computer telling me it was missing media drivers. The above program on Windows 10 Pro burnt the ISO to the USB key correctly and I was able to start the...
Remotely Start and Connect to VMWare Workstation VMs
This is on a Ubuntu Linux Host Running 22.04 and VMWare Workstation Pro 16.2.4 Prior to starting the VM guest remotely enable VNC make each vm listen on a different port (i.e. 5900, 5901 etc) VPN or get access to the remote VMWare Host and SSH to it and then run cli...
Windows 10/11 Software Packages for Workstation Build
PackagePurpose7z2201-x64.exe7 Zip file archiver and unpackerAuthy Desktop Setup 2.2.1.exeMulti-device authenticator appChromeSetup.exeGoogle Chrome - Developer toolsFileZilla_3.61.0_win64-setup.exeSFTP Clientmysql-workbench-community-8.0.30-winx64.msiMySQL Database...
Perform a MySQL to Postgres Migration with PGLoader docker container and command-file
Datetimes in mysql are stored as below with a Timezone. These dates as diplayed are stored in Australia/Sydney timezone # bb_date production_date id 2024-03-16 2022-09-15 14:26:36 248078 2024-03-16 2022-09-15 14:29:51 248079 2024-03-16 2022-09-15 14:34:30 248080 When...
WordPress site logo repeated on Safari Browser on IPhone and MacOS
If you see your site logo repeated as in the example screen shots below it could be a stale W3-Total-Cache assets cache after an update From the Wordpress Admin Portal Or using wp-cli wp --path=$WP_DIR plugin is-installed w3-total-cache if [ "$?" = "0" ]; then echo...
CakePHP4 Tutorial Videos
So I have been using CakePHP since 2015 and have now started to try and solidify my learning by making Youtube Videos. Similar to Blogging once I create a Video I can refer back to it later. Videos Using Dependency Injection to move Controller Action code to Service...
Animate.css and react-transition-group
Updated animate.css using latest React and react-transition-group
CakePHP 4.4 – PaginatorComponent is Deprecated
I got this deprecation warning after upgrading to CakePHP 4.4 "PaginatorComponent is deprecated, use a Cake\Datasource\Pagination\NumericPaginator instance directly" I thought that meant I had to run the CakePHP 4 upgrade tool and it would fix it but no. Simple Fix...
Electron & React
So I have been using timer apps from the App Store on my Mac to time parts that I run on Zoom. I was using Tempus but the form factor meant that I was clicking start and then having to relocate the window and hiding the control buttons. I also found that sometimes I...
Launching Google Chrome as an app on Windows & MacOS
Making a timer with javascript and want run it with no menus in chrome and a specific canvas / viewport size. But was always opening large. The secret to it not being the same size as an already running window is making --user-data-dir a new random location Windows...
CakePHP 4 multi-value search form
Sometimes you want to provide a multi-value search form This form POST's to http://10.197.3.73:6002/wms/pallets/lookupSearch Thenthe lookupSearch action filters the POST data and redirects to the lookup action with the search terms in the query string The lookup...
SFTP on Linux with chroot
I am currently working on integrating a client internal system with MessageXchange via an SFTP gateway for EDI with Coles, Woolworth and Metcash (when MessageXchange / Colladium - completes their accreditation) So for testing I wanted to emulate their SFTP endpoint....