Skip to content

Instantly share code, notes, and snippets.

@lbrame
lbrame / archtweaks.md
Last active September 7, 2026 15:24
Tweaks I've made to my Arch Linux installation

Arch Linux tweaks

This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.

Installing the KDE Plasma desktop

My current DE of choice is KDE's Plasma. I find it just about perfect.

There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th

@yorickdowne
yorickdowne / spork.md
Last active September 7, 2026 15:19
Debian 14 forky upgrade

Debian 14 "Forky"

This is a placeholder gist for upgrade to Debian 14 "Forky" in summer 2027. Using it before this release date is risky. Here be dragons.

To start, read the official release notes.

If your system is "vanilla Debian plus maybe a handful of 3rd-party repos", then this guide for a simple upgrade to Debian 14 "forky" from Debian 13 "trixie" can be helpful. 3rd-party repos are handled with a find command.

If you are on a fork of Debian such as RasPI OS, use their instructions, not this gist.

@sajinct
sajinct / kiosk_printing.md
Created October 28, 2025 03:25
Kiosk Mode Silent Printing Guide:- Simple steps to run Chrome, Firefox, and Edge in full-screen kiosk mode and print without dialogs. Uses shortcuts and built-in flags. Prints to default printer. Great for kiosks, receipts, or tickets.

Overview

Kiosk mode in web browsers is designed for locked-down environments like public terminals, where the browser runs in full-screen with limited navigation. Silent printing (bypassing the print dialog) is often tied to this mode and prints directly to the default printer. This is useful for applications like POS systems, ticketing kiosks, or automated receipt printing. Below, I outline the setup for Google Chrome, Mozilla Firefox, and Microsoft Edge (Chromium-based) as of October 2025. These methods use command-line flags or configuration tweaks. Note: Always test on your target OS (e.g., Windows), and ensure the default printer is set correctly, as these features print to it without prompts.

Browser Kiosk Mode Command/Flag Silent Printing Method Key Notes
Google Chrome --kiosk [URL] (e.g., chrome.exe --kiosk https://example.com) Add --kiosk-printing to the command line Works in full

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.

1. COINTELPRO Techniques for dilution, misdirection and control of a internet forum
2. Twenty-Five Rules of Disinformation
3. Eight Traits of the Disinformationalist
4. How to Spot a Spy (Cointelpro Agent)
5. Seventeen Techniques for Truth Suppression
______________________________________________________________________________________
@veryfadly588-afk
veryfadly588-afk / gguf.md
Created September 7, 2026 15:11 — forked from jbochi/gguf.md
sentence piece model from gguf
from gguf.gguf_reader import GGUFReader
def get_string_array_field(gguf_reader: GGUFReader, key: str):
    f = gguf_reader.get_field(key)
@Kevin-Robertson
Kevin-Robertson / Get-KerberosAESKey.ps1
Last active September 7, 2026 15:10
Generate Kerberos AES keys from a known password
function Get-KerberosAESKey
{
<#
.SYNOPSIS
Generate Kerberos AES 128/256 keys from a known username/hostname, password, and kerberos realm. The
results have been verified against the test values in RFC3962, MS-KILE, and my own test lab.
https://tools.ietf.org/html/rfc3962
https://msdn.microsoft.com/library/cc233855.aspx
@richeney
richeney / DoH.md
Last active September 7, 2026 15:08
Cloudflare DNS over HTTPS

DNS over HTTPS

Settings | Network & Internet | Ethernet/WiFi | DNS server assignment | Edit

Add automatic templates:

netsh dns add encryption server=1.1.1.3 dohtemplate=https://cloudflare-dns.com/dns-query
netsh dns add encryption server=1.0.0.3 dohtemplate=https://cloudflare-dns.com/dns-query
netsh dns add encryption server=2606:4700:4700::1113 dohtemplate=https://cloudflare-dns.com/dns-query

前言

这篇文初稿写于2025年3月,之前本来计划写好了直接发出来的,兜兜转转一直咕了,最近准备对这套配置做个升级,现在再不发出来就晚了。

现在来看,选T10性价比其实已经不是那么高,当时做这个配置的时候 2080ti 22G还要2200一块,现在已经跌到1700左右了,T10现在还在1000出头。 2080ti算力更高的同时还支持NVLink,4卡互联应该可以跑起来社区最近比较火的 MiniMax-M2.1-REAP W4A16。

下面基本是25年3月写的:

@themagicalmammal
themagicalmammal / Optimizations_Void.md
Last active September 7, 2026 15:06
Set of optimizations, I use on my Void Setup

Void Linux — Complete System Optimization Guide

Warning: This guide contains system-level modifications. Some steps are irreversible or can render your system unbootable. Read every section fully before executing any command. Know what you are doing, or do not proceed.


Table of Contents

# Section