A Quick Guide to CUPS and lpr

For many Linux users, the printer remains a mysterious box that only communicates through cryptic GUI menus. But if you're a power user or a terminal enthusiast, you know that the command line offers far more precision. By leveraging CUPS (Common Unix Printing System), you can manage your print jobs with simple, scriptable commands. Here is everything you need to know about configuring and using your printer from the terminal. 1. Finding Your Hardware Before you can print, you need to know what your system calls your printer. CUPS doesn't always use the friendly name on the sticker. ...

Updating containers

Software needs to be updated in a regular basis. Containers are no different in this regard. Depending on how you are managing containers this can be tedious or simple. docker-compose If you are using docker compose this quite easy. ...

PDF Command line examples

These is just a bunch of Linux commands to manipulate PDF files: Check PDF image details: pdfimages -list your_file.pdf Check PDF metadata: pdfinfo file.pdf ...

javascript snippets

Compute how an element is hidden Iterate over LI elements Adding/removing classes to/from elements Get current date as YYYY-MM-DD escape HTML characters ...

Certificate Authorities

For home users there is not much use for running you own Certificate Authority (CA), and with availability of Letsencrypt and the plethora of ACME libraries setting TLS encryption is quite straight forward. ...

Copper anniversary

Today, this blog reaches the 12.5 year mark (In the Netherlands, copper annyversary). Actually 0ink.net has been running for much longer than that, but as a blog format, it is from 2013-05-15 when it was migrated to Wordpress. You can find the firs post here. ...