Discover gists · GitHub
Skip to content

Instantly share code, notes, and snippets.

@dinccey
dinccey / glinet-comet-install-netbird.md
Last active April 24, 2026 00:48
GL.Inet Comet KVM install Netbird

Install Netbird

Working on firmware 1.7.2 NOTE: there might still be issues with some features of Netbird, but this at least gets it up and running and connected.

  1. Download armv6 binary from Netbird github releases, upload it extracted via Comet UI →Virtual media
  2. Copy and run this script (use wget, do not copy into vi) or use the Virtual media UI
  3. The uploaded files are located in /userdata/media/
  4. Access the terminal via Web UI or SSH

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.

@PsiACE
PsiACE / Friendly-Python.md
Created January 8, 2026 18:53
Friendly Python notes

Friendly Python

本文基于 Frost Ming “friendly python” 标签下的文章,整理出偏向工程实践的开发范式、规范与典型好/坏代码范式示例。重点是“对使用者友好 + 对维护者友好”,并强调在 Python 中利用语言特性与生态扩展点进行合理抽象。

资料来源

@LessUp
LessUp / glm-coding-plan-rush-helper.user.js
Last active April 24, 2026 00:40
⚡ GLM Coding Rush — 智谱编程助手一键抢购脚本 | Auto-Purchase Userscript for GLM Coding | 自动解锁售罄 · 高速重试 · 定时触发 · 支付保护 · 中英双语面板 | Auto-unlock sold-out · High-speed retry · Scheduled trigger · Payment guard · Bilingual panel | Tampermonkey/Violentmonkey | 点击 Raw 安装 · Click Raw to install
@krzys-h
krzys-h / Hyper-V GPU-PV with Linux guest.md
Last active April 24, 2026 00:32
Ubuntu 21.04 VM with GPU acceleration under Hyper-V...?

Ubuntu 21.04 VM with GPU acceleration under Hyper-V...?

Modern versions of Windows support GPU paravirtualization in Hyper-V with normal consumer graphics cards. This is used e.g. for graphics acceleration in Windows Sandbox, as well as WSLg. In some cases, it may be useful to create a normal VM with GPU acceleration using this feature, but this is not officially supported. People already figured out how to do it with Windows guests though, so why not do the same with Linux? It should be easy given that WSLg is open source and reasonably well documented, right?

Well... not quite. I managed to get it to run... but not well.

How to do it?

  1. Verify driver support
@minimaxir
minimaxir / AGENTS.md
Last active April 24, 2026 00:22
Python AGENTS.md (2026-02-23)

Agent Guidelines for Python Code Quality

This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes: