Merge branch 'dev' into vhs

This commit is contained in:
Malin Freeborn 2025-02-27 16:59:25 +01:00
commit 28c6a99b0e
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
64 changed files with 78 additions and 76 deletions

View File

@ -71,7 +71,7 @@ article: ## Write an article
filename="$$(echo "$$title" | tr '[:upper:]' '[:lower:]' | tr ' ' '_')" ;\ filename="$$(echo "$$title" | tr '[:upper:]' '[:lower:]' | tr ' ' '_')" ;\
printf '%s\n' '---' >> $$path/$$filename.md ;\ printf '%s\n' '---' >> $$path/$$filename.md ;\
printf 'title: "%s"\n' "$$title" >> $$path/$$filename.md ;\ printf 'title: "%s"\n' "$$title" >> $$path/$$filename.md ;\
printf 'tags: [ "%s" ]\n' "$$path" | sed 's#\/#", "#g' >> $$path/$$filename.md ;\ printf 'tags: [ "%s" ]\n' "$$path" | tr '[:upper:]' '[:lower:]' | sed 's#\/#", "#g' >> $$path/$$filename.md ;\
printf '%s\n\n' '---' >> $$path/$$filename.md ;\ printf '%s\n\n' '---' >> $$path/$$filename.md ;\
$(EDITOR) +5 "$$path/$$filename.md" $(EDITOR) +5 "$$path/$$filename.md"

View File

@ -1,6 +1,6 @@
--- ---
title: "at" title: "at"
tags: [ "Basics", "time" ] tags: [ "basics", "time" ]
--- ---
Install with: Install with:

View File

@ -1,6 +1,6 @@
--- ---
title: "Basics" title: "Basics"
tags: [ "Basics" ] tags: [ "basics" ]
--- ---
You need about a dozen commands to move around Linux. You need about a dozen commands to move around Linux.

View File

@ -1,6 +1,6 @@
--- ---
title: "clock" title: "clock"
tags: [ "Basics", "time" ] tags: [ "basics", "time" ]
--- ---
Show system time: Show system time:

View File

@ -1,6 +1,6 @@
--- ---
title: "conditionals" title: "conditionals"
tags: [ "Basics" ] tags: [ "basics" ]
--- ---
# If statements # If statements

View File

@ -1,6 +1,6 @@
--- ---
title: "cron" title: "cron"
tags: [ "Basics", "time" ] tags: [ "basics", "time" ]
--- ---
# Cronie # Cronie

View File

@ -1,6 +1,6 @@
--- ---
title: "bash games" title: "bash games"
tags: [ "Games" ] tags: [ "games" ]
--- ---
Games are a great way to learn bash. Games are a great way to learn bash.

View File

@ -1,6 +1,6 @@
--- ---
title: "kill" title: "kill"
tags: [ "Basics" ] tags: [ "basics" ]
--- ---
If you want to kill a program in a graphical environment, open a terminal and type: If you want to kill a program in a graphical environment, open a terminal and type:

View File

@ -1,6 +1,6 @@
--- ---
title: "locale" title: "locale"
tags: [ "Basics", "time" ] tags: [ "basics", "time" ]
--- ---
Your locale tells the computer your location, preferred time-and-date format, standard language, papersize, et c. Your locale tells the computer your location, preferred time-and-date format, standard language, papersize, et c.

View File

@ -1,6 +1,6 @@
--- ---
title: "locating" title: "locating"
tags: [ "Basics" ] tags: [ "basics" ]
--- ---
# Type # Type

View File

@ -1,6 +1,6 @@
--- ---
title: "processes" title: "processes"
tags: [ "Basics" ] tags: [ "basics" ]
--- ---
# Proccesses # Proccesses

View File

@ -1,6 +1,6 @@
--- ---
title: "time" title: "time"
tags: [ "Basics", "time" ] tags: [ "basics", "time" ]
--- ---
# systemd # systemd

View File

