25-01#

stop docker daemon#

stop

systemctl disable --now docker.socket
systemctl disable --now docker.service

start

systemctl enable --now docker.socket
systemctl enable --now docker.service

fio on Lexar SSD NM620 1TB#

Hardware: ./src/25-01-lshw.txt

see fio

Samsung SSD 990 EVO Plus 1TB#

hardware

product: Samsung SSD 990 EVO Plus 1TB
version: 1B2QKXG7
serial: S7U4NJ0XB47526R
capabilities: nvme nvm_express bus_master cap_list
configuration: driver=nvme latency=0 nqn=nqn.1994-11.com.samsung:nvme:990EVOPlus:M.2:S7U4NJ0XB47526R state=live

see fio

rsync complete machine + fix grub EFI#

https://superuser.com/a/1185401

rsync -axHAWXS --numeric-ids --info=progress2 / /media/felix/samsung990/

# mount stuff
target_dir=/media/felix/samsung990/
mount -t proc proc ${target_dir}/proc  # for bash completion
mount --bind /dev ${target_dir}/dev
mount -t sysfs sysfs ${target_dir}/sys
chroot /media/felix/samsung990/

# efi
mount -t efivarfs none /sys/firmware/efi/efivars
efibootmgr

# mount /boot/efi
mount /dev/nvme1n1p1 /boot/efi/

grub-install /dev/nvme1n1
ls /boot/efi/EFI/
update-grub

mv /etc/default/grub.d/50_linuxmint.cfg /var/backups/  # overwrites GRUB_DISTRIBUTOR and GRUB_DISABLE_OS_PROBER
v /etc/default/grub  # edit GRUB_DISTRIBUTOR to change name
update-grub
view /boot/grub/grub.cfg  # review

Read about /etc/default/grub:

info -f grub -n 'Simple configuration'

I believe in mise#

I love the developer experience of mise.

That’s why I am currently porting a lot of projects to use it, for example:

  • Python projects with Python provided by mise and integration with uv.

  • Terraform/OpenTofu projects

  • CLI tools that I use regularly (see ~/.config/mise/config.toml)

jdx puts a lot of thought into it as shown here: Supply chain security with mise and asdf plugins · jdx/mise · Discussion #4054

Hetzner DNS API#

Export Token

export HETZNER_DNS_TOKEN=

List zones:

curl -fSsL "https://dns.hetzner.com/api/v1/zones" -H "Auth-API-Token: $HETZNER_DNS_TOKEN" | jq -r '.zones | .[] | .id + " " + .name' | sort

or use felix-hetzner-dns-zones

List Records:

curl -fSsL "https://dns.hetzner.com/api/v1/records" -H "Auth-API-Token: $HETZNER_DNS_TOKEN" | jq -r '.records | .[] | .zone_id + " " + .type + " " + .name + " " +.id' | sort

or use felix-hetzner-dns-records

List Bash Completions#

List all commands starting with f:

compgen -A command f