Skip to content

Instantly share code, notes, and snippets.

@xmesaj2
xmesaj2 / Proxmox_host_TheRock_gfx906_mi50.md
Last active September 11, 2026 09:43
Proxmox TheRock nightly ROCm instructions for LXC passthrough and disk mount for single Mi50 (32GB, but 16GB will work too) to run with unsloth-studio

On your Proxmox host run to see exactly where your driver is being loaded from:

modinfo amdgpu | grep filename

If it says: /lib/modules/7.x.x-x-pve/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko -> This is the native Proxmox driver. Safe to remove the DKMS packages if installed, if not the skip to point #4.

If it says /updates/dkms/amdgpu.ko, then the DKMS actually loaded, should be rare. Do:

  1. Remove the Ubuntu DKMS and ROCm apt packages
# syntax=docker/dockerfile:1
# check=error=true
ARG RUBY_VERSION=4.0.2
FROM docker.io/library/ruby:$RUBY_VERSION-slim
# Set working directory (cwd)
WORKDIR /rails
# 1. Install all base AND build dependencies

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.

@robbin
robbin / paseo_dsh_integration.md
Last active September 11, 2026 09:33
Integrate the DeepSeek Harness into Paseo Guide

DSH 接入 Paseo 配置指南

2026-09-10 实操记录并逐项验证。环境:macOS(mac-studio.local)、Paseo 0.8.0、DSH @deepseek-ai/dsh 0.1.5-rc.1。

结论速览

DeepSeek Harness(DSH)不是只有浏览器 Web 端口。dsh web 只是 --profile web 的别名,DSH 的官方入口模式里本来就有一个标准 ACP server:

@yigit-oz
yigit-oz / color-prediction-game.markdown
Created April 17, 2022 13:41
Color Prediction Game
@joshenders
joshenders / swap.md
Last active September 11, 2026 09:30
Stop making swap partitions

Stop making swap partitions—use swap files instead!

Swap files have had the same performance characteristics as swap partitions for more than 20 years and yet, linux distributions continue to encourage the use of swap partitions during install.

Swap files are easier to use/add/remove/modify/extend after installation. They're better in every way––use swap files!

  1. Create a swap file.

💡 You can use dd for this too but if your filesystem supports it, fallocate is faster.

@Maciejdziuba
Maciejdziuba / README.md
Last active September 11, 2026 09:07
The Software Factory Playbook — Dex Horthy's 4-gate workflow (Product → Architecture → Program Design → Vertical Slices) as an installable Claude Code skill. From the Dex Horthy episode on David Ondrej's podcast.

The Software Factory Playbook — Dex Horthy's 4-gate workflow as a skill

A Claude Code Agent Skill built from Dex Horthy's (HumanLayer) playbook on David Ondrej's podcast.

"Once the model has written thousands of lines of code, it is harder to change. The sessions that generate design docs are context-light — you get the most model intelligence when you do the hard thinking early."

By default, agents build horizontally: all the backend, then all the frontend, then a 2,000-line diff lands in your lap and reviewing it is your problem. This skill flips that. Every decision that matters gets made before the code exists — where changing your mind costs a sentence, not a rewrite.

What it does

@DaymenPasick
DaymenPasick / MatchingHTMLTagsWithRegex.md
Last active September 11, 2026 08:28
A comprehensive guide to using regex to match an HTML tag

How To Match HTML Tags Using Regex

Hey Hey! This is a comprehensive guide to help you match(find) HTML tags using regular expressions. I hope it helps!

Summary

This guide will have two major components:

  1. A guide to regex in general.
  2. A guide specifically geared towards matching HTML tags, in which, we'll be using the code snippet below as our example:
/^<([a-z]+)([^>]+)*(?:>(.*)<\/\1>|\s+\/>)$/