Skip to content

Instantly share code, notes, and snippets.

View JackieTreeh0rn's full-sized avatar
💾
$>sudo su

JackieTreeh0rn

💾
$>sudo su
View GitHub Profile
@wouterdebie
wouterdebie / comfyui_macos.sh
Last active August 10, 2025 08:55
ComfyUI MacOS Apple Silicon install
#!/bin/bash
set -e
brew install llvm libomp [email protected]
export CC=$(brew ls --verbose llvm | grep -e 'bin/clang$')
export CXX=$(brew ls --verbose llvm | grep -e 'bin/clang++$')
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3.11 -m venv venv
@mattdy
mattdy / .traefik-cloudflare-tunnel
Last active July 1, 2025 10:28
Traefik on Docker Swarm accessed via Cloudflare Tunnel
Please see https://mattdyson.org/blog/2024/02/using-traefik-with-cloudflare-tunnels for a detailed write-up of this configuration
@scyto
scyto / docker-auto-label.md
Last active May 11, 2025 20:17
docker auto label

Auto Label

This container puts a label on each machine based on a config that matches service names. If the service is running the label gets a 1 and if the label get as 0 its not running. this can be used with constraints to either locate serices on a node with another service OR make sure a service doesn't land on a node with another service

I would love to find a better version of this that does this without the need for the manual config file (you can use a file bindmount instead of a config if you prefer)

Swarm Consideration

State is all read-only in a config

@scyto
scyto / docker-swarm-architecture.md
Last active August 31, 2025 05:29
My Docker Swarm Architecture

This (and related gists) captures how i created my docker swarm architecture. This is intended mostly for my own notes incase i need to re-creeate anything later! As such expect some typos and possibly even an error...

Installation Step-by-Step

Each major task has its own gist, this is to help with maitainability long term.

  1. Install Debian VM for each docker host
  2. install Docker
  3. Configure Docker Swarm
  4. Install Portainer
  5. Install KeepaliveD
  6. Using VirtioFS backed by CephFS for bind mounts (migrating from glsuterFS - WIP)
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active August 31, 2025 16:41
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@0xjac
0xjac / private_fork.md
Last active September 1, 2025 11:13
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@shmup
shmup / torrents.md
Last active July 5, 2025 22:03
transmission blocklist guide

Transmission Blocklist

The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.

It's as simple as downloading and installing the latest client: