Skip to content

Instantly share code, notes, and snippets.

@kustomzone
kustomzone / app.py
Created March 29, 2025 10:49 — forked from pims/app.py
Example of running a python script via python-wasi using the wasmtime wasm runtime
print("hello from a python script")
@kustomzone
kustomzone / peer-manager.sh
Created September 28, 2025 09:19 — forked from sanity/peer-manager.sh
Freenet Peer Manager - Systemd-based peer lifecycle management
#!/bin/bash
set -e
BASE_DIR="/mnt/media/freenet-peers"
PEERS_DIR="$BASE_DIR/peers"
STATE_DIR="$BASE_DIR/state"
CONFIG_FILE="$STATE_DIR/peer-config.json"
FREENET_BIN="/usr/local/bin/freenet"
GATEWAY_ADDR="127.0.0.1:31337"
@kustomzone
kustomzone / old-config.log
Created December 24, 2025 01:52
Dec24-Invite-Win10-old-config
PS C:\Temp> freenet
warning: some trace filter directives would enable traces that are disabled statically
| `debug` would enable the DEBUG level for all targets
= note: the static max level is `info`
= help: to enable DEBUG logging, remove the `max_level_info` feature from the `tracing` crate
2025-12-24T01:39:52.064079Z INFO freenet: Tokio runtime configured with bounded blocking thread pool, max_blocking_threads: 24
at C:\Users\Administrator\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\freenet-0.1.58\src\bin\freenet.rs:232
2025-12-24T01:39:53.193715Z INFO freenet::config: Replacing local gateways with gateways from remote index, gateway_count: 1
at C:\Users\Administrator\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\freenet-0.1.58\src\config\mod.rs:344
@kustomzone
kustomzone / new-config.log
Created December 24, 2025 01:53
Dec24-Invite-Win10-new-config
PS C:\Temp> freenet
warning: some trace filter directives would enable traces that are disabled statically
| `debug` would enable the DEBUG level for all targets
= note: the static max level is `info`
= help: to enable DEBUG logging, remove the `max_level_info` feature from the `tracing` crate
2025-12-24T01:43:48.107972Z INFO freenet: Tokio runtime configured with bounded blocking thread pool, max_blocking_threads: 24
at C:\Users\Administrator\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\freenet-0.1.58\src\bin\freenet.rs:232
2025-12-24T01:43:49.850112Z INFO freenet::config: Replacing local gateways with gateways from remote index, gateway_count: 1
at C:\Users\Administrator\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\freenet-0.1.58\src\config\mod.rs:344
@kustomzone
kustomzone / index.html
Created May 29, 2026 03:20 — forked from senko/index.html
RTS game by Opus 4.8 with ultracode via Claude Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Frontier Foundry — RTS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
{
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "MiniMaxH3\\MiniMax_H3_Ref2VA_pruned_nvfp4.safetensors",
"weight_dtype": "default"
}
},
"2": {
"class_type": "CLIPLoader",
{"id": "e3f2b845-8f2c-4b5a-9caf-eac1029d3e7e", "revision": 0, "last_node_id": 1301, "last_link_id": 2087, "nodes": [{"id": 724, "type": "SetNode", "pos": [292, 5292], "size": [212, 60], "flags": {"collapsed": true}, "order": 127, "mode": 0, "inputs": [{"name": "SIGMAS", "type": "SIGMAS", "link": 1338}], "outputs": [{"name": "SIGMAS", "type": "SIGMAS", "links": null}], "title": "Set_Sigmas", "properties": {"Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "Sigmas", "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}, "widgets_values": ["Sigmas"], "color": "#485248", "bgcolor": "#272e27"}, {"id": 705, "type": "SetNode", "pos": [292, 5324], "size": [212, 60], "flags": {"collapsed": true}, "order": 128, "mode": 0, "inputs": [{"name": "FLOAT", "type": "FLOAT", "link": 1339}], "outputs": [{"name": "FLOAT", "type": "FLOAT", "links": null}], "title": "Set_FPS", "properties": {"Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes",