today's howtos
-
(Maybe) copying email anti-spam measures from Google and company
You can have a number of reactions to this. One of them is to be grumpy that Google is rejecting email that's otherwise (probably) perfectly valid and perhaps not even spam. Well, let's be honest here; all competent modern mail system operators reject email at SMTP time for all sorts of peculiar reasons, so I can hardly pick on GMail for not liking messages without message IDs when we will reject your messages if they an attachment type we don't like or ClamAV matches a signature.
-
Day 28: custom properties and web components
We already know that we can encapsulate styles within a web component and we know that web components inherit styles. Another interesting feature of web components in terms of CSS is that custom properties used in a web component can be modified from the outside.
Let's take this basic alert component.
-
Day 27: the font-variation-settings property
Adjustable features of a variable font are called axes. You can use the font-variations-settings property to change these features by specifying the four letter axis name along with a value.
For example, the Saira variable font has two axes, weight ('wght') and width ('wdth'). This is how the font looks like by default: [...]
-
More Untappd data explorations with jq - my top ranking beer types (part 3)
So, about those rating values. I'll take the ratings for the Winter Warmer category as an example to work on, and I can get a list of those by extending the current filter like this: [...]
-
I wish ZFS supported per-user reservations, not just per-user quotas
The most common case that comes up is that we have a bunch of people in a single filesystem, some of whom may fill up the filesystem by accident in the course of their work and others (such as professors) who we always want to be able to use some additional space so they can keep working. This is the ideal situation for a positive reservation instead of a negative quota, since what we want to put a limit on is the pool of space used by a group of people.
-
How to Install Let’s Encrypt SSL Certificate to Secure Nginx on RHEL 9/8
In this article, we’ll guide you on how to generate and install an SSL/TLS certificate obtained for free from Let’s Encrypt Certificate Authority that we’ll be using to secure Nginx webserver HTTP transactions on RHEL and RHEL-based distributions such as Fedora, Rocky Linux and AlmaLinux.
If you’re looking to install Let’s Encrypt for Apache on RHEL and RHEL-based distributions, follow this guide below...
-
How to install Kotlin on Ubuntu 22.04
In this post, you will learn how to install Kotlin on Ubuntu 22.04. This modern language is intended to replace Java in key processes of Android and other components where it reigned supreme.
-
How to Find Files on Ubuntu using the Terminal - Pi My Life Up
If you are using a desktop version of Ubuntu finding files is straightforward as opening up the Files application and using the search bar.
However, the process is slightly more complicated if you want to find a file using the terminal. You will have to utilize either the “find” or “locate” apps to find files within the terminal on Ubuntu.
The find command is an integral part of Ubuntu and is one of the best ways to find files on your system. The locate package allows you to perform the same searches quickly but requires a database to be refreshed regularly.
-
How to Change a Filename in Linux - Pi My Life Up
There are a few different methods that you can use to change a filename on a Linux system. However, we will be focusing on using the mv and rename commands. Both of these commands are easy to use.
For this tutorial, we will be focusing purely on the terminal. However, for some Linux-based operating systems, you will have the option to use a GUI (Graphical User Interface) to alter file and folder names.
-
How to Copy and Paste in the Ubuntu Terminal - Pi My Life Up
When you are new to using the terminal on Ubuntu, you may be unaware of how to copy and paste from the terminal.
Knowing how to copy and paste from the terminal will help you utilize it more efficiently.
As long as you have a keyboard or mouse, copying and pasting into the terminal on Ubuntu is a straightforward process.
Each terminal can work differently, so the keyboard shortcuts shown within this guide might only work with Ubuntu’s terminal.
-
What is Pop Shell - How to Use POP Shell Tiling Extension on GNOME
The Pop Shell is an advanced tiling window management tool that offers flexibility in controlling the layouts and positions of windows.
Pop Shell is a gnome shell extension that runs on top of the GNOME Shell. It offers two window management modes; auto-tile and stacking.
The stacking mode allows windows to overlap, as in the case of the traditional GNOME desktop. However, in the auto-tile mode, all the windows get tiled automatically. Besides, you can switch between the two modes from the Pop shell extension menu.
-
How to Add a User to the docker Group
Docker has been one of the best containerization tools and many industries are using docker in their application. The developers find it to be a very effective tool and they can deploy their application in production or any other environment without any dependencies on the target system.
It is always a best practice to not run any command as a sudo user since you have elevated permissions. Generally, when you install docker it needs root permission because the daemon runs as a root user. Due to this, you will have to run the docker command with sudo. While you run with sudo, you might see the below error -
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'.
How can you fix the above error? In case you don't want to run the docker as the root user, you can read this page to solve this issue. In this guide, we learn how to run docker as a non-root user.