Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import json
import os
import subprocess
import sys
import threading
import time
import webbrowser
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
from pathlib import Path
#!/bin/bash
set -euo pipefail
# Simple macOS (25/26 "Tahoe") build script for tinc using Meson/Ninja.
# Installs required Homebrew deps, configures PKG_CONFIG_PATH, applies Tahoe fix,
# and compiles into ./builddir. Safe to rerun.
if [[ "$(uname -s)" != "Darwin" ]]; then
echo "This script is intended for macOS." >&2
exit 1