Skip to content

Instantly share code, notes, and snippets.

r4---sn--cxaaj5o5q5-tt16.googlevideo.com
r2---sn--u2oxu-2v16.googlevideo.com
r3---sn--q5u5bgv02-3c26.googlevideo.com
r7---sn--w5nuxa-o536.googlevideo.com
r1---sn--nx5e6n76.googlevideo.com
r2---sn--nx5e6n76.googlevideo.com
r3---sn--nx5e6n76.googlevideo.com
r4---sn--nx5e6n76.googlevideo.com
r5---sn--nx5e6n76.googlevideo.com
r6---sn--nx5e6n76.googlevideo.com
@bao3
bao3 / homebridge-setup.sh
Created May 21, 2024 17:46 — forked from ohmantics/hb-setup.sh
Homebridge in an iocage jail
DATASET=/zroot/apps
# Create the jail
iocage create -n "homebridge" -r 13.1-RELEASE dhcp=1 bpf=1 vnet=1 allow_raw_sockets="1" boot="on"
# switch to Latest
iocage exec homebridge "mkdir -p /usr/local/etc/pkg/repos"
iocage exec homebridge "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
# Install Homebridge and dependencies

Ports used

Some of the exact port numbers seem to be different between installations. I'm not sure if any have to be as listed, but those were a working number I used at some point

Port Description Place Defined Open Port Unique
11000 Overworld server port Master/server.ini x x
11001 Cave server port Caves/server.ini x x
8768 Steam auth port for overworld Master/server.ini
8769 Steam auth port for cave Caves/server.ini
27018 Steam master server port for overworld Master/server.ini x
@bao3
bao3 / noVNCCopyPasteProxmox.user.js
Created February 26, 2025 15:29 — forked from amunchet/noVNCCopyPasteProxmox.user.js
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@bao3
bao3 / noVNCPasteProxmox.user.js
Created February 26, 2025 15:30 — forked from JonasKrausch/noVNCPasteProxmox.user.js
Paste Text into noVNC Proxmox (MacOS DE Keyboard)
// ==UserScript==
// @name noVNC Paste for Proxmox (German Mac Keyboard)
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Pastes text into a noVNC window (for use with Proxmox specifically) using German Mac keyboard layout
// @author Jonas Krausch
// @match https://*
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @include /^.*novnc.*/
// @icon https://www.google.com/s2/favicons?sz=64&domain=proxmox.com
@bao3
bao3 / install_openwrt_proxmox.sh
Created March 6, 2025 04:23 — forked from jaminmc/install_openwrt_proxmox.sh
Install OpenWrt in a Container on Proxmox 8+!
#!/bin/bash
# Script to create an OpenWrt LXC container in Proxmox
# Downloads from openwrt.org with latest stable or snapshot version, detects bridges/devices, IDs, configures network, sets optional password
# Pre-configures WAN/LAN in UCI, includes summary and confirmation, optional LuCI install for snapshots with apk
# Default resource values
DEFAULT_MEMORY="256" # MB
DEFAULT_CORES="2" # CPU cores
DEFAULT_STORAGE="0.5" # GB