Skip to content

Instantly share code, notes, and snippets.

@AymaneHrouch
AymaneHrouch / autosub_reddit.js
Last active August 20, 2026 11:52
Auto subscribe to a lot of subreddits after you move to a new account.
/*
-Visit https://old.reddit.com/subreddits/ using your old account
-Copy link address of "multireddit of your subscriptions"
It will give you a link address like this: https://old.reddit.com/r/[subreddit1+subreddit2...+subredditN]
Please note that if you have a lot of subreddits the link won't work because there's a limit to the link's length, you can simply split it to two or three links
-Visit that link (or links) using your new account.
-Open the console by pressing F12 and then clicking the console tab
-Past the code bellow and press enter. You're welcome :)
*/
const sub = () => {
@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)做对话的人。


一、效果预览

@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
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 16, 2026 00:34
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

@ih2502mk
ih2502mk / list.md
Last active November 16, 2026 00:11
Quantopian Lectures Saved
@hminnovation
hminnovation / zsh-virtualenv-setup.md
Created February 16, 2017 15:08
ZSH Virtualenv and Virtualenvwrapper setup

### Installing global Python & Pip Use Brew brew install python

That'll install both Python, PIP and setuptools. If for some reason it didn't install PIP you can do via

curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
sudo python get-pip.py

c/f MacOSX setup gitbook

@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:

@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.