I think the default Ubuntu GLabels package doesn't contain one of the barcode libraries I use to create labels so this is the script I use to compile glabels #!/bin/sh sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list apt-get install cmake apt-get -y build-dep...
James McDonald
QNAP 4.3 QVPN Service on Android
I'm using the OpenVPN Connect client on Android and using the QNAP created VPN file with a few small changes: # added so the OpenVPN Connect client doesn't # complain about missing client cert client-cert-not-required # I uncheck the Use remote network as default...
How to get crowd consensus with Virus Scanning
Evaluating Software from the Internet Recently I've been evaluating software for personal and client use Today Operating Systems tend to have a severe level of distrust toward software downloaded from random locations and you have to explicitly bypass restrictions to...
The REST API encountered an error
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages. The REST API request failed due to an error.Error: cURL error 28: Operation...
Moved from Telstra to TPG
So I've just moved from Telstra to TPG The same bandwidth and data for 69.99 down from $90 for the Telstra service. $20 a month difference The service is an NBN50. The bandwidth for both seems to be similar with the typical up and downs observed due to the contended...
OpenVPN Windows Connect Client and Sample .opvn files
If you are using OpenVPN and need a windows client then there is a nice client at https://openvpn.net/client-connect-vpn-for-windows/ However it is difficult to use the normal sample client.conf provided with OpenVPN and it's better to have a client.ovpn file with the...
Flat file copy options for Windows
GUI Options https://fastcopy.jp/en/ - Fast Copy This one seems to have a nice option to elevate to admin and a lot of options as to how to resolve what to copy or mirror. Command Line...
Another option for UPS Vendor
For years I have been using APC or Dell branded UPS's but recently someone installed a different brand on a site I do some work for. So just thought I would post a link on my blog so I can come back to it when quoting UPS options https://www.eaton.com/au/en-gb.html...
Switching PHP version on MacOS with brew
Writing a web application and using the some new bells and whistles in PHP such as $var = $var ?? $othervar; only supported in 7.4 php -v # php7.3 brew unlink [email protected] brew install [email protected]
Getting multiple duplicate Modelless Forms on the same page working with CakePHP 4
I have the need of creating a page with multiple forms on it that have 'copies' and 'printer_id' fields on them. Each form has, or might need separate validation values. My first attempts ended up with the other form with the same field names getting the values from...
How to enable ZipArchive on PHP 7.4
Ubuntu / Debian Find the extension version you want to install # install apt-get install php7.4-zip # enable it phpenmod -v 7.4 zip # check it is enabled php7.4 -i | grep -i zip # restart any services such as php7.4-fpm.service to pick up the change systemctl restart...
You can do PDF Editing with LibreOffice
Just had to edit a PDF and found Libreoffice was able to do it. Remember this Yimmy!
Unable to upload Management Certificate to Azure Portal
https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-certs-create https://docs.microsoft.com/en-us/azure/azure-api-management-certs Attempting to upload a self-signed management certificate to the Azure Portal via the Subscriptions => Management...
What is the last supported version of Firefox for Windows XP
Firefox Extended Support Release (ESR) version 52.9.0 https://archive.mozilla.org/pub/firefox/releases/52.9.0esr/win32/en-US/ This version is apparently insecure but the default Internet Explorer doesn't seem to want to connect to modern https endpoints so this...
Automate Chrome with Puppeteer
https://github.com/puppeteer/puppeteer Every now and again I need to connect to a website and then scrape something so I don't have to do a couple of hundred repetitive actions Enter Puppeteer You can basically get Chrome to do whatever you want using puppeteer and...
glabels-3-batch to /dev/stdout to LPR Printer
Unfortunately the following doesn't work because the informational output gets mixed with the PDF output. As you can see here Object w = etc I have been doing a two step glabels-3-batch to LPR process but have made it so I don't have to write an intermediate file to...
CUPS-PDF Printing Images not searchable PDF
I have a cups-pdf printer that takes the output from glabels-3-batch # Using glabels-3-batch results in a PDF you can select and copy the text from cat merge.csv | glabels-3-batch -i - -o out.pdf 100x50sample.glabels The PDF file which glabels-3-batch creates can be...
How to detach or disconnect a screen session on Linux
Crtl-a Ctrl-d