Skip to content

Instantly share code, notes, and snippets.

Multicast DNS Daemon
umdns

//This is early stage documentation, but at least attempts to cover some basic usage, and bring umdns usage out of the dark.//

mDNS, also known as Bonjour or zero-configuration networking (ZeroConf) or DNS Service Discovery (DNS-SD), enables automatic discovery of computers, devices, and services on IP networks. It is an internet standard documented in RFC6762.

The packages:pkgdata:umdns package provides a compact implementation of this standard, well integrated with the OpenWrt system environment. In particular, almost all interaction with the daemon is via docs:guide-developer:ubus.

@kad
kad / rpi-aarch64.sh
Last active March 21, 2025 17:06
Create ArchLinux ARM bootstrap image for RPi
#!/bin/bash
mkdir aarch64
mount --bind aarch64 aarch64
pacstrap -c -K -M aarch64 base archlinuxarm-keyring dhcpcd \
net-tools openssh vi which \
firmware-raspberrypi linux-rpi \
iw ldns less openresolv \
wireless-regdb wireless_tools wpa_supplicant
@timothyham
timothyham / ipv6guide.md
Last active December 4, 2025 16:38
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@agyild
agyild / NVScaler.glsl
Last active December 14, 2025 00:53
NVIDIA Image Scaling v1.0.2 for mpv
// The MIT License(MIT)
//
// Copyright(c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files(the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions :
@agyild
agyild / FSR.glsl
Last active December 8, 2025 15:16
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@amitu
amitu / schema.sh
Last active June 28, 2020 01:34
citext for diesel/postgresql
diesel print-schema > src/schema.rs
sed -i '' -e 's/Citext/mycrate::sql_types::Citext/g' src/schema.rs
@igv
igv / SSimSuperRes.glsl
Last active November 22, 2025 22:25
Basically it's an accurate sharpener + antiringing. Usage: glsl-shader="~~/SSimSuperRes.glsl"
// SSimSuperRes by Shiandow
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU