Skip to content

Instantly share code, notes, and snippets.

View mwolff44's full-sized avatar
🎯
Focusing

Mathias WOLFF mwolff44

🎯
Focusing
View GitHub Profile
@mwolff44
mwolff44 / greywall-learned-pi.jsonc
Created August 18, 2026 05:24
Greywall 0.3.7 - hardened security profile for the pi coding agent (~/.config/greywall/learned/pi.json). Replaces the built-in profile entirely: closes pi's persistence vectors (extensions, git, agents, bin, settings.json, auth.json) while keeping ~/.pi/agent writable for pi's proper-lockfile lock, without which the settings "packages" field is …
{
"schemaVersion": 1,
"network": {
// Pushed to greyproxy as session rules, removed when the run ends.
// Only open the providers you actually use.
"rules": [
{ "destination": "YOUR_PROVIDER", "port": "443", "action": "allow", "notes": "LLM provider API" },
{ "destination": "registry.npmjs.org", "port": "443", "action": "allow" },
{ "destination": "github.com", "port": "443", "action": "allow" },

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@cyrenity
cyrenity / compile-and-install-freeswitch-1.10.x-on-ubuntu.md
Last active June 2, 2026 15:14
Install FreeSWITCH 1.10.x on Ubuntu 18.04 | 20.04 | 22.04 LTS

Installing FreeSWITCH 1.10.X on Ubuntu 18.04 | 20.04 | 22.04 LTS

Warning

Debian 13 (Trixie) and Modern Distros:
Modern repositories have dropped several legacy dependencies (like PCRE1 and FFmpeg 5) required by older architectures. If you are compiling on a newer OS (Debian 12, Debian 13), please refer to our updated Ultimate Guide to Compiling FreeSWITCH from Source to avoid compilation failures.

Introduction

FreeSWITCH is a software defined telecom stack that runs on any commodity hardware. FreeSWITCH can handle voice, video and text communication and support all popullar VoIP protocols. FreeSWITCH is flexible and modular, and can be used in any way you can imagine

@triangletodd
triangletodd / README.md
Last active September 4, 2026 03:58
k3s in LXC on Proxmox

On the host

Ensure these modules are loaded

cat /proc/sys/net/bridge/bridge-nf-call-iptables

Disable swap

sysctl vm.swappiness=0
swapoff -a
@mwolff44
mwolff44 / add-webrtc-line.py
Last active November 13, 2026 15:15 — forked from benasse/add-webrtc-line.py
Add Wazo webrtc lines to users that don't have any an UC and CRM subscription
#!/usr/bin/python3
# Copyright 2020 The Wazo Authors (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later
import random
import string
from wazo_auth_client import Client as Auth
from wazo_confd_client import Client as Confd
@dmontagu
dmontagu / Makefile
Created September 5, 2019 09:42
FastAPI project makefile
.DEFAULT_GOAL := default
app_root = backend/app
pkg_src = $(app_root)/app
tests_src = $(app_root)/tests
local_tests_src = $(app_root)/tests/local
isort = isort -rc $(pkg_src) $(tests_src)
black = black $(pkg_src) $(tests_src)
flake8 = flake8 $(pkg_src) $(tests_src)
mypy = mypy $(pkg_src)
@craicoverflow
craicoverflow / pre-commit
Last active February 21, 2022 11:03
Pre-commit Git hook for Go code
#!/bin/sh
# Run some pre commit checks on the Go source code. Prevent the commit if any errors are found
echo "Running pre-commit checks on your code..."
FILES=$(go list ./... | grep -v /vendor/)
# Format the Go code
go fmt ${FILES}
@skratchdot
skratchdot / donate.md
Created January 25, 2016 17:42
My Paypal donate button in markdown format

Donation Button

Donate

@crashdump
crashdump / Template Kamailio.xml
Last active August 29, 2022 09:38
Kamailio - Zabbix Monitoring
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2013-12-03T11:38:27Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>