Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / 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 / videos.js
Created May 27, 2021 04:52 — forked from pfrazee/videos.js
Script for encoding & compressing MP4s in the browser
import bytes from '../../vendor/bytes/index.js'
const MAX_WIDTH = 600
const MAX_HEIGHT = 600
const { createFFmpeg, fetchFile } = FFmpeg
let ffmpeg
export async function compressAndGetThumb (file, maxVideoSize, progressCb) {
const objectUrl = URL.createObjectURL(file)
const videoEl = document.createElement('video')
videoEl.addEventListener('error', console.log)
@kustomzone
kustomzone / home-server.md
Created October 26, 2020 13:38 — forked from nileshtrivedi/home-server.md
Home Server setup: Raspberry PI on Internet via reverse SSH tunnel

Raspberry Pi on Internet via reverse SSH tunnel

HackerNews discussed this with many alternative solutions: https://news.ycombinator.com/item?id=24893615

I already have my own domain name: mydomain.com. I wanted to be able to run some webapps on my Raspberry Pi 4B running perpetually at home in headless mode (just needs 5W power and wireless internet). I wanted to be able to access these apps from public Internet. Dynamic DNS wasn't an option because my ISP blocks all incoming traffic. ngrok would work but the free plan is too restrictive.

I bought a cheap 2GB RAM, 20GB disk VM + a 25GB volume on Hetzner for about 4 EUR/month. Hetzner gave me a static IP for it. I haven't purchased a floating IP yet.

@kustomzone
kustomzone / custom_game_engines_small_study.md
Created April 24, 2020 15:22 — forked from raysan5/custom_game_engines_small_study.md
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) becaus

@kustomzone
kustomzone / WTA_kernel_binary
Created March 3, 2020 08:23 — forked from erogol/WTA_kernel_binary
Google's Winner Takes All hashing implemmentation
function[binary_codes,G_vecs] = WTA_kernel_binary(X,G_vecs,G, K)
% G is number of permutation vectors
% K is the insterest span
if size(G_vecs,1) == 0
G_vec = zeros(G,size(X,2));
for i = 1:G
G_vecs(i,:) = randperm(size(X,2),size(X,2));
end
end
@kustomzone
kustomzone / README.md
Created January 28, 2019 05:44
SCRIPT-8
@kustomzone
kustomzone / README.md
Last active January 28, 2019 05:41
SCRIPT-8