Skip to content

Instantly share code, notes, and snippets.

@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
@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 / 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