@ -1,6 +1,6 @@
--- ---
title: "users" title: "users"
tags: [ "Basics" ] tags: [ "basics" ]
--- ---
# Basic Information # Basic Information

View File

@ -1,6 +1,6 @@
--- ---
title: "profanity" title: "profanity"
tags: [ "Chat", "omemo" ] tags: [ "chat", "omemo" ]
--- ---
# Setup (Commands) # Setup (Commands)

View File

@ -1,6 +1,6 @@
--- ---
title: "wgetpaste" title: "wgetpaste"
tags: [ "Chat" ] tags: [ "chat" ]
--- ---
See available pastebins: See available pastebins:

View File

@ -1,6 +1,6 @@
--- ---
title: "unison" title: "unison"
tags: [ "Backups", "synch" ] tags: [ "backups", "synch" ]
--- ---
Install unison on both machines, and make sure both have the same version of unison, with the same version of the ocaml compiler (the smallest difference will cause problems). Install unison on both machines, and make sure both have the same version of unison, with the same version of the ocaml compiler (the smallest difference will cause problems).

View File

@ -1,6 +1,6 @@
--- ---
title: "khard" title: "khard"
tags: [ "Data" ] tags: [ "data" ]
--- ---
Get the basic config: Get the basic config:

View File

@ -1,6 +1,6 @@
--- ---
title: "PDF Metadata Erasure" title: "PDF Metadata Erasure"
tags: [ "Metadata", "Ghost Script", "gs", ".pdf" ] tags: [ "metadata", "ghost script", "gs", ".pdf" ]
--- ---
You cannot erase pdf metadata with `exiftool` (it only *appends* your changes). You cannot erase pdf metadata with `exiftool` (it only *appends* your changes).

View File

@ -1,6 +1,6 @@
--- ---
title: "task" title: "task"
tags: [ "Organization" ] tags: [ "organization" ]
--- ---
Set up the configuration file: Set up the configuration file:

View File

@ -1,6 +1,6 @@
--- ---
title: "timewarrior" title: "timewarrior"
tags: [ "Data", "tracking", "time", "timew" ] tags: [ "data", "tracking", "time", "timew" ]
--- ---
# Summaries # Summaries

View File

@ -1,6 +1,6 @@
--- ---
title: "autologin" title: "autologin"
tags: [ "Distros", "Arch" ] tags: [ "distros", "arch" ]
--- ---
# Automatic Login # Automatic Login

View File

@ -1,6 +1,6 @@
--- ---
title: "Aeroplane Mode in Void" title: "Aeroplane Mode in Void"
tags: [ "Void" ] tags: [ "void" ]
--- ---
Put your device in 'aeroplane' mode (e.g. where no trace of signal leaves it) by turning off Wi-Fi and blue-tooth. Put your device in 'aeroplane' mode (e.g. where no trace of signal leaves it) by turning off Wi-Fi and blue-tooth.
@ -9,7 +9,7 @@ su root
sv stop wpa_supplicant bluetoothd sv stop wpa_supplicant bluetoothd
``` ```
Find your device's name with `ip a`. Find your device's name with `ip -color addr`.
If unsure, try this: If unsure, try this:
```sh ```sh

View File

@ -1,6 +1,6 @@
--- ---
title: "Void Autologin" title: "Void Autologin"
tags: [ "Void" ] tags: [ "void" ]
--- ---
Make the autologin service: Make the autologin service:

View File

@ -1,6 +1,6 @@
--- ---
title: "extrace" title: "extrace"
tags: [ "Void" ] tags: [ "void" ]
--- ---
Monitor all processes: Monitor all processes:

View File

@ -1,6 +1,6 @@
--- ---
title: "sv" title: "sv"
tags: [ "Void" ] tags: [ "void" ]
--- ---
# List Services # List Services

View File

@ -1,6 +1,6 @@
--- ---
title: "Void Linux Basics" title: "Void Linux Basics"
tags: [ "Void" ] tags: [ "void" ]
--- ---
# Updates # Updates

View File

