Skip to content

Instantly share code, notes, and snippets.

@leafonthewind
leafonthewind / 1 - Create Template VM.md
Created July 19, 2024 20:41
Proxmox Cloud Init Debian

Get the cloud-init image.

wget https://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2

The downloaded image does not include quemu-guest-agent which I want to have in order for Proxmox to show details about the VM.

SSH into the Proxmox node and run:

@leafonthewind
leafonthewind / jellyfin.sources.j2
Last active May 22, 2024 15:21
Jellyfin Ansible Playbook
# Template jellyfin/templates/jellyfin.sources.j2
Types: deb
URIs: https://repo.jellyfin.org/{{ VERSION_OS }}
Suites: {{ VERSION_CODENAME }}
Components: main
Architectures: {{ DPKG_ARCHITECTURE }}
Signed-By: /etc/apt/keyrings/jellyfin.gpg
@leafonthewind
leafonthewind / ddclient.conf
Created August 31, 2023 21:39
Sample ddclient config
# /etc/ddclient/ddclient.conf
ssl=yes
daemon=600
syslog=yes
pid=/var/run/ddclient.pid
use=web # get IP with website below
web='https://cloudflare.com/cdn-cgi/trace'
web-skip='ip=' # IP address above is after 'ip='
@leafonthewind
leafonthewind / ContentView.swift
Created June 6, 2023 21:38
Dynamically filtering @query with SwiftUI + SwiftData
//
// ContentView.swift
// SwiftDataTest
//
// Created by Matthew Edwards on 6/6/23.
//
import SwiftUI
import SwiftData