Home GitHub DigitalHarbor Start Here

  • 💭 Linux Explained: What is The Linux Kernel? - YouTube

    I'm getting sucked into the Linux is a kernel not an operating system crowd because tonight I realized I couldn't descri

    June 07, 2025
    #linux #youtube #kernel #thoughts
  • 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

    April 23, 2025
    #linux #cli #tech
  • 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

    February 20, 2025
    #zfs #linux #tech #til
  • 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

    December 14, 2024
    #docker #linux #homelab #til
  • 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

    December 11, 2024
    #linux #terminal #cli #til
  • 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.

    December 11, 2024
    #linux #zfs #tech #til
  • 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&

    December 06, 2024
    #linux #terminal #homelab #cli #til
  • 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

    November 22, 2024
    #homelab #linux #tech #til
  • Restart KDE Plasma

    Plasma shits the bed a little too often on Fedora for me right now but I finally have a quick fix...

    November 08, 2024
    #linux #terminal #cli #til
  • Docker copy and chown

    COPY --chown=myuser:mygroup source-file target-file

    September 17, 2024
    #linux #homelab #tech #til
  • 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/

    September 17, 2024
    #homelab #linux #tech #til
  • 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

    July 12, 2024
    #homelab #linux #tech
  • 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

    June 26, 2024
    #homelab #linux #tech #til
  • 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

    December 31, 2023
    #homelab #linux #tech #til
  • 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)

    September 23, 2023
    #homelab #linux #tech #til
  • 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

    March 09, 2023
    #linux #cli #tech #til
  • 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

    January 12, 2023
    #linux #tech #til
  • 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

    January 03, 2023
    #linux #cli #tech #til
  • 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

    December 28, 2022
    #homelab #linux #tech #til
  • Nextcloud Docker Upgrade Error

    https://nicolasbouliane.com/blog/nextcloud-docker-upgrade-error

    December 28, 2022
    #homelab #linux #tech
  • 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

    December 21, 2022
    #linux #tech #docker #til
  • 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

    December 21, 2022
    #vim #linux #tech #til
  • 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

    December 18, 2022
    #linux #cli #til
  • 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

    November 12, 2022
    #linux #vim #tech
  • Make a series of directories fast!

    mkdir s{1..10} will make directories s1, s2, ... s10 in one command!

    November 10, 2022
    #linux #cli #tech #til
  • 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

    October 09, 2022
    #homelab #linux #tech #til
  • My PassMark Scores

    !!! note "Babyblue v2" !!! note "Venus " !!! note "Hogwarts" !!! note "Server 2 ... Change the name" !!! note "Serv

    October 08, 2022
    #homelab #linux #tech #til
  • 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

    October 07, 2022
    #linux #cli #tech #til
  • Check Your BIOS Version On Ubuntu

    sudo dmidecode -s bios-version

    October 02, 2022
    #linux #cli #tech #til
  • 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&#

    September 21, 2022
    #linux #bash #til
  • 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 &&

    August 29, 2022
    #cli #linux #tech #til
  • Mounting exFAT USB in Linux

    Steps `sudo fdisk -l` then look for the device and partition get the Type column mount Example

    July 31, 2022
    #linux #homelab #tech #til
  • 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

    July 06, 2022
    #homelab #linux #tech #til
  • 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

    June 25, 2022
    #homelab #linux #tech
  • 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

    June 23, 2022
    #linux #cli #tech #til
  • 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

    June 13, 2022
    #homelab #cli #linux #til
  • Samba on Ubuntu 22 needs "inherit permissions" set

    see samba config on hogwarts

    May 31, 2022
    #homelab #linux #tech #til
  • Filtering emails with core utils

    May 30, 2022
    #linux #cli #tech #til
  • 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

    May 29, 2022
    #homelab #linux #tech #til
  • 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

    May 26, 2022
    #homelab #linux #tech #til
  • 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.

    May 23, 2022
    #homelab #tech #linux
  • 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

    May 22, 2022
    #homelab #linux #tech #til
  • Configure bridge network on Ubuntu 22.04 with Netplan

    See 02-....yaml in ansible-nas

    May 22, 2022
    #homelab #linux #tech #til
  • 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

    May 19, 2022
    #linux #cli #tech #til
  • 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

    May 19, 2022
    #linux #zfs #cli #bash #homelab #til
  • 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

    Caps-Lock-Polybar cover image
    April 15, 2022
    #linux #tech
  • 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

    File-Length cover image
    April 04, 2022
    #linux #tech #til
  • 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

    Polybar-01 cover image
    April 01, 2022
    #linux #tech
  • 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

    Starship cover image
    March 25, 2022
    #linux #tech
  • 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

    Tree cover image
    March 06, 2022
    #linux #tech #til
  • 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

    Stow cover image
    March 04, 2022
    #bash #linux #tech #til
  • 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-Target cover image
    March 04, 2022
    #bash #linux #tech #til
  • 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

    Ubuntu-Static-Ip cover image
    March 03, 2022
    #linux #til