@ -1,6 +1,6 @@
--- ---
title: "xbps" title: "xbps"
tags: [ "Void" ] tags: [ "void" ]
--- ---
## Search ## Search

View File

@ -1,6 +1,6 @@
--- ---
title: "fail2ban" title: "fail2ban"
tags: [ "Networking" ] tags: [ "networking" ]
requires: [ "ssh" ] requires: [ "ssh" ]
--- ---
# SSH Daemon Jail # SSH Daemon Jail

View File

@ -1,6 +1,6 @@
--- ---
title: "Easy Network Graph" title: "Easy Network Graph"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
Set up a file like this, called `troubleshooting.txt`. Set up a file like this, called `troubleshooting.txt`.

View File

@ -1,6 +1,6 @@
--- ---
title: "iptables" title: "iptables"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
# Intro # Intro

View File

@ -1,6 +1,6 @@
--- ---
title: "nmap" title: "nmap"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
Example: Example:

View File

@ -1,6 +1,6 @@
--- ---
title: "pi-hole-server" title: "pi-hole-server"
tags: [ "Distros" ] tags: [ "distros" ]
--- ---
# Installation # Installation

View File

@ -1,6 +1,6 @@
--- ---
title: "rclone" title: "rclone"
tags: [ "Networking" ] tags: [ "networking", "synch" ]
--- ---
The manpage's 'Synopsis' provides a fast reference. The manpage's 'Synopsis' provides a fast reference.
``` ```

View File

@ -1,6 +1,6 @@
--- ---
title: "Download videos" title: "Download videos"
tags: [ "Scraping" ] tags: [ "scraping" ]
--- ---
Install `yt-dlp`. Install `yt-dlp`.

View File

