Tux Machines

today's howtos

Posted by Roy Schestowitz on Apr 21, 2023

=> Events: Penguicon, EuroBSDCon, and More | Programming Leftovers

OpenBSD 7.3 on a ThinkPad X270 (plus my Theological Dotfiles) for Scholarly Work

=> ↺ OpenBSD 7.3 on a ThinkPad X270 (plus my Theological Dotfiles) for Scholarly Work

This tutorial (for lack of a better name) is an expanded and polished form of my personal notes on how to install OpenBSD and configure my Theological Dotfiles on a Lenovo ThinkPad X270. I hope that these notes will help at least one other person configure OpenBSD for mobile research and writing.
Although these notes probably would be helpful (to varying degrees) for persons using a variety of laptop computers for mobile research and writing, they will be the most relevant for other persons using ThinkPads from circa 2015-2019, especially models with hardware specifications that are similar to those of the X270. Examples include the X260, X280, T460/T560, T470/T570, T480/T580, T490/T590, and the various X1 Carbons from the same model years.

bd – Quickly Go Back to a Parent Directory Instead of Typing “cd ../../..” Redundantly

=> ↺ bd – Quickly Go Back to a Parent Directory Instead of Typing “cd ../../..” Redundantly

While navigating the file system via the command line on Linux systems, in order to move back into a parent directory (in a long path), we would normally issue the cd command repeatedly (cd ../../..) until we land in the directory of interest.
This can be so tedious and boring much of the time, especially for experienced Linux users or system administrators who carry out so many various tasks, and therefore hope to discover shortcuts to ease their jobs while operating a system.

Gogo – Create Directory “Bookmarking” in Linux

=> ↺ Gogo – Create Directory “Bookmarking” in Linux

Gogo is an impressive way to bookmark directories inside your Linux shell. It allows you to create shortcuts to long and complicated paths in Linux. This way, you don’t have to type or remember long and complicated paths anymore in Linux.
For example, if you have a directory ~/Documents/Phone-Backup/Linux-Docs/Ubuntu/, using gogo, you can create an alias (a shortcut name), for instance Ubuntu to access it without typing the whole path anymore.

How To Install and Use Docker Desktop on Ubuntu and Linux Mint

=> ↺ How To Install and Use Docker Desktop on Ubuntu and Linux Mint

Docker Desktop is an easy-to-use cross-platform GUI (Graphical User Interface) application used to manage Docker images, containers, and apps from your local computer. It can be utilized either independently or in conjunction with the command-line interface client.
A comprehensive Docker development environment can be quickly installed and set up using Docker Desktop, which also supports a variety of programming languages and frameworks. It comes pre-installed with the most recent version of Kubernetes, the Docker engine, the Docker CLI client, Docker Buildx, Docker Compose, extensions, and the Docker Content Trust.

The Trouble with Tuning Systems

=> ↺ The Trouble with Tuning Systems

Okay, that's not quite true. You can tune a piano, but only approximately. It turns out that the mathematics behind the 12-tone scale used in most Western music hides some sinister secrets.
Let's start with the basics. Behind every key on a piano are 1–3 strings, which have been tensioned so that when the strings are struck they will ring out at a specific frequency. Each note is associated with a distinct frequency, and keys are arranged such that the pitch of the notes increases from left to right.
Of course, the burning question remains: how do we know what frequency to assign to each note? The answer to this is pretty nuanced, but luckily we get one freebie. Every tuning system requires us to start by assigning a specific frequency to an arbitrary key to use as a reference point; we call this the pitch standard. The most common pitch standard in modern times is A440, which sets the frequency of the first A above middle C to 440 Hz.

Adam Young: Keeping build output on one screen

=> ↺ Adam Young: Keeping build output on one screen

When a build goes wrong, the amount of error messaging can easily scroll off the screen. Usually the error is on the first line reported. Here’s a couple ways to make it easier to read just the lines you want.

Alternatives to popular CLI tools: ping

=> ↺ Alternatives to popular CLI tools: ping

This article spotlights alternative tools to ping. All software featured here is free and open source goodness.

Set up PhpMyAdmin on Ubuntu Server

=> ↺ Set up PhpMyAdmin on Ubuntu Server

PhpMyAdmin runs with the help of MySQL and Apache. You’ll need to set up both of these tools to get it working on your Ubuntu Server system. Open up a terminal on your Ubuntu Server via SSH (or physically), then use the apt update command to check for software updates.

How to Install Spotify on Ubuntu, Linux Mint, and Other Distros

=> ↺ How to Install Spotify on Ubuntu, Linux Mint, and Other Distros

When we talk about music streaming, Spotify is usually the first thing that comes to our minds. It’s one of the best music streaming services out there and is supported on multiple platforms, including Linux. While installing Spotify could take more than a few clicks depending on the distro you are running, you may prefer using, say, the Flatpak variant over Snap or DEB or vice versa. In that case, here’s how to install Spotify on Ubuntu, Linux Mint, and most of the popular Linux distributions.

Linux File Permissions Explained

=> ↺ Linux File Permissions Explained

Linux is renowned for being a powerful and reliable operating system that offers unparalleled security, stability, and flexibility. In order to maintain the integrity and safety of the system, Linux implements specific settings in the form of “Permissions.” These permissions control who can access, modify, or execute the files and directories. Whether you are a new Linux user or a seasoned veteran, understanding Linux permissions is extremely important for a safe and secure system. In this article, we will dive deep into what Linux permissions are and how to keep your files and directories secured in the best way.

=> gemini.tuxmachines.org

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

This content has been proxied by September (ba2dc).