Home GitHub DigitalHarbor Start Here My Thoughts

  • Nostr hex key

    you can hexify your [[nostr]] key when you need to sometimes which I needed to for [[postiz]] (link with a thought I'm sure I have on postiz)

    Nostr hex key cover image
    July 02, 2025
    #nostr #til #tech
  • Github Star Sorter

    I wrote a simple app to sort, tag, and create tickets at home for my github stars... As of right now I have 1.3k stars and no convenient way to view them or rem

    Github Star Sorter cover image
    July 01, 2025
    #homelab #tech
  • 💭 Switching pip to uv in a Dockerized Flask / Django App — Nick ...

    It's nice to see uv gaining popularity in so many places - and replacing vanilla pip with uv in containerized environmen

    June 27, 2025
    #python #pip #uv #dev #tech #thoughts
  • temporal

    [Temporal](https://temporal.io/) is a workflow orchestrator that I'm interested in

    June 24, 2025
    #homelab #tech #temporal
  • Traefik and gRPC for Temporal at home

    Temporal Networking Woes Someday I will potentially write up some stuff about [[temporal]] but for now it's a workflow orchestrator that I'm intereste

    Traefik and gRPC for Temporal at home cover image
    June 24, 2025
    #homelab #tech #temporal #grpc
  • Nextcloud PHP Opache Memory Consumption

    Intro Today I was combing through Nextcloud, just taking a gander at the apps, updates, etc. The OPcache buffer is nearly full. To assure that all scripts can b

    Nextcloud PHP Opache Memory Consumption cover image
    June 23, 2025
    #homelab #tech #nextcloud
  • Quit issueing 200s for 500s

    Stop this nonsense ![20250622115500_5bd3bc21.png](https://cdn.statically.io/gh/pypeaday/images.pype.dev/main/blog-media/20250622115500_5bd3bc21.png)

    Quit issueing 200s for 500s cover image
    June 22, 2025
    #homelab #tech #nonsense #google #veo3
  • Thinking In Diagrams

    Intro Something I didn't appreciate earlier on in my career (and I'm only 8 as far as the age of that career goes anyways) was thinking through proble

    Thinking In Diagrams cover image
    June 20, 2025
    #homelab #tech #dev-ops #planning
  • 💭 matduggan.com/what-would-a-kubernetes-2-0-look-like/

    This article was longer than I had time to really consume but a heading caught my eye that I wanted to agree with - the

    June 20, 2025
    #k8s #tech #devops #thoughts
  • 💭 pypeaday/whose-turn-is-it: Simple uv webapp to determine order...

    We pray together as a family every night, but every single flipping night my daughter's fight about the order we go in..

    June 20, 2025
    #homelab #tech #reflection #thoughts
  • 💭 Microsoft planning thousands of job cuts aimed at salespeople,...

    more cuts for the sake of AI investment... this is getting out of hand. I'm thankful that I don't work in a field that w

    June 19, 2025
    #layoffs #microsoft #tech #thoughts
  • Homelab Youtube Podcasts to AudioBookShelf Pipeline

    I wrote about using [[homelab-pinchflat]] for at-home mashup creation and a song flow for church. But I use it for more than, that and here's another prime

    Homelab Youtube Podcasts to AudioBookShelf Pipeline cover image
    June 18, 2025
    #homelab #tech #audiobookshelf #pinchflat
  • 💭 neverjust

    Your "just" comes from seeing only the surface of the problem. Like an iceberg, what's visible is just a fraction This

    June 18, 2025
    #just #dev #tech #thoughts
  • Stable Diffusion QR Codes for Josh

    After my blunder! ![20250627111955_e86d5db2.png](https://cdn.statically.io/gh/pypeaday/images.pype.dev/main/blog-media/20250627111955_e86d5db2.png) (fjords of F

    June 17, 2025
    #homelab #tech #digital-harbor #qr #stable-diffusion
  • source_up for nested .envrc

    TLDR I have a use case for nesting directories with cascading .envrc files. and ran into an issue where the parent environment was being reset by the child envi

    source_up for nested .envrc cover image
    June 17, 2025
    #homelab #tech #direnv #cli
  • 💭 Snowflake Status - Certificate Authority Update for AWS Regions

    A recent Snowflake issue borked some old pipelines - thankfully it appears to be a simple fix. Just goes to show you tha

    June 16, 2025
    #snowflake #tech #python #thoughts
  • U-Blue Aurora Upgrade Broke HWA Docker

    I use Universal Blue's [Aurora](https://getaurora.dev/en) distribution on my daily driver desktop, and I rebooted today which led what I imagine is a kerne

    U-Blue Aurora Upgrade Broke HWA Docker cover image
    June 15, 2025
    #homelab #tech #universal-blue
  • Homelab Pinchflat

    Why? I've written about [[self-hosted-media]] before and addressed some thoughts with YouTube. Lately though I've had 2 use cases for offline YouTube

    Homelab Pinchflat cover image
    June 14, 2025
    #homelab #tech
  • If You Want Something Make It So - Song Style

    In grad school a professor of mine, Mark Hunacek, said one of the most profound things I've ever heard to the tune "if you want it, then make it so&qu

    If You Want Something Make It So - Song Style cover image
    June 14, 2025
    #homelab #tech #series-if-you-want-it-make-it-so #music
  • ZSA typing challenge issue

    ZSA I love [zsa](https://zsa.io) and have been using a moonlander for a few years now. They recently launched [typ.ing](https://typ.ing) as a way to train your

    June 13, 2025
    #homelab #tech #zsa #typing
  • Double Check Your DNS Records

    My Blog I host [my blog](https://pype.dev) on cloudflare and manage my infra with terraform. I got a 522 when I went to `https://www.pype.dev` recently and I wo

    Double Check Your DNS Records cover image
    June 13, 2025
    #homelab #tech #dns #terraform #cloudflare
  • 💭 "We would be less confidential than Google" – Proton threatens...

    I've been a proton user for several years now, and pay a decently hefty subscription fee for some of their services that

    June 13, 2025
    #proton #email #security #privacy #tech #thoughts
  • Example For Andrew

    ![20250608194801_809d5306.png](https://cdn.statically.io/gh/pypeaday/images.pype.dev/main/blog-media/20250608194801_809d5306.png)

    June 08, 2025
    #homelab #homelab #tech
  • I built a simple app for adding images to my blog

    Quick Deets I built a simple fastAPI app called "shotput" that I run locally inside a git repo where I save images for my blog. The app is simple: upl

    June 07, 2025
    #homelab #tech #python #uv
  • Double check your CIDR blocks!

    tl;dr Copy paste - don't rely on typing correctly... The Issue I use tailscale at home and generally love it. One thing I use it for is whitelisting - so I

    June 07, 2025
    #homelab #tech #tailscale #til
  • homelab-journey-part-1

    Introduction I want to start writing about my homelab and this first post can be a short introduction to how I got into homelabbing and a review of my current h

    June 05, 2025
    #homelab #tech #series-homelab
  • Backups interrupted by full disk usage

    I just got a message from HCIO that my primary backup script is late... This happens every now and then but I decided to check on it... Quickly `ssh` in and I n

    June 03, 2025
    #homelab #tech
  • Windows Update Broke Wifi

    Windows Update Behind My Back After an unapproved windows update on a machine I help administer for my church, the wifi became super finnicky. I had installed a

    June 01, 2025
    #tech #windows
  • homelab-computer-vision-pipelines

    Done in 11 seconds! Subtitle and audio files are in the outputs folder. I wanted to talk through an idea I have for some computer vision pipelines at home. I he

    May 31, 2025
    #tech #homelab #tech
  • Aurora U-Blue ZRAM Config

    I keep running out of space with my swap getting maxxed out... I don't know why but U-Blue uses Zram already and apparently I can easily override the defau

    May 27, 2025
    #infrastructure #infrastructure #tech #til
  • Backups are dope

    I accidently chown'd -R an app directory and it totally screwed up the database folder. Luckily I zfs replicate my docker volumes to another drive even on

    May 27, 2025
    #tech #homelab #zfs #til
  • Pandas.DataFrame info always answers and is sometimes right

    TIL Today I learned that the `.info()` of a `pandas.DataFrame` will always give you an answer, but it is wildly difficult to know how accurate it is, because it

    May 26, 2025
    #python #tech #til
  • SearXNG

    I heard about [SearXNG](https://searxng.org) on a couple podcasts and saw it trending on GitHub several times before I finally decided to stand it up. I used i

    May 25, 2025
    #homelab #tech #til
  • My MCP Configuration

    My MCP The Tools Docker RAGDocs Sequential Thinking Git Not Tried Yet https://github.com/modelcontextprotocol/servers/tree/main/src/sqlite The Config

    April 27, 2025
    #python #tech #tech
  • 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
  • Grafana + Gotify for push notifications

    It's easy to configure push notifications through Gotify from Grafana by setting up a generic `Webhook` Alerting Contact Point... The parameters are: HTTP

    April 07, 2025
    #infrastructure #homelab #tech #til
  • 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
  • Recovering from zpool corruption when you're short a drive

    can only mount tank RO so can't rename also can't detach which is what I'd want Could import pool witn -N to not mount any datasets detach and at

    February 03, 2025
    #infrastructure #zfs #tech
  • The Importance of Nostr According to ChatGPT

    Disclaimer This was written by ChatGPT with zero oversight from me. There are a few things that are not 100% accurate, but the main idea is there... I am hoping

    January 24, 2025
    #nostr #tech
  • Deployments are not StatefulSets

    I was debugging some ArgoCD stuff earlier today and I love using k9s to explore my k8s resources. The TLDR is that I put some bad env vars in the `global` value

    January 15, 2025
    #infrastructure #tech #k8s #til
  • docker context (and an issue to question your sanity)

    docker contexts are great, would recommend putting them in your prompt though (via starship or something else)... here's why I like to manage my containers

    December 19, 2024
    #python #terminal #tech #til
  • Add a healthcheck to your FastAPI app

    I'm building a few FastAPI apps to throw in docker and run on my homelab... I wanted to add healthchecks and here's a simple way to do it Make sure to

    December 15, 2024
    #python #homelab #tech #til
  • statically.io to help me out

    [statically.io](https://statically.io) offers a CDN that I'm going to try to lean into for images in my blog. My hope is that the builds get and stay fast,

    December 14, 2024
    #infrastructure #tech #webdev #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
  • Stylus for custom webpage themes

    the Logos web app is DISGUSTINGY bright/white - enough to actually ruin your morning... Thankfully there's an extension called [stylus](https://addons.mozi

    November 27, 2024
    #tech #logos #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
  • OPNSense Bootstrap Recovery

    enabling DHCP WAN port (`dhclient <iface>`)- running the bootstrap script - `sh /usr/local/sbin/opnsense-bootstrap`

    November 07, 2024
    #infrastructure #homelab #tech #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
  • Switching from AltaCV to RenderCV for my Resume

    I was using a fun LaTex-based project for managing my resume called [AltaCV](https://github.com/liantze/AltaCV). I loved the customization and was familiar with

    August 01, 2024
    #python #tech
  • 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
  • Customize K9s

    To customize k9s use the skins from catppuccin or the ones k9s supplies Then edit your k9s config Other k9s skins are available [here](https://github.com/derail

    May 06, 2024
    #cli #homelab #tech #k8s #til
  • Kanboard to keep me focused on my own ideas

    TL;DR I've been using kanboard as a self-hosted kanban board. It's keeping me focused on [Digital Harbor](https://myditialharbor.com) when I'd ra

    April 20, 2024
    #homelab #tech
  • 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
  • Simple Port Forwarding OPNSense

    https://forum.opnsense.org/index.php?topic=8783.0

    October 17, 2023
    #homelab #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
  • lsof to find what's using your filesystem

    lsof | grep /tank/nas shows me what is using my nas at any time!

    April 09, 2023
    #zfs #homelab #tech #til
  • Changing ZFS key for child datasets of encrypted dataset after migration

    ➜ pihole sudo zfs load-key -L file:///path/to/.zfs.tank.key tank/encrypted/vms/arch-sandbox ➜ pihole sudo zfs change-key -o keylocation=file:///path/to/.zfs.tan

    April 08, 2023
    #zfs #homelab #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
  • Stable Diffusion Notes

    ChatGPT Prompt: Stable Diffusion is an AI art generation model similar to DALLE-2. Here are some prompts for generating art with Stable Diffusion. Example: A gh

    January 28, 2023
    #homelab #data #tech
  • FFMPEG 10-bit videos to 8-bit

    `ffmpeg -i input.mp4 -map 0 -c:v libx264 -vf format=yuv420p -c:a copy output.mp4`

    January 16, 2023
    #cli #homelab #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
  • Nextcloud Docker Upgrade Error

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

    December 28, 2022
    #homelab #linux #tech
  • Modal Labs

    Playing around with Modal Labs One of the first things I tried was a regular cron job... This can get deployed with `modal deploy --name <app name> <pa

    December 28, 2022
    #python #cli #tech
  • 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
  • Systemd timer for syncoid

    I have a bash script called `syncoid-job` which boils down to a barebones - I want to run this script hourly but as my user (notice the no-privilege-elevation f

    December 21, 2022
    #zfs #homelab #tech
  • 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
  • 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
  • Cron for Nextcloud in Docker

    AJAX wasn't cutting it, traditional crontab in containers doesn't make much sense to me, webcron is recommended but I don't want to register with

    December 13, 2022
    #homelab #docker #tech #til
  • Call basicConfig to get Python log messages in iPython

    Logging instead of printing I am trying to adopt `logger.debug` instead of `print` but ran into a confusing thing in ipython during Advent of Code... I riddled

    December 10, 2022
    #python #cli #tech #til
  • New lines in Markdown tables

    I wanted to break down some long lines in a Markdown table cell to make it look nicer on my blog but \n didn't do anything for me... turns out <br/>

    November 25, 2022
    #vim #webdev #tech #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
  • Case-insensitive search in Vim

    /mysearch\c will match mysearch, MYSEARCH, mYSeArCh...

    October 21, 2022
    #vim #tech #til
  • Limit zfs list to avoid docker vomit

    zfs list has a flag -r, but if you use zfs driver for docker then you'll get flooded with every docker volume in the world. zfs list -r -d N will limit the

    October 20, 2022
    #zfs #cli #tech #til
  • You can embed gifs?!

    I learned you can embed gifs and stuch in things other than GH personal pages! So here I'll keep ones I like and might use later

    October 09, 2022
    #homelab #webdev #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
  • Quick setup of ZFS encrytped datasets with sane permissions

    Assuming you have a pool called `tank`... And assuming you have an encrypted dataset (See [Jim Saltar's short intro](https://arstechnica.com/gadgets/2021/0

    October 06, 2022
    #zfs #homelab #tech #til
  • Check Your BIOS Version On Ubuntu

    sudo dmidecode -s bios-version

    October 02, 2022
    #linux #cli #tech #til
  • Destroying Tmux sessions with fzf

    I use Tmux and Vim for most of my workflow, but I end up with a lot of dangling tmux sessions that dont' really need to persist... but killing them one at

    September 15, 2022
    #cli #bash #tech #til
  • Trick to login to web server on another box on lan

    TODO: change title - add --listen or --host or something as 0.0.0.0... that way it listens not on localhost or 127.0.0.1, but on all addresses!

    September 12, 2022
    #homelab #cli #tech #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
  • Benchmark your disks with fio

    Intro I use ZFS at home in my homelab for basically all of my storage... Docker uses ZFS backend, all my VMs have their `.qcow2` images in their own zfs dataset

    August 27, 2022
    #python #zfs #tech
  • Playing with mdformat

    August 23, 2022
    #python #vim #tech #til
  • Paperless-NGX filtering on IDs instead of values

    To filter for saved views from the admin console you have to use the `id` of the tag you are using to filter on... Ex: filtering for tags "Inbox" does

    August 09, 2022
    #homelab #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
  • Xrdp-Authentication-Required-To-Create-Managed-Color-Device

    I just need to RDP into an Ubuntu box via Remmina and everytime I login I have to authenticate to create a color managed device... which I don't even know

    Xrdp-Authentication-Required-To-Create-Managed-Color-Device cover image
    July 18, 2022
    #homelab #tech #til
  • Self-hosted Docker registry with proxy pull through

    I decided that I want to self-host all my docker images for the purposes of regularly rebuilding and security scanning. The first step is to set up a registry,

    July 06, 2022
    #homelab #zfs #tech
  • 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
  • Adding IP Camera to motionEye on Home Assistant OS

    Dropdown menue in upper left - doesn't look like one but just click the name of the current device. URL will be `rtsp://<ip address>` <- this was

    June 26, 2022
    #homelab #tech #cameras #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
  • Add colored indicators to your dataframes html representation

    [Mike Driscoll](https://twitter.com/driscollis) recently tweeted about making colored out with pandas DataFrames and I just had to try it for myself Use Case Fi

    June 04, 2022
    #python #data #tech #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
  • arr client config

    TIL that when setting up download clients for radarr/sonarr/lidarr/readarr/bazarr/prowlarr that you can utilize internal DNS and instead of hardcoding an IP add

    May 28, 2022
    #homelab #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
  • Tdarr worker nodes share the cache!

    When working with tdarr remote nodes, they need to have access not only to the same libraries but also the same transcode cache as the server otherwise the tran

    May 25, 2022
    #homelab #tech #til
  • One click to dockerized app from Portainer!

    I use portainer to monitor my docker applications at home. I like that it shows me which ports are mapped where for every container all in one view but every ti

    May 24, 2022
    #homelab #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
  • Local DNS with Pi-hole

    I get https URLs and domain resolution at home with pihole's DNS/CNAME records

    May 23, 2022
    #homelab #tech #til
  • 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
  • How I use Nextcloud for safe central storage

    Setup admin External Storage extension Add my nas zfs dataset chown -R www-data:www-data on anything nextcloud uploads to.

    May 19, 2022
    #homelab #zfs #tech
  • Subset a list based on values in another list with itertools.compress

    I have list [True, False, False, True] and another list [1, 2, 3, 4] and a use case where I want to filter list 2 based on list 1 to remove values that line up

    May 19, 2022
    #python #tech #til
  • See ZFS snapshot disk usage

    As I was cleaning up my NAS recently I noticed that I ran out of storage even though my disk usage looked pretty low... turns out I was keeping a mega-ton of ZF

    May 19, 2022
    #zfs #homelab #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
  • Nextcloud permissions with ZFS and Ansible-NAS

    TL;DR As the nextcloud docs say... if you want to write to an external volume that location has to be writeable by the user/group `www-data` on the host system.

    May 19, 2022
    #homelab #zfs #tech #til
  • Plug Snapshot!

    :PlugSnapshot, :w ~/dotfiles/nvim/snapshot.vim... keep your config safe with git!

    May 17, 2022
    #vim #tech #til
  • Filepath Completion in Neovim

    I've had `Plug 'hrsh7th/cmp-path'` in my plugins for ever but didn't notice until recently that I wasn't getting any filepath completio

    May 17, 2022
    #vim #tech #til
  • Dynamic-Form-Values-With-Jinja-And-Fastapi

    I'm currently working on a self-hostable wish list app using FastAPI so we can finally drop Amazon forever. (The lists funcionality has been super handy fo

    Dynamic-Form-Values-With-Jinja-And-Fastapi cover image
    May 15, 2022
    #python #tech
  • Forms with FastAPI and Jinja

    I just started using FastAPI for a home project and needed to pass back a dynamic number of values from a form rendered with jinja... Dynamic Values The jinja t

    Forms with FastAPI and Jinja cover image
    May 15, 2022
    #python #tech #til
  • Plug-Snapshot-To-Save-Your-Life

    If you use vim-plug for managing your vim plugins, do yourself a favor and snapshot your plugins before upgrading! `:PlugSnapshot` creates a vim.snapshot file

    Plug-Snapshot-To-Save-Your-Life cover image
    May 13, 2022
    #tech #til
  • Python-Eval

    TODO

    Python-Eval cover image
    May 12, 2022
    #tech #python #til
  • Dataframe-To-Markdown

    Pandas `pandas.DataFrame`s are pretty sweet data structures in Python. I do a lot of work with tabular data and one thing I have incorporated into some of that

    Dataframe-To-Markdown cover image
    May 07, 2022
    #python #tech #til
  • Dataframe-To-Styled-Html

    I wrote up a little on exporting DataFrames to markdown and html [here](/dataframe-to-markdown) But I've been playing with a web app for with lists and whi

    Dataframe-To-Styled-Html cover image
    May 07, 2022
    #python #tech #til
  • Wish-List-With-Fastapi

    Amazon has crossed the line with me just one too many times now so we are looking to drop them like every other Big Tech provider.... However, one key feature o

    Wish-List-With-Fastapi cover image
    May 06, 2022
    #python #blog #tech
  • Git-Bisect

    I try to commit a lot, and I also try to write useful tests appropriate for the scope of work I'm focusing on, but sometimes I drop the ball... Whether by

    Git-Bisect cover image
    May 03, 2022
    #git #tech #til
  • Pandas-String-Contains

    TL;DR `pandas.Series.str.contains` accepts regular expressions and this is turned on by __default__! Use case We often need to filter pandas DataFrames based on

    Pandas-String-Contains cover image
    May 02, 2022
    #python #tech #til
  • Tdarr

    Tdarr cover image
    April 28, 2022
    #blog #homelab #tech
  • Htop

    `htop` is a common command line tool for seeing interactive output of your system resource utilization, running processes, etc. I've always been super conf

    Htop cover image
    April 24, 2022
    #til #tech
  • Unpack-Anywhere-With-Star

    Unpacking iterables in python with `*` is a pretty handy trick for writing code that is just a tiny bit more pythonic than not. But [@Ned Batchelder](https://tw

    Unpack-Anywhere-With-Star cover image
    April 24, 2022
    #python #tech #til
  • Pipx

    `pipx` is a tool I've been using to solve a few problems of mine... pinning formatting tools like `black`, `flake8`, `isort`, etc. to the same version for

    Pipx cover image
    April 22, 2022
    #til #python #tech
  • Fx-Json

    [fx](https://github.com/antonmedv/fx) is an interactaive JSON viewer for the terminal. It's a simple tool built with Charmcli's Bubble Tea. Installati

    Fx-Json cover image
    April 19, 2022
    #til #tech
  • Jellyfin-Media-Players

    I use Jellyfin at home for serving up most of our media - movies and shows etc. My dream is to have a GPU capable of transcoding any and all of our media for sm

    Jellyfin-Media-Players cover image
    April 17, 2022
    #homelab #tech
  • 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
  • Terraform-01

    I've started using [Terraform](https://www.terraform.io/) to manage Snowflake infrastructure at work. I'm still a noobie but I've got a workflow

    Terraform-01 cover image
    April 15, 2022
    #homelab #tech
  • Typeddict

    Type hinting has helped me write code almost as much, if not more, than unit testing. One thing I love is that with complete type hinting you get a lot more out

    Typeddict cover image
    April 15, 2022
    #til #python #tech
  • Home-Server-Refactor

    My current homelab setup is not great but it works... Proxmox on PowerEdge R610 I boot off an SD card and have 1 SSD and 5 HDDs configured as a JBOD array using

    Home-Server-Refactor cover image
    April 10, 2022
    #blog #tech
  • And-vs-&

    I often struggle to remember the correct way to do `and` type comparisons when working in pandas. I remember learning long long ago that `and` and `&` are d

    And-vs-& cover image
    April 06, 2022
    #python #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
  • Ipython-Prompt

    I have a [post on starship](/starship) where I have some notes on how I use starship to make my zsh experience great with a sweet terminal prompt. Now... I spen

    Ipython-Prompt cover image
    April 02, 2022
    #python #tech
  • 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
  • Vim-Spell-Check

    __Did you know you can spell check in Vim?!__ What is this magic??? `set: spell spelllang=en_us` Custom words? Sometimes there's things that are words to y

    Vim-Spell-Check cover image
    April 01, 2022
    #vim #tech #til
  • Plotly-And-Streamlit

    Streamlit I use `streamlit` for any EDA I ever have to do at work. It's super easy to spin up a small dashboard to filter and view dataframes in, live, wit

    Plotly-And-Streamlit cover image
    March 31, 2022
    #python #tech
  • Deques

    I am working on a project to create a small system monitoring dashboard using the python `psutil` library. The repo is [here](https://github.com/nicpayne713/not

    Deques cover image
    March 31, 2022
    #python #tech #til
  • 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
  • self-hosted-media

    Self-hosting 1 or several media servers is another common homelab use-case. Getting content for your media servers is up to you, but I'll show a few ways h

    self-hosted-media cover image
    March 24, 2022
    #python #homelab #tech #series-homelab
  • Truenas-And-Wireguard

    NAS One of the most common use cases for self-hosting anything is a file share system. I have been a fan of [TrueNAS](https://www.truenas.com/) for a while. I

    Truenas-And-Wireguard cover image
    March 23, 2022
    #homelab #tech
  • Skimpy

    EDA I work with data a lot, but the nature of my job isn't to dive super deep into a small amount of datasets, I'm often jumping between several proje

    Skimpy cover image
    March 23, 2022
    #python #homepage #tech #til
  • Pyclean

    I like to keep my workspace clean and one thing that I don't personally love looking at is the `__pycache__` directory that pops up after running some code

    Pyclean cover image
    March 22, 2022
    #python #tech #til
  • Psutil-01

    [Mike Driscoll](https://twitter.com/driscollis) has been posting some awesome posts about `psutil` lately. I'm interested in making my own system monitorin

    Psutil-01 cover image
    March 16, 2022
    #python #tech #til
  • Mu

    If you work with a template for several projects then you might sometimes need to do the same action across all repos. A good example of this is updating a pack

    Mu cover image
    March 15, 2022
    #python #git #tech #til
  • Wireguard

    VPN Virtual Private Networks are a big deal, and this shouldn't be considered anything even close to a guide on using them. Here are just my notes and some

    Wireguard cover image
    March 12, 2022
    #homelab #homepage #tech
  • Git-Worktrees-01

    Git Hopefully if you write code you are using git, if not go learn the basics of `commit`, `pull`, `push`, and `pull request`/`merge request` like... right now.

    Git-Worktrees-01 cover image
    March 11, 2022
    #git #tech
  • Abstract-Base-Class

    ABCMeta I don't do a lot of OOP currently, but I have been on a few heavy OOP projects and this `ABCMeta` and `abstractmethod` from `abc` would've bee

    Abstract-Base-Class cover image
    March 09, 2022
    #python #tech #til
  • Python-Builtin-Calendar

    Being lazy I almost exclusively use Python for my job and have been eye-balls deep in it for almost 5 years but I really lack in-depth knowledge of builtins. I

    Python-Builtin-Calendar cover image
    March 08, 2022
    #python #tech #til
  • Python-F-String-Align

    I am personally trying to use `logger` instead of `print` in all of my code, however I learned from [@Python-Hub] that you can align printouts using `print` wi

    Python-F-String-Align cover image
    March 08, 2022
    #python #tech #til
  • Adblock-Coverage

    I run pi-hole at home for ad blocking and some internal DNS/DHCP handling. __pi hole posts on the way__ One thing I've never put too much thought in is ask

    Adblock-Coverage cover image
    March 07, 2022
    #homelab #til #tech
  • Dataframe-Memory-Usage

    I have often wanted to dive into memory usage for pandas DataFrames when it comes to cloud deployment. If I have a python process running on a server at home I

    Dataframe-Memory-Usage cover image
    March 07, 2022
    #python #tech #til
  • Traefik

    Traefik If you don't know about [traefik](https://doc.traefik.io/traefik/) and you need a reverse-proxy then you might want to check it out. I used to use

    Traefik cover image
    March 06, 2022
    #homelab #tech
  • Webservers-And-Indexes

    I host a lot of services in my homelab, but they're mostly dockerized applications so I have never had to care much about how content gets served up. Today

    Webservers-And-Indexes cover image
    March 06, 2022
    #homelab #tech #til
  • 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
  • Tiddly-Wiki

    [Tiddly Wiki](https://tiddlywiki.com/) is a great note taking utility for organizing non-linear notes. I used it to replace my OneNote workflow and my only comp

    Tiddly-Wiki cover image
    March 05, 2022
    #tech
  • Pandas-Select-Dtypes

    On my team we often have to change data types of columns in a `pandas.DataFrame` for a variety of reasons. The main one is it tends to be an artifact of EDA whe

    Pandas-Select-Dtypes cover image
    March 05, 2022
    #python #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
  • 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
  • Git ammend to a commit

    After carefully staging only lines related to a specific change and comitting I suddenly realized I missed one... darn, what do I do? Old me would have soft res

    Git ammend to a commit cover image
    March 04, 2022
    #git #tech #til
  • Vim-Auto-Space

    I ran into an issue where I had some copy-pasta markdown tables in a docstring but the generator I used to make the table gave me tabs instead of spaces in odd

    Vim-Auto-Space cover image
    March 04, 2022
    #vim #tech #til