Skip to content

Instantly share code, notes, and snippets.

View rmoriz's full-sized avatar
🎭
Everything counts in large amounts

rmoriz

🎭
Everything counts in large amounts
View GitHub Profile
@rmoriz
rmoriz / SECURITY-REPORT-EdgeOS-3.0.1-EN.md
Created October 25, 2026 20:50
Ubiquiti EdgeRouter 4 (ER-4) Security Review

Security Assessment — Ubiquiti EdgeRouter 4 / EdgeOS v3.0.1

Device: Ubiquiti EdgeRouter 4 (ER-4), board ID e300, MIPS64 big-endian (Cavium Octeon) Firmware image: ER-e300.v3.0.1.5862409.tar Firmware version: v3.0.1.5862409.250924.1408 Build date: 2025-09-24 Public release: 2025-10-30 (EdgeOS 3.0.1) Assessment date: 2026-10-25 Method: static firmware analysis (SquashFS extraction, package database, binary version strings, configuration and script review, CVE matching) Classification: TLP:CLEAR

@rmoriz
rmoriz / tutorial.md
Last active September 26, 2026 19:59
OCLP_Tahoe_iMac_18.3.md

iMac 18,3 – macOS Tahoe 26.6.2 Wi-Fi + Audio Fix (English, CLI)

Status: September 26, 2026 – macOS Tahoe 26.6.2 (build 25G83), iMac 27" 2017 (iMac18,3), OCLP 2.5.1 Correct KDK: KDK_26.6.2_25G83.kdk (exact match, https://github.com/dortania/KdkSupportPkg/releases/tag/25G83)

All steps below are copy-paste for zsh. GUI is only needed once: MyKextInstaller → Install Kext → allow in System Settings.

0. Preflight – exact current state

@rmoriz
rmoriz / wegli-filter.py
Created July 21, 2026 12:32
wegli-filter.py
import argparse
import csv
import sys
PLZ_DEFAULT_MIN = 80331
PLZ_DEFAULT_MAX = 81929
parser = argparse.ArgumentParser(description="Filter wegli CSV by PLZ range (default: München)")
parser.add_argument("input", help="Input CSV file")
parser.add_argument("-o", "--output", default=None, help="Output CSV file (default: notices-muenchen.csv)")
@rmoriz
rmoriz / log.txt
Last active January 5, 2026 09:03
TPMS
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2026-01-05 04:41:25
model : Ford type : TPMS id : 66a4d55b
Pressure : 30.75 PSI Temperature: -7.0 C Moving : 0 Learn : 0 code : 7b3106 unknown : 00
unknown_3 : 2 Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2026-01-05 04:41:25
model : Ford type : TPMS id : 66a4d55b
Pressure : 30.75 PSI Temperature: -7.0 C Moving : 0 Learn : 0 code : 7b3106 unknown : 00
unknown_3 : 2 Integrity : CHECKSUM

Architecture (Rust Rewrite)

1. Architectural Goals

  • Strong isolation of protocol handling, domain logic, persistence, and delivery.
  • Trait-based adapters for storage, queue, media processing, auth providers.
  • Predictable performance through bounded queues + backpressure.
  • Minimal unsafe Rust (only in well-reviewed media bindings layer if required).
  • Observability built-in (tracing spans at boundaries).

2. High-Level Component Map

@rmoriz
rmoriz / agent.txt
Created August 27, 2025 15:00
inefficient tool calls suck
{
"content": "Fix golangci-lint config. run \"golangci-lint config verify\" - the valid options are documented in https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml",
"timestamp": "2025-08-27T14:32:31.464399Z",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | head -100\"}",
"tool_call_id": "toolu_vrtx_014zdJkAac3Gbkf4EcpWTRMM",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 50 \\\"linters-settings:\\\"\"}",
@rmoriz
rmoriz / env.md
Created August 5, 2025 21:35
GoToSocial ENV / Environment variables almost complete list (as of 2025-08-05)

GoToSocial Environment Variables

GoToSocial uses environment variables with the GTS_ prefix. Any command-line flag can be converted to an environment variable by:

  1. Adding the GTS_ prefix
  2. Converting hyphens to underscores
  3. Converting to uppercase

General Configuration

  • GTS_LOG_LEVEL - Log level (trace, debug, info, warn, error, fatal)
  • GTS_LOG_TIMESTAMP_FORMAT - Timestamp format for logs
@rmoriz
rmoriz / vibecoder.md
Last active April 23, 2026 15:58
Positive Vibes!

💬 Chatverlauf & Anleitungen – FFmpeg-Integration in Finder (macOS)


🙋‍♂️ user:

Ich möchte im finder.app per Rechtsklick auf eine Videodatei die Option haben, ein bestimmtes ffmpeg command auszuführen. wie gehe ich da vor?


@rmoriz
rmoriz / readme.md
Last active December 28, 2024 19:28
NanoKVM Device Tree
  1. get binary image https://github.com/sipeed/NanoKVM/releases/tag/v1.3.0
  2. kpartx -v -a 20241120_NanoKVM_Rev1_3_0.img
  3. mount /dev/mapper/loop11p1 nanokvm-boot
  4. mount /dev/mapper/loop11p2 nanokvm-linux
  5. binwalk nanokvm-boot …
--------------------------------------------------------------------------------
2312          0x908           CRC32 polynomial table, little endian
354600 0x56928 Android bootimg, kernel size: 0 bytes, kernel addr: 0x0, ramdisk size: 1869771333 bytes, ramdisk addr: 0x49203A72, product name: "dex %u"