Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active July 18, 2026 19:37
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@rohitg00
rohitg00 / llm-wiki.md
Last active July 18, 2026 19:29 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@smith153
smith153 / provision-uat.sh
Created July 18, 2026 18:04
Libvirt Powered Claude Sandbox
#!/usr/bin/env bash
set -euo pipefail
# ─────────────────────────────────────────────────────────────────────────────
# uat provisioner — LXQt + Chrome acceptance-testing desktop under qemu:///system.
# Runs entirely as your normal user (no sudo): disks live in a path you own,
# and libvirtd (already root) does the privileged VM/network work.
# Keep uat-cloud-init.yaml and uat-net.xml next to this script.
# ─────────────────────────────────────────────────────────────────────────────
# Pin a clean PATH so a custom python (pyenv/conda/etc.) can't shadow the system
@pjwang2022
pjwang2022 / prompt.txt
Created March 5, 2026 14:08
Game Art Asset Prompt
遊戲場景主題
這是一款 Streets of Rage 4 風格的橫向捲軸格鬥遊戲(Beat 'em Up)。
場景設定:
- 城市街道 — 夜晚的都市後巷/街道
- 從左往右推進,共 5 個區段,總長 4000px
- 地面是柏油路/水泥地,背景是城市建築
- 場景中散落著木桶和木箱(可打破掉落道具)
- 敵人是街頭混混/幫派分子
import time
import zlib
from threading import Lock, Thread
class Metric(object):
def add(self, value):
raise NotImplementedError()
def flush(self):
@conradcaffier03
conradcaffier03 / glm-5-2-free-setup.md
Last active July 18, 2026 17:50
GLM-5.2 Free Setup Guide — the genuinely free ways to run Z.ai GLM-5.2 (chat + free API), plus the paid Claude Code path

GLM-5.2 Free Setup Guide

GLM-5.2 is Z.ai's open-weights (MIT) flagship — 744B-MoE, a 1M-token context, and benchmarks within ~1 point of Claude Opus 4.8 on FrontierSWE. Here's how to actually put it to work, starting with the routes that cost nothing and need no credit card.


1. Free, zero setup — just chat

name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@choco-bot
choco-bot / FilesSnapshot.xml
Created July 18, 2026 17:42
nexttrace v1.6.2 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\nexttrace\nexttrace.nupkg" checksum="8F151DB501137EB5DA5A61657C722244" />
<file path="C:\ProgramData\chocolatey\lib\nexttrace\nexttrace.nuspec" checksum="2C5F56CFD71020AB8F5EA849BDECC4C2" />
<file path="C:\ProgramData\chocolatey\lib\nexttrace\tools\chocolateyinstall.ps1" checksum="2BB7F3B0E73272C1C4B6D6C03CA9AA7D" />
<file path="C:\ProgramData\chocolatey\lib\nexttrace\tools\chocolateyuninstall.ps1" checksum="18E26FD30A165303D042BF92651D62AD" />
<file path="C:\ProgramData\chocolatey\lib\nexttrace\tools\nexttrace.exe" checksum="9BB1C8818964D7460CA4F5CDBC26C578" />
</files>
</fileSnapshot>
@darktable
darktable / MiniJSON.cs
Created November 30, 2011 23:08
Unity3D: MiniJSON Decodes and encodes simple JSON strings. Not intended for use with massive JSON strings, probably < 32k preferred. Handy for parsing JSON from inside Unity3d.
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining
@alexeykrol
alexeykrol / realestate.md
Created April 27, 2026 22:17
Конец недвижимости как инвестиции. Почему ваш дом может превратиться в тыкву за 5–7 лет
title Конец недвижимости как инвестиции
type article
status draft
audience mixed
author Alex Krol
updated 2026-04-27