Tux Machines

today's howtos

Posted by Roy Schestowitz on Mar 30, 2023

=> Security: Misconfigurations, European Commission, and X.Org Server Flaw | Android Leftovers

How to Install and Configure GlusterFS on AlmaLinux

=> ↺ How to Install and Configure GlusterFS on AlmaLinux

GlusterFS is a distributed file system that provides scalable and highly available network storage solutions. It aggregates disk storage resources from multiple servers into a single global namespace. GlusterFS allows you to easily create a virtual pool of storage that you can use for various applications.

Linux Terminal Basics #7: Copy Files and Directories in Linux

=> ↺ Linux Terminal Basics #7: Copy Files and Directories in Linux

Learn how to copy files and directories in Linux using the command line in this part of the Terminal Basics series.

How to Move Your Home Folder to Another Partition in Linux

=> ↺ How to Move Your Home Folder to Another Partition in Linux

If you have accepted the default option of using the entire disk while installing Ubuntu, or if your computer came with Ubuntu preinstalled, you are likely to have a Home folder in the same partition as all of your system files. Under any normal circumstances, this would be fine.

Remote Dbus Notifications over SSH

=> ↺ Remote Dbus Notifications over SSH

notify-send uses the Desktop Notification spec that relies on DBus to propagate a request to show a notification. This is a widely supported standard in the Linux ecosystem powering all notifications, regardless of which desktop environment you use.
However my simple approach doesn’t work as soon as I’m logged into a remote machine. At my current job, I’m nearly always logged into a remote machine.
Fortunately, because of how DBus is implemented, it turns out to be trivial to have a remote notify-send execution show a local desktop notification! Here is how.

Learning from community solutions on Exercism

=> ↺ Learning from community solutions on Exercism

There's a relatively new jq track on Exercism, and I've been working through some of the exercises. There are at least a couple of features that appeal to me; one is the ability to easily write and submit solutions from the command line (see Working Locally) and the other is the community solutions that are available to you after you submit your own first solution.
As well as the direct benefit of practice, I've learned and been reminded of aspects of jq while looking through the community solutions. So I thought I'd write some of them up here, because writing will also help me remember.
I'll start with some simple observations.

The case of the very wrong email Content-Transfer-Encoding

=> ↺ The case of the very wrong email Content-Transfer-Encoding

The MIME Content-Transfer-Encoding header is supposed to tell you the encoding of the MIME part in question, including the implicit top level part of the email. Typical values are things like '7bit', '8bit', 'quoted-printable', or 'base64'. Needless to say, this email's C-T-E is complete garbage, and a picky email client would say that it couldn't decode the message because it doesn't understand the 'amazonses.com' encoding.

Pretty graphics for the Web of Trust

=> ↺ Pretty graphics for the Web of Trust

Many software projects sign their prebuilt software or source code. These signatures can be verified to establish the authenticity of the work. This can happen in the form of detached signatures for files or signatures on version control objects, such as signed git commits and tags and establishes a verifiable link between a certificate and a public artifact. To rely on the signatures, we need to also authenticate the certificates that made them. A WoT makes it easier to verify these certificates.
A notable similar application (and inspiration) to what is described in this article is wotmate which provides visual graphs for the Linux Kernel’s pgpkeys project.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/03/30/today_s_howtos.2.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
138.94396 milliseconds
Gemini-to-HTML Time
0.905909 milliseconds

This content has been proxied by September (ba2dc).