spellbook

Notes for things I find myself searching for over and over. I know they're

faster to find here than somewhere else.

ffmpeg

- convert a bunch of stils into a webm file

- reverse

- stitch two files together

imagemagick

- see [tkacz.pro] also

- rotate

- resize

use `mogrify` for processing multiple files at once generally

- invert colors

- make transparent

vim

profiling:

linux special characters

first, choose a compose key in your os keyboard settings.

- For ë you press Compose+", e.

- For ẽ you press Compose+~, e.

- For ô you press Compose+^, o.

- For á you press Compose+', a.

- For à you press Compose+`, a.

- For € you press Compose+=, e.

- For £ you press Compose+-, l.

ubuntu/debian

dist upgrade

sometimes after that there are some random dpkg / apt errors:

add desktop launcher (popos)

- example file in `/usr/share/applications/wally.desktop`

clean up

arch linux

These are some notes for myself when setting up arch.

pacman

# setup

before you can use the package manager `pacman` you need to run:

This sets up your ability to set some keys and then use them to check the fingerprints on packages you're going to install.

If you're on a raspberry pi, you'll need to add the keys for `archlinuxarm` in particular:

Thereafter you can go about installing whatever you need.

If you need to remove all the keys you have added to start over, you can:

before running the init again.

base packages

In order to get make, and a bunch of basic tooling:

AUR client

I always need to download some AUR packages. Usually we still need to download a client:

PopOS

Sometimes my system76 laptop's audio just stops working. This seems to fix it:

inserting emojis

I can _never_ remember this:

- `Ctrl + Shift + E + Space`: then search via word tags

disk space

journal logs

docker

snap

memory

sometimes you run out of memory on tiny machines. don't forget to use swap!

doas

- install doas with your package manager

- modify `/etc/doas.conf` as root

- example contents for user `lemongrab` and group `candy`

then just use doas instead of sudo

dmidecode

a tool for looking at ram slots without opening your computer.

see how many slots you have on your hardware, maximum ram

see whats in them

proxmox setup

- note the debian version might change when revisiting this

- add no subscription to `/etc/apt/sources.list.d/pve-no-enterprise.list`

- comment out `/etc/apt/sources.list.d/pve-enterprise.list`

- comment out `/etc/apt/sources.list.d/ceph.list`

- proxmox otherwise tries to use their special enterprise lists

o

avahi

- for when you dont want to remember the IP everytime

- allows you to use the hostname.local for discovery/ssh

-

cloud init

-

- 8000 is arbitrary, as is 135

openpgp / gpg

expiration

for better or worse, OpenPGP keys expire. here is how i update that.

you may need to select a subkey with `key 1` for example.

then

then

i realized that thunderbird also has a keymanager that can help here too.

Makefile

Declare all targets PHONY, basically:

Gemini Links:

index and recent changes

directory of all pages

Web Links:

tkacz.pro