Skip to content

Instantly share code, notes, and snippets.

@1WorldCapture
1WorldCapture / supabase-keygen.sh
Last active February 26, 2026 16:12 — forked from vpcano/supabase-keygen.sh
Script to create a pair of asymmetric JWT keys for self-hosted Supabase
#!/usr/bin/env bash
#
# ==========================================
# SUPABASE ASYMMETRIC KEY GENERATOR (CLI)
# ==========================================
#
# Generates an asymmetric signing key for self-hosted Supabase (ES256/RS256),
# exports:
# - JWT_SIGNING_KEYS (private JWK array for GoTrue)
# - JWT_JWKS (public JWKS for PostgREST/Realtime/Storage)
@1WorldCapture
1WorldCapture / neural_netowrk_graphviz.py
Last active March 3, 2024 01:53
[AI DIY] general python import statements in jupyter #python #jupyter
from graphviz import Digraph
def trace(root):
# builds a set of all nodes and edges in a graph
nodes,edges = set(), set()
def build(v):
if v not in nodes:
nodes.add(v)
for child in v._prev: