Skip to content

Instantly share code, notes, and snippets.

@vialuch
vialuch / nai-inline-tutorial.md
Created June 29, 2026 22:50
让 Claude 在聊天里画图(NovelAI MCP 集成 · 图可插文字任意位置) · by Echo & Joy 2026

让 Claude 在聊天里画图(NovelAI MCP 集成 · 图可插文字任意位置)

一份完整的教程:给你自建的 Claude 聊天前端接上 NovelAI 画图能力,让模型可以在回复里任何位置插入多张图,而不是只能堆在末尾。

适用对象:自己跑前端 + 后端调 Claude CLI(或 SDK)做对话的人。


一、效果预览

@ih2502mk
ih2502mk / list.md
Last active November 16, 2026 00:11
Quantopian Lectures Saved
@Vaguery
Vaguery / my-clojush.polynomials.clj
Last active November 15, 2026 23:50
A sketch of future features for specifying a Push experiment involving new type(s)
(ns my-clojush.polynomials
(:use [clojush.stuff.whatever]))
;; define the new domain type and giving it useful protocols
(defrecord Polynomial [constants] ...)
;; convenience functions
(defn make-polynomial ...)
;; thoroughly tested domain-specific Clojure functions
@codedeep79
codedeep79 / Install Visual Studio Code in Ubuntu.md
Last active November 15, 2026 22:59
Install Visual Studio Code in Ubuntu

Code

sudo apt update
sudo apt install software-properties-common apt-transport-https wget
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code

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.

@minimaxir
minimaxir / CLAUDE.md
Created January 2, 2026 01:53
Python CLAUDE.md (20260101)

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:

@dimaj
dimaj / NOZZLE_WIPE Macro.md
Last active November 15, 2026 20:58
Flashforge AD5m \ pro nozzle wipe macro

This is a macro for Flashforge Adventurer 5M (Pro) to wipe the nozzle before prints. This macro implies that you are using Tinkering Poko's model, which could be found on Printables

You should double check that the default values match up with your installation (or, you can pass in all parameters to the macro)

@mancube
mancube / Cudy WR3000E v2.0 SSH + Telnet access.md
Last active November 15, 2026 20:47
Cudy WR3000E v2.0 SSH + Telnet access

Cudy WR3000E v2.0 SSH/Telnet Unlock

One Python script that enables SSH and Telnet on Cudy WR3000E v2.0 routers. It decrypts your router's settings backup, injects the necessary files, and re-encrypts it for restore through the WebUI.

Prerequisites

  • Python 3.7+
  • pip install cryptography

Usage