Installing MariaDB on Ubuntu 20.4

I’m setting up a new Database Cluster for work, we’re setting up servers, each on a seperate physical host and we’re going to configure MariaDB 10.6 (current release) on them, with master/slave/slave replication behind MariaDB’s MaxScale load balancing and health monitoring. This will allow automatic switching of the master it fails. Server Setup MariaDB Installation… Continue reading Installing MariaDB on Ubuntu 20.4

Published
Categorized as Code

Flushing your DNS on Big Sur

It’s always DNS! – every time When ever something on the internet doesn’t work, it’s always DNS. DNS is a vital part of everything we do, but it also should be the first thing to check when something “just doesn’t work”. Just ask the Auzre guys and girls from their recent world-wide issue. On OSX… Continue reading Flushing your DNS on Big Sur

Published
Categorized as Apple, OSX

Disable Apple Messages from “Smart Quoting” your code in messages

Do you use Apple’s Messages to send code snippets to text to other developers, or to yourself, BUT messages converts your ” and ‘ to smart quotes and when you then copy that code and … it doesn’t work? That’s annoying! The Fix: Open Terminal or iTerm on your Mac and paste in the following… Continue reading Disable Apple Messages from “Smart Quoting” your code in messages

Published
Categorized as Apple, OSX

Calculating memory used by PHP to generate that page

Do you know how much memory those loops are using ?Why is this page taking so long to load ?Well with this simple PHP code you can daily benchmark different versions of your script to use the least possible amount of Memory.

Published
Categorized as Code, PHP