Toggen Blog
Tech tips
Articles
Latest
NextJS
I came across NextJS when looking at the excellent DevTips YouTube channel video regarding Going from Sketch to React.js #2 Building an Online Business NextJS solves some of the problems that I found hampered me in using React: Server Side Rendering out of the box...
Amazon Billing Estimation and it’s link to Myocardial Infarctions
Take a look at this graphic and see if you can see when I first looked at it why I might have felt a tightness in my chest and shortness of breath. I think the cause of this Forecast being so high in comparison to the preceding months spend is that I have purchased a...
MYSQL – Performing an UPDATE on a table you are SELECTing from
I needed to change a record in a customer table to be inactive if they hadn't received a delivery in the last 3 months. I got stuck with "Error Code: 1093. You can't specify target table 'customers' for update in FROM clause" UPDATE customers c1...
CakePHP 3.x Google No Translate Meta Tags
Just had a page think it was french despite having So to get CakePHP to make the recommended meta tags as listed here => https://stackoverflow.com/a/3130857/9230077 <?=...
Example Curl POST request for XML document from CakePHP
This is an example of using the curl command to request a CakePHP URL and post form data to it. It uses xmllint to format the output and highlight (under MacOS) to colorize the output #!/bin/sh # save as curlIt.sh curl -s \ -d...
Brew Wine on MacOS Ugly Fonts
Wine 3.0.1 MacOS 10.13.5 If you have recently done a brew install wine and found that suddenly your fonts are ugly. A work-a-round is: to remove the current version of XQuartz (2.7.11) and downgrade to XQuartz-2.7.9.dmg install the wine stable version...
