Skip to content

Instantly share code, notes, and snippets.

@ts-sz
ts-sz / hermes-agent-pubkey.pub
Created July 30, 2026 15:16
XO One (Hermes agent) SSH public key - ed25519
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgmN+oZjWaL97ZbcN1PPoCsQKESAVxRGqTQxD4yJLZj hermes@xo-one-hermes
@ts-sz
ts-sz / hermes-xo-one.pub
Created July 23, 2026 09:43
XO One (hermes) SSH public key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgmN+oZjWaL97ZbcN1PPoCsQKESAVxRGqTQxD4yJLZj hermes@xo-one-hermes
@ts-sz
ts-sz / bore-connect.sh
Last active August 2, 2026 23:46
bore-connect.sh - SSH tunnel via bore.pub (hermes-agent + Val keys)
#!/bin/sh
# bore-connect.sh - SSH tunnel via our self-hosted relay edge.sh.zone
# Usage: curl -sSL <GIST_URL> | sh
# Optional: BORE_PORT=<local sshd port> (default 34522)
# TUNNEL_PORT=<20200-20300> (default: RANDOM in 20200-20300, public port on edge.sh.zone)
# INCLUDE_VAL_KEY=1 (also install Val's personal key)
# BORE_DL_DIR=<dir> (override the static-binary download dir)
# SHOW_VERSION_ONLY=1 (print version + platform banner, then exit)
#
# Key hardening:
@ts-sz
ts-sz / models_to_config.py
Last active March 29, 2026 22:30
Convert /v1/models response to OpenClaw models config block
#!/usr/bin/env python3
"""
Convert /v1/models response to OpenClaw models config block.
Usage:
# Print standalone models JSON to stdout:
python3 models_to_config.py
# Merge into an existing config file (replaces agents.defaults.models in-place):
python3 models_to_config.py --config config.json
@ts-sz
ts-sz / bore-connect.sh
Last active February 16, 2026 22:39
XO One - bore SSH tunnel
#!/bin/sh
# bore-connect.sh - XO One SSH tunnel via bore
# Usage: bore-connect.sh <LOCAL_PORT>
# e.g. bore-connect.sh 22
# e.g. bore-connect.sh 8006
# e.g. BORE_PORT=443 bore-connect.sh
set -e
PORT="${BORE_PORT:-${1:-}}"
@ts-sz
ts-sz / README.md
Last active August 21, 2025 14:37
Universal Linux System Anonymization Script - Clean and anonymize any Linux system before cloning or imaging

Universal Linux System Anonymization Script

License: MIT Version Linux

Overview

A comprehensive bash script for complete Linux system anonymization and cleanup. This script prepares Linux systems for cloning, imaging, or template creation by removing all identifying information, logs, and temporary data.

Proxmox VE Installation on Hetzner Server via Rescue System

Follow these steps to install Proxmox VE on a Hetzner server via the Rescue System. The Rescue System is a Linux-based environment that can be booted into to perform system recovery tasks. We'll be using it to install Proxmox VE.

In order to complete the process, it is indeed necessary to first boot into the Rescue System and then connect to it via SSH. This will allow you to run the commands for installing Proxmox VE. Here are the steps:

Starting the Rescue System

  1. Log into the Hetzner Robot.
  2. Under "Main Functions; Server" select the desired server and then open the tab "Rescue".
@ts-sz
ts-sz / pvenode-rename
Created January 30, 2022 15:46 — forked from pierew/pvenode-rename
Changing a Proxmox VE Nodes name when it is not in a cluster
OLDNAME=$(hostname)
hostnamectl set-hostname ${1}
mkdir -p /etc/pve/nodes/${1}
cp -a /etc/pve/nodes/${OLDNAME} /etc/pve/nodes/${1}
echo 'A reboot is required, Exit with CTRL-C'
read
@ts-sz
ts-sz / reset-proxmox-cluster.sh
Created September 29, 2021 18:21 — forked from nderjung/reset-proxmox-cluster.sh
Reset proxmox cluster
#/bin/bash -xe
systemctl stop pvestatd.service
systemctl stop pvedaemon.service
systemctl stop pve-cluster.service
systemctl stop corosync
systemctl stop pve-cluster
sqlite3 /var/lib/pve-cluster/config.db "delete from tree where name = 'corosync.conf';"
#!/bin/sh
#######################################################
#
# Edits the proxmox Subscription file to make it
# think that it has a Subscription.
#
# Will disable the annoying login message about
# missing subscription.
#