Welcome to My Blog

IT related tech tips since 2006

Login

Blog History

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...

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...