Welcome to My Blog
IT related tech tips since 2006Getting 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