-
I was wrecked by a weird combo of >> and -e
TL;DR If state matters then check it in the beginning or handle it on a failure... Let me explain I ran into some trouble recently _almost_ losing some encrypte
-
SMB with ZFS on Ubuntu
sudo apt-get install -y samba \\ then set sharesmb=on \\ chown the user \\ smbpasswd <user> -a \\ then mount with user/password from other machine
-
Jellyfin container updates for HWE + AMD
I use LSIO Jelyfin container for the easy addon they provide for AMD GPUs but I couldn't get trickplay to work with HWE... There was almost NOTHING on the
-
rsync like a pro
I am moving a hefty amount of data to a new ZFS pool due to some corruption and I want to avoid using `zfs send/recv` for this just to make sure I don't pr
-
D and uninterruptable sleep
Htop I recently have been having significant home server issues, and that's not the point of this - today I learned what `D` state is when looking at htop.
-
hostnamectl to easily change hostname
hostnamectl is apparently a linux utility for easily changing your hostname in a variety of ways I learned there's transient and static hostnames, so that&
-
DNS Broke After Reboot - Ubuntu 22.04
I rebooted by server and DNS broke randomly. I have no idea if it was from a kernel update or what but that's the issue with Ubuntu I guess... After much t
-
Restart KDE Plasma
Plasma shits the bed a little too often on Fedora for me right now but I finally have a quick fix...
-
Docker copy and chown
COPY --chown=myuser:mygroup source-file target-file
-
docker-remote-add
Add from url?? ADD http://example.com/cars.csv /tmp/cars.csv Unpack automatically!? (.tar, .tar.gz, .tgz, .bz2, .tbz2, .txz, .zip) ADD myapp.tar.gz /opt/myapp/
-
Interesting IPs between Jellyfin clients and server depending on tailscale and server address
When connecting from my phone to jellyfin I'm seeing some interesting patterns. Scenarios Tailscale IP of phone is listed as local network to jellyfin Wifi
-
Upgrading your kernel can F you up... whoops
https://forum.proxmox.com/threads/update-error-with-coral-tpu-drivers.136888/#post-608975 I lost TPU for frigate, this saved me ass
-
DHCP Restart to Save Ubuntu 22.04 Server Networking
I moved a computer to a remote location for an off-site backup but when it was powered on it wouldn't show up on any networks. A solution that got me back
-
Refresh Nextcloud Groupfolders after messing around on the filesystem
Exec in as www-data and run ./occ groupfolders:scan folder_id -v (the -v to see what it's doing)
-
Convert Word Doc to PDF with Headless Libreoffice
I've been using paperless-ngx to manage all my documents, but every once in a while I'll get a `.docx` file to deal with... Turns out Libreoffice has
-
i3-Like keyboard mapping in Pop_OS
I was introduced to tiling window managers through i3, which I use heavily on one of my machines. I have switched to Pop_OS! at home though, which has a tiling
-
Use non-standard named ssh keys with github
I was getting `(publickey denied)` when trying to push to GH using ssh. When I tested the connection I saw that a bunch of keys in ``~/.ssh/ were being attempte
-
Nextcloud Docker Upgrade Error
https://nicolasbouliane.com/blog/nextcloud-docker-upgrade-error
-
Reminder about ssh-copy-id for SSH and Ansible
`ssh-copy-id -i my.key.pub <hostname probably from tailscale>` this makes sure I can run ansible from my desktop against VMs on my server easily if they
-
Adding docker daemon.json broke docker
in /lib/systemd/system/docker.service there is an ExecStart command that got placed there when I setup Docker with Ansible - it threw the -H flag which told the
-
suda.vim for sudo access to files
I regularly need to edit system config files - take /etc/sanoid/sanoid.conf as an example... I'll want to play with something but if I don't start Neo
-
Pipe to a pager to preserve console output in SSH session
I'm playing with my ansible playbook in a remote tmux session, and I'm no wiz so I don't know the ins and outs, but I can't scroll up to get
-
Description of my proposed vimconf 2022 talk
Switching to Vim opened a whole new world to me for interacting with a computer and for getting things done. Before I adopted Vim I used GUIs for everything bec
-
Make a series of directories fast!
mkdir s{1..10} will make directories s1, s2, ... s10 in one command!
-
Don't forget to load XMP!
Bought some DDR4-3600 speed RAM but only seeing 2666? Load up the BIOS, find DRAM config or something similar, and make sure to load the XMP profile to get that
-
My PassMark Scores
!!! note "Babyblue v2" !!! note "Venus " !!! note "Hogwarts" !!! note "Server 2 ... Change the name" !!! note "Serv
-
Suddenly SSH requires a password
ssh -v -i ~/.ssh/id_rsa nic@hogwarts THen we can look at print outs cat /var/log/auth.log also showed me that I had too wide permissions on files in ~/.ssh -&g
-
Check Your BIOS Version On Ubuntu
sudo dmidecode -s bios-version
-
Append string to list of files with xarg
❯ find . -name "requirements.in" -print0 | xargs -0 sh -c 'for arg in "$@"; do echo "awscli" >>"$arg"; done
-
Check your SMART status with smartctl
https://www.simplified.guide/linux/disk-health-check Install For ubuntu/debian based distros (which is what I primarly use presently) `sudo apt update -y &&
-
Mounting exFAT USB in Linux
Steps `sudo fdisk -l` then look for the device and partition get the Type column mount Example
-
Setup KVM to boot from local PXE server
Assuming you have a PXE server running you only need small edits to the virt-manager config
-
kvm-network-interface-via-nat-ubuntu-20
I have started using VMs more and more in my development workflow and it's impossible to work in a VM without an internet connection for me most of the tim
-
cheat on your man
`man` can be a pain to read... and there's lots of alternatives out there and one I've just started playing with is [cheat](https://github.com/cheat/c
-
Reset SSH key passphrase
I got into a pickle where I encrypted the ssh keys I use for my SSH connections on LAN, but then I couldn't run my ansible playbook on my server! ssh-keyge
-
Samba on Ubuntu 22 needs "inherit permissions" set
see samba config on hogwarts
-
Filtering emails with core utils
-
Reindex Nextcloud After Adding Data via CLI
My Nextcloud woes I wrote [here]("nextcloud-permissions-with-zfs-and-ansible-nas") about setting up `www-data` as the owner of any directories you wan
-
Add space to your LVM on Ubuntu
I ran out of space on the SSD in my server when doing some file transfers but only 100GB was used of a 256 GB SSD? LVM When installing Ubuntu live server the de
-
Initial Proxmox Setup
`apt-get` by default wil go to the pve.enterprise repos so we need to point it to the non-enterprise ones.
-
Configure bridge network on Ubuntu 22.04 with Netplan
See 02-....yaml in ansible-nas
-
Netplan change from Focal to Jammy
I am revamping my home server and bumped myself early up to Jammy Jellyfish... however to my peril I reused my netplan config and after hitting my server with t
-
Deleting files on remote storage from Ubuntu might not do what you think
From my daily driver Ubuntu machine I often open nautilus, dolphin, etc. and delete a file here or there on my NAS... turns out Ubuntu sends thse file to `.Tras
-
Remove ZFS Dataset Specific Snapshots
I started my homelab journey being super naive about ZFS and how to manage the filesystem... that bit me in the butt when transfering a ton of files out of fold
-
Caps-Lock-Polybar
My moonlander is great, and I just recently added CAPS LOCK back to my keymapping but I've moved it... At present it is where the ESC kep usually is howeve
-
File-Length
I have a specific need for counting the number of lines in a file quickly. At work we use S3 for data storage during our Kedro pipeline development, and in the
-
Polybar-01
[polybar](https://github.com/polybar/polybar) is an awesome and super customizable status bar for your desktop environment. I use it with i3-gaps on Ubuntu for
-
Starship
If you spend time in the terminal then you'll want it to look somewhat pleasing to the eye. I used to ssh into servers with no customization, use `vi` to
-
Tree
I wanted a quick way to generate an `index.html` for a directory of html files that grows by 1 or 2 files a week. I don't know any html (the files are expo
-
Stow-Target
Check out [stow](/stow) for a brief introduction to `stow` What if I want to stow a package somewhere else? Boom, that's where `-t` comes in... Maybe I don
-
Stow
Stow is a great tool for managing dotfiles. My usage looks like cloning my dotfiles to my home directory, setting some environment variables via a script, then
-
Ubuntu-Static-Ip
Sometimes I need to manually set a static IP of a Linux machine. I generally run the latest version of Ubuntu server in my VMs at home. In Ubuntu 20 I'm ab