Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
@CypherpunkSamurai
CypherpunkSamurai / README.md
Created June 3, 2026 15:12 — forked from Artefact2/README.md
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

package d3d11_main
import D3D11 "vendor:directx/d3d11"
import DXGI "vendor:directx/dxgi"
import D3D "vendor:directx/d3d_compiler"
import SDL "vendor:sdl2"
import glm "core:math/linalg/glsl"
// Based off https://gist.github.com/d7samurai/261c69490cce0620d0bfc93003cd1052
@CypherpunkSamurai
CypherpunkSamurai / terminal.sh
Created March 11, 2026 14:44 — forked from webarchitect609/terminal.sh
Git: disable GPG signing for current repo only.
# Write local
git config --local commit.gpgsign false
# Read local (if never set, can be an empty value)
git config --local commit.gpgsign
@CypherpunkSamurai
CypherpunkSamurai / README.md
Created February 16, 2026 02:26 — forked from joe-rlo/README.md
Memory Guardian - OpenClaw plugin for persistent agent memory

Memory Guardian Plugin for OpenClaw

Fixes the "my bot keeps forgetting stuff" problem through active enforcement, not passive suggestions.

The Problem

  • AGENTS.md says "read your notes" but agents ignore it under attention pressure
  • Sessions get compacted/reset and context is lost
  • Multiple sessions (Telegram topics, Discord channels) don't share state
  • Agents forget to checkpoint after doing work
@CypherpunkSamurai
CypherpunkSamurai / ssh_https_tunnel.md
Created February 5, 2026 12:00 — forked from vondraussen/ssh_https_tunnel.md
SSH through HTTPS tunnel via Openssl and Traefik

How to setup ssh through https tunnel

... via OpenSSL and Traefik

A HTTPS tunnel for SSH (Secure Shell) is a useful tool for accessing a remote server in a secure manner when the connection is limited or restricted by a firewall or network security measures. It provides a secure way to bypass these restrictions and access the remote server securely over the internet. The HTTPS protocol, which is used to secure web traffic, is utilized to create a secure connection to the remote server. The data transmitted over this connection is

@CypherpunkSamurai
CypherpunkSamurai / opencode-plugins-guide.md
Created January 20, 2026 15:39 — forked from johnlindquist/opencode-plugins-guide.md
OpenCode Plugins Guide - Complete reference for writing plugins with hooks, custom tools, and event handling

OpenCode Plugins Guide

A comprehensive guide to writing plugins for OpenCode that extend agent behavior with hooks, custom tools, and event handling.

Quick Start

  1. Create a TypeScript file in .opencode/plugin/ (project) or ~/.config/opencode/plugin/ (global)
  2. Export a named plugin function
  3. Restart OpenCode
@CypherpunkSamurai
CypherpunkSamurai / root_mi_box_s_2nd_gen.md
Created January 10, 2026 06:42 — forked from supechicken/root_mi_box_s_2nd_gen.md
A tutorial for rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Table of contents

  • Prerequisites
  • Step 1: Download the stock ROM for Xiaomi TV Box S 2nd Gen
  • Step 2: Extract boot image from the OTA archive
  • Step 3: Update the system with downloaded OTA archive
  • Step 4: Patch boot image with Magisk
  • Step 5: Unlock bootloader with fastboot
  • Step 6: Reboot to system and complete setup
@CypherpunkSamurai
CypherpunkSamurai / bootstrap.sh
Created January 1, 2026 15:59 — forked from KireinaHoro/bootstrap.sh
Bootstrap aarch64-linux-android clang/llvm toolchain with sanitizers support
#!/bin/bash
# script that creates clang/llvm cross toolchain for aarch64 android target
# compile a hello world program that runs on AOSP Android:
# test with: adb push hello /data/cache && adb shell /data/cache/hello
# GCC:
# C: aarch64-linux-android-gcc hello.c -o hello -pie
# C++: aarch64-linux-android-g++ hello.cc -o hello -pie -fPIC -static-libgcc \
# -nostdlib -L/usr/local/aarch64-linux-android/lib -lc++ -lc -nostdinc++ \
# -I/usr/local/aarch64-linux-android/include/c++/v1 -std=c++11
# Clang/LLVM:
@CypherpunkSamurai
CypherpunkSamurai / Windows 8.1 Update 3 - November 2014 Rollup
Created December 29, 2025 15:22 — forked from novemberr41n/Windows 8.1 Update 3 - November 2014 Rollup
Windows 8.1 Update 3, Windows 8.1 DVD ISO, Microsoft
Windows 8.1 Update 3 - November 2014 Rollup
More Info & Download Link: http://www.nsaneforums.com/topic/235775-windows-81-with-update-3-november-2014-rollup-msdn-release/
========================
Languages: English
========================
Windows 8.1 Pro VL with Update (x86) - DVD (English)
ISO English Release Date: 12/15/2014 Details 2916 MB
File Name: en_windows_8.1_pro_vl_with_update_x86_dvd_6050918.iso
Languages: English
SHA1: E46F44CD74F812EC3FE2E854317A088E85322A68