today's howtos
-
Day 35: forgiving selectors
There's a difference between listing selectors in :where(), :is(), and :has() and listing them in a regular selector list.
-
Day 34: :is() or :where()
Sometimes we need selectors with higher specificity to improve readability and comprehensibility, or to limit the elements styles will be applied to.
-
What are Containers?
Partitioning resources with Linux namespaces – partitions resources so that a set of processes only sees a certain set of resources. Namespaces take global resources like – process ids (pids), mount points (mnt), network stack (net), and abstract them so that each process has its own view of them. There are currently 8 different namespaces (mnt, pid, net, ipc, UTS, user, cgroup, and time).
-
Issuing and using SSH Certificates
SSH certificates allow system administrators to SSH into machines without having to manage authorized keys in the servers.
In summary, you create a key pair to be used as a Certificate Authority (CA), and add the public key of that key pair to the server: [...]
-
Linux swap files don't seem to update their modification time when you swap
Not updating the swap file's modification time is a sensible decision that reduces both IO and complexity. Updating file inode times is a known source of unnecessary IO (updating the access time is frequently disabled or significantly limited), and it would add extra work to the 'swap pages out' path to mark the relevant inode for update as well (it might also require taking internal kernel locks to modify the inode's in-memory data). This is clearly a special kernel path, since even using mmap() updates the file modification time (although I believe not necessarily to a completely predictable time).
-
Better sharing of WordPress posts to Mastodon
WordPress's Jetpack plugin allows you to easily syndicate your blog to Twitter, LinkedIn, Tumblr, Email, and a few other services. But there's no native way to publish directly to your Mastodon feed.
This is a guide to how I got my blog to publish every new post to Mastodon with a nicely formatted preview. This uses Jan's "Share on Mastodon" plugin which you'll need to install and configure.
Once you've followed these instructions, you'll get a share which has a headline, excerpt, link, hashtags, and images. Ready? Let's go!
-
Self-Publishing on Leanpub
I wanted to share some brief notes on my experience self-publishing on Leanpub. This isn’t an authoritative assessment of publishing options, but that’s actually kind of the point: I love Leanpub because it made it easy for me to self-publish without having to become an expert.
-
Red means Kaputt: when DNSSEC turns into a treasure hunt
It occurred to me to use Perl Net::DNS to see if I could obtain more details. I asked for a bit of help, and Oli Schacher came to the rescue. First I verify that the current zone is OK so I use the current NS RRset and its RRSIG: [...]
-
Install Google Chrome for Fedora 37/36/35 Linux - Linux Shout
Fedora is a Linux distribution and upstream project for highly stable Redhat Enterprise Linux. It is meant to offer particularly up-to-date programs and multiple desktop environments. In this tutorial, we learn the command to install Google chrome on any currently available version of Fedora.
Well, this Linux only comes with free software. However, we can add third-party repo or enable Fedora’s supplement repository to install propriety applications such as Google Chrome.
-
How To Install WoeUSB on Linux Mint 21 - idroot
In this tutorial, we will show you how to install WoeUSB on Linux Mint 21. For those of you who didn’t know, WoeUSB is a simple Linux program that enables you to create a bootable Windows USB drive from a Windows ISO file. To use WoeUSB, you’ll need a Windows ISO file and a USB drive with at least 4GB of storage. If you need to install Windows from a bootable USB stick, WoeUSB is the ideal tool for the job.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of WoeUSB on Linux Mint 21 (Vanessa).
-
How to Configure FirewallD in RHEL, Rocky - AlmaLinux [Ed: Updated page]
Net-filter as we all know it’s a firewall in Linux. Firewalld is a dynamic daemon to manage firewalls with support for network zones. In the earlier version, RHEL & CentOS we have been using iptables as a daemon for packet filtering framework.
In newer versions of RHEL-based distributions such as Fedora, Rocky Linux, CentOS Stream, AlmaLinux, and openSUSE – the iptables interface is being replaced by firewalld.