@ -1,6 +1,6 @@
--- ---
title: "Agate on Arch Linux" title: "Agate on Arch Linux"
tags: [ "Networking", "Arch", "Gemini" ] tags: [ "networking", "arch", "gemini" ]
--- ---
Docs are [here](https://github.com/mbrubeck/agate). Docs are [here](https://github.com/mbrubeck/agate).

View File

@ -7,7 +7,7 @@ tags: [ "networking" ]
Try out basic ssh by accessing `git.charm.sh`, without needing authentication: Try out basic ssh by accessing `git.charm.sh`, without needing authentication:
```bash ```sh
ssh git.charm.sh ssh git.charm.sh
``` ```
@ -16,32 +16,32 @@ The ssh server is sometimes in a package called `openssh`, and sometimes only in
Once it's installed, check it's working: Once it's installed, check it's working:
```bash ```sh
sudo systemctl status ssh sudo systemctl status ssh
``` ```
If that doesn't work, the service may be called `sshd`. If that doesn't work, the service may be called `sshd`.
```bash ```sh
sudo systemctl status sshd sudo systemctl status sshd
``` ```
Then start that service: Then start that service:
```bash ```sh
sudo systemctl start sshd sudo systemctl start sshd
``` ```
Test it works by using ssh into your own system, from inside: Test it works by using ssh into your own system, from inside:
```bash ```sh
ssh $USER@localhost ssh $USER@localhost
``` ```
Access the computer from another computer on the same local network by finding your computer's IP address. Access the computer from another computer on the same local network by finding your computer's IP address.
```bash ```sh
ip address | grep inet ip address | grep inet
``` ```
@ -56,24 +56,24 @@ Here is mine:
The first one starts `127`, which means it returns back to that computer (like `localhost`). The first one starts `127`, which means it returns back to that computer (like `localhost`).
The second is an ipv6 address, which is too angelic for this world, and has yet to ascend. The second is an ipv6 address, which is too angelic for this world, and has yet to descend.
The third will work from a remote computer. The third will work from a remote computer.
```bash ```sh
ssh $USERNAME@IP_ADDRESS ssh $USERNAME@IP_ADDRESS
``` ```
Once you have that, generate some ssh keys: Once you have that, generate some ssh keys:
```bash ```sh
ssh-keygen ssh-keygen
``` ```
Look at your keys: Look at your keys:
```bash ```sh
ls ~/.ssh ls ~/.ssh
``` ```
@ -82,7 +82,7 @@ The other is secret.
Now send those keys to a remote computer: Now send those keys to a remote computer:
```bash ```sh
ssh-copy-id $USERNAME@IP_ADDRESS ssh-copy-id $USERNAME@IP_ADDRESS
``` ```

View File

@ -1,6 +1,6 @@
--- ---
title: "sshfs" title: "sshfs"
tags: [ "Networking" ] tags: [ "networking" ]
requires: [ "ssh" ] requires: [ "ssh" ]
--- ---
# Mount # Mount

View File

@ -1,6 +1,6 @@
--- ---
title: "ssh-tricks" title: "ssh-tricks"
tags: [ "Networking", "ssh", "tricks" ] tags: [ "networking", "ssh", "tricks" ]
requires: [ "ssh" ] requires: [ "ssh" ]
--- ---

View File

@ -1,9 +1,9 @@
--- ---
title: "tor" title: "tor"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
# Get a hostname # Get a Hostname
```bash ```bash
sudo vim /etc/tor/torrc sudo vim /etc/tor/torrc

View File

@ -1,6 +1,6 @@
--- ---
title: "transmission" title: "transmission"
tags: [ "Networking", "Torrenting" ] tags: [ "networking", "torrenting" ]
--- ---
# Torrench # Torrench

View File

@ -1,11 +1,11 @@
--- ---
title: "troubleshooting" title: "troubleshooting"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
# Do you have an IP? # Do you have an IP?
If not, try checking out what your local Networking interfaces are, then check if they have been picked up: If not, try checking out what your local networking interfaces are, then check if they have been picked up:
```bash ```bash
dmesg | grep eth0 dmesg | grep eth0

View File

@ -1,6 +1,6 @@
--- ---
title: "nginx" title: "nginx"
tags: [ "Networking" ] tags: [ "networking", "web" ]
--- ---
Install nginx: Install nginx:

View File

@ -1,6 +1,6 @@
--- ---
title: "network" title: "network"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
# Netstat Stuff # Netstat Stuff

View File

@ -1,6 +1,6 @@
--- ---
title: "wpa_supplicant" title: "wpa_supplicant"
tags: [ "Networking" ] tags: [ "networking" ]
--- ---
`wpa_supplicant` configurations are stored in `/etc/wpa_supplicant/wpa_supplicant-wlan0` (or equivalent). `wpa_supplicant` configurations are stored in `/etc/wpa_supplicant/wpa_supplicant-wlan0` (or equivalent).

View File

@ -1,6 +1,6 @@
--- ---
title: "Basic Sound" title: "Basic Sound"
tags: [ "Sound" ] tags: [ "sound" ]
--- ---
# Pulse # Pulse

View File

@ -1,6 +1,6 @@
--- ---
title: "festival" title: "festival"
tags: [ "Sound" ] tags: [ "sound" ]
--- ---
# Basics # Basics

View File

@ -1,6 +1,6 @@
--- ---
title: "mpd" title: "mpd"
tags: [ "Sound" ] tags: [ "sound" ]
--- ---
# Setup # Setup

View File

@ -1,6 +1,6 @@
--- ---
title: "ncmpcpp" title: "ncmpcpp"
tags: [ "Sound" ] tags: [ "sound" ]
--- ---
# Music Player Daemon # Music Player Daemon

View File

@ -7,11 +7,13 @@ Make your first target 'help' to give an overview of the main targets.
Running `make help` will search for text which starts with `## ` and show what that target does. Running `make help` will search for text which starts with `## ` and show what that target does.
```make ```make
.PHONY: help
help: ## Print the help message help: ## Print the help message
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \ @awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \
sort | \ sort | \
column -s ':' -t column -s ':' -t
.PHONY: clean
clean: ## Remove generated files clean: ## Remove generated files
$(RM) $(defaults) $(RM) $(defaults)
``` ```

View File

@ -1,6 +1,6 @@
--- ---
title: "android" title: "android"
tags: [ "System", "phone" ] tags: [ "system", "phone" ]
--- ---
# mtpfs # mtpfs

View File

@ -1,6 +1,6 @@
--- ---
title: "awk" title: "awk"
tags: [ "System", ".csv" ] tags: [ "system", ".csv" ]
--- ---
# Basics # Basics

View File

@ -1,6 +1,6 @@
--- ---
title: "bash tips" title: "bash tips"
tags: [ "Shell", "POSIX" ] tags: [ "shell", "POSIX" ]
--- ---
## Track Live Changes ## Track Live Changes

View File

@ -1,6 +1,6 @@
--- ---
title: "character-encoding" title: "character-encoding"
tags: [ "System", "encoding" ] tags: [ "system", "encoding" ]
--- ---
Convert a text file from one encoding type to another with: Convert a text file from one encoding type to another with:

View File

@ -1,6 +1,6 @@
--- ---
title: "Default Programs" title: "Default Programs"
tags: [ "Defaults", "Mime Type" ] tags: [ "defaults", "mime type" ]
--- ---
Install the package `xdg-utils`, then make very liberal use of the tab button. Install the package `xdg-utils`, then make very liberal use of the tab button.

View File

@ -1,6 +1,6 @@
--- ---
title: "lf - The Light File Manager" title: "lf - The Light File Manager"
tags: [ "File Browser", "TUI" ] tags: [ "file browser", "TUI" ]
--- ---
![lf](/tapes/lf.gif) ![lf](/tapes/lf.gif)

View File

@ -1,6 +1,6 @@
--- ---
title: "logs" title: "logs"
tags: [ "System" ] tags: [ "system" ]
--- ---
# Basic # Basic

View File

@ -1,6 +1,6 @@
--- ---
title: "Monitoring" title: "Monitoring"
tags: [ "System", "CPU", "Memory" ] tags: [ "system", "CPU", "memory" ]
--- ---
Print the average CPU load over 1 minute, 5 minutes, and 15 minutes: Print the average CPU load over 1 minute, 5 minutes, and 15 minutes:

View File

@ -1,6 +1,6 @@
--- ---
title: "partitions" title: "partitions"
tags: [ "System" ] tags: [ "system" ]
--- ---
# FDisk Basics # FDisk Basics

View File

@ -1,6 +1,6 @@
--- ---
title: "snaps" title: "snaps"
tags: [ "System", "Ubuntu", "snap" ] tags: [ "system", "Ubuntu", "snap" ]
--- ---
> sudo apt-get purge -y snapd > sudo apt-get purge -y snapd

View File

@ -1,6 +1,6 @@
--- ---
title: "Docker" title: "Docker"
tags: [ "documentation", "Virtualization" ] tags: [ "documentation", "virtualization" ]
--- ---
```sh ```sh
sudo pacman -S docker sudo pacman -S docker

View File

@ -1,6 +1,6 @@
--- ---
title: "virtualbox" title: "virtualbox"
tags: [ "System" ] tags: [ "system" ]
--- ---
# Setup # Setup

View File

@ -1,6 +1,6 @@
--- ---
title: "ffmpeg" title: "ffmpeg"
tags: [ "Sound", "Vision" ] tags: [ "sound", "vision" ]
--- ---
# Basics # Basics

View File

@ -1,6 +1,6 @@
--- ---
title: "imagemagick" title: "imagemagick"
tags: [ "Vision" ] tags: [ "vision" ]
--- ---
Convert jpg to png. Convert jpg to png.

View File

@ -1,6 +1,6 @@
--- ---
title: "Markdown to PDF" title: "Markdown to PDF"
tags: [ "Markdown", "PDF", "Vision" ] tags: [ "markdown", ".pdf", "vision" ]
--- ---
Turn a markdown file into a pdf: Turn a markdown file into a pdf: