today's howtos
-
Day 30: the hwb() color function
Like the lab() color function, hwb() is one of the more recent methods for defining colors in CSS. Just like rgb() and hsl() it uses colors from the sRGB color space. HWB, which stands for hue-whiteness-blackness, describes colors with a starting hue, then a degree of whiteness and blackness to mix into that base hue.
The function takes 3 space-separated values.
-
Font size on the Web
People wanna completely erode the entire meaning of setting a font-size in the browser by moving into some wack-ass race-to-the-bottom of shifting the “de facto” default up by 25%. What’s the, uh, what’s the long-term consequence of that, you think? It’s gonna be a slippery slope, a tug of war of increase/decrease/increase/decrease—your CSS is just the wrong place to set this.
There are four places prose text font-size can be set: [...]
-
On not having a separate /boot filesystem on modern (x86) Linux
Once up on a time there were good reasons to use a separate /boot filesystem, but they've gone away these days in basic configurations. No x86 system's firmware has problems reading all of your disks, and if you're sticking to non-exotic storage devices, the firmware can boot from anything you want to use. There remain reasons like having your root filesystem encrypted or using btrfs for it (the current Fedora default), but if your Linux distribution does this, the installer should get it right if you need a separate /boot (and also if you don't).
-
How to install Fedora on an HP X2 Chromebook
We have been working lately with Enric Balletbo and Dorinda Bassey to improve the support for the HP X2 Chromebook in Fedora. This post explains how to install Fedora on that Chromebook.
-
Connect to SSH Server on Alternate Port
By default, SSH utilizes port number 22 and many sysadmins change it to avoid the influx of bot attacks trying to brute-force their way in.
-
Exclude Files and Directories While Creating Tar File
The tar command is used for creating archive files from various files and folders.
It's quite simple when you have all the required files in one place. But what if you want to put some files or folders in the tar file and exclude some?
One way would be to copy those required files into a new directory and then proceed with the standard procedure, but it is not an efficient way.
-
How to Install Lutris on Manjaro - Linux Nightly
Lutris is the most popular Linux game manager on Linux that allows you to install games from different platforms like Steam, Battle.net, and others. In this tutorial, we will learn how to install Lutris on Manjaro Linux, and also how to add games from the application and from the official Lutris website.
-
How to Install the Plex Media Player on Ubuntu - Pi My Life Up
In this tutorial you will learn how to install the Plex Media Player to your Ubuntu device. This Plex client is the best way to stream media from a Plex server thanks to its advanced media playback engine.
-
How to use the groupdel Command - Pi My Life Up
The groupdel command enables you to remove specific groups from a Linux operating system. After invoking the command, it will attempt to remove all entries that refer to the specified group from all the system account files. If you maintain a system with many users and groups, this command will eventually come in handy.
-
How to use the date() Function in PHP - Pi My Life Up
The date() function in PHP allows you to print the date and time using the specified format.
You can get the date and time from any point by specifying a Unix timestamp. However, if you don’t specify a timestamp, then the date() function will use the current date and time as retrieved from the “time()” function.
While this function may initially seem confusing, it is relatively simple once you know what characters are replaced within the string.
Over the following sections, you will learn all there is to know about using this function within your scripts.
-
How to use the gpasswd Command on Linux - Pi My Life Up
The gpasswd command allows you to edit a group’s password, members, and administrators. It is used to edit both the /etc/group and /etc/gshadow files. If you use the command without any options, it will prompt for a new password for the group.
Since a group password is often shared amongst multiple people, they are not considered very secure. However, they are a useful tool if elevated security is required.
-
How to Install and Configure Postgres 15 on Rocky/Alma Linux 9
Postgresql is an open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
-
How to Install Microsoft Teams on Debian 11/10/Sid [Ed: These instructions not only tell people to put malware in GNU/Linux but also let Microsoft spy, on top of being able to control (via root) the machine during updates, adding additional malware covertly and without consent]