Skip to content

Instantly share code, notes, and snippets.

View blebo's full-sized avatar

Adam Gibson blebo

View GitHub Profile

From Zero to OpenClaw on Proxmox LXC (Debian 13): A Real-World Build Log

I wanted a self-hosted OpenClaw deployment on Proxmox, reachable on my LAN, with:

  • Gemini API key support
  • Gemini CLI OAuth (Google AI Pro)
  • Telegram bot integration
  • Brave Search API integration
  • Browser tool support in an LXC
  • OpenRouter free model option (without Gemini CLI install)
@taslabs-net
taslabs-net / PVE9_TB4_Guide_Updated.md
Last active February 17, 2026 15:53
Thunderbolt4 mesh network

PVE 9.1.1 TB4 + Ceph Guide

2026-01-30 Created public repo in attempts to help. Not really sure what I'm doing in. repo. So.. be nice https://github.com/taslabs-net/proxmox-tb4

Updated as of: 2025-11-19 - Network architecture corrections applied


Network Architecture (UPDATED)

@kmille
kmille / How to use a TPM on Linux.md
Last active April 15, 2026 10:12
How to use a TPM on Linux

This is part of a blog post I wrote: https://debugging.works/blog/tpm-explained/

How to use a TPM on Linux

Prerequisites

  • I use it on Arch Linux (systemd 257.3-1)
  • Install dependency: yay tpm2-tools (5.7-1)

Do I have a TPM 2.0?

@wsargent
wsargent / jupyter_lab_config.py.j2
Last active March 14, 2025 03:09
Ansible playbook for installing Jupyter with miniconda and notebook_intelligence
---
- name: Provision JupyterLab on a VM
hosts: all
become: yes
vars_files:
- vars/main.yml
pre_tasks:
- name: Install system dependencies
import_tasks: tasks/system_deps.yml
@kobuki
kobuki / pmxcfs_extract.py
Last active April 25, 2026 09:27
Create file hierarchy from a Proxmox pmxcfs/pve-cluster SQLite config database
#!/usr/bin/env python3
# Simple Python 3 script to create a browsable file tree from a Proxmox pmxcfs config.db.
# Can be used for restore tasks or other investigation purposes.
import sqlite3
import os
import argparse
def create_hierarchy(db_file, output_dir):
@jaminmc
jaminmc / install_openwrt_proxmox.sh
Last active April 8, 2026 10:47
Install OpenWrt in a Container on Proxmox 8+!
#!/bin/bash
# Script to create an OpenWrt LXC container in Proxmox
# Supports stable, release candidates (with prompt if newer), and snapshots
# Robust template handling (reuse / redownload / corruption check)
# Aborts cleanly on Esc/Cancel in dialogs
# Default resource values
DEFAULT_MEMORY="256" # MB
DEFAULT_CORES="2" # CPU cores
@peppergrayxyz
peppergrayxyz / qemu-vulkan-virtio.md
Last active March 28, 2026 16:19
QEMU with VirtIO GPU Vulkan Support

QEMU with VirtIO GPU Vulkan Support

With its latest reales qemu added the Venus patches so that virtio-gpu now support venus encapsulation for vulkan. This is one more piece to the puzzle towards full Vulkan support.

An outdated blog post on clollabora described in 2021 how to enable 3D acceleration of Vulkan applications in QEMU through the Venus experimental Vulkan driver for VirtIO-GPU with a local development environment. Following up on the outdated write up, this is how its done today.

Definitions

Let's start with the brief description of the projects mentioned in the post & extend them:

@maur5
maur5 / mk_ubuntu.sh
Created November 22, 2024 22:53
Ubuntu Noble (6.8.0-48) on Proxmox 8.2.7 (6.8.12-4-pve) cloud-init i915-sriov-dkms
#!/usr/bin/bash
set -e
# References
# https://gist.github.com/scyto/e4e3de35ee23fdb4ae5d5a3b85c16ed3?permalink_comment_id=5266674#gistcomment-5266674
# https://github.com/UntouchedWagons/Ubuntu-CloudInit-Docs
# https://github.com/bbaa-bbaa/i915-sriov-dkms
# note to self: proxmox needs tools to inject things apt install --no-install-recommends --no-install-suggests guestfs-tools
# current as of now - this can probably be automated based on the image version - maybe deal with it when it's time to update
@milesrichardson
milesrichardson / open-vlc-m3u8-url-with-http.md
Created July 10, 2024 21:50
How to use VLC to watch m3u8 playlist at URL with custom HTTP referrer and user agent

Imagine this: it's Sunday afternoon at 1pm, and you want to watch some live content. But you don't have a TV subscription. So you do a little Googling, and eventually you find yourself on a sketchy website where you can watch the content you're looking for. But while the website has a video player, it's surrounded by advertisements, and probably a cryptominer too. You don't want this website eating your CPU for 2 hours while you're watching your favorite Sunday afternoon content.

Wouldn't it be nice if you could watch that video in VLC instead? Then you can close the sketchy website and still watch your content. It's like having your cake and taking a bite of it too!

Here's how you do it:

  1. Capture the m3u8 request in dev tools. Open the site (or just the iframe, if possible) in DevTools and click "play." Search the network tab for m3u8 and grab the first request.

  2. Run VLC with command line flags to set the User Agent and Referrer. From the request body, you need to copy the requested URL,

@emigrating
emigrating / vaultwarden_backup.sh
Created May 29, 2024 07:53
Quick and dirty VW backup script. Make sure to update/check the VAULTWARDEN and STORE paths if you use this.
#!/bin/bash
TYPE='2'
VERBOSE=''
STAMP=$(date +"%Y%m%d%H%M%S")
VAULTWARDEN=/home/arnehelseth/docker/vaultwarden
STORE=/home/arnehelseth/backups/vaultwarden
FPATH=${STORE:1}
BPATH=''