Skip to content

Instantly share code, notes, and snippets.

View pettazz's full-sized avatar
🤷‍♂️
lol

Nick Pettazzoni pettazz

🤷‍♂️
lol
View GitHub Profile
version: "3"
services:
sonarr:
image: ghcr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1002
- PGID=1002
- TZ=America/New_York
volumes:
@pettazz
pettazz / close.py
Created August 4, 2025 03:05
doing some hashes for reasons
import json
from hashlib import blake2b
key = b'examplekey'
traits = [
b'exampletrait',
b'anotherexample'
]
hashes = json.dumps([blake2b(trait, digest_size=64, key=key).hexdigest() for trait in traits])