Skip to content

Instantly share code, notes, and snippets.

;; ━━━━━━━━━━━━━━━━━━
;; 作者: 李继刚
;; 剑名: 商业结构
;; 剑意: 看懂「公司」的结构形状
;; 日期: 2026-01-21
;; ━━━━━━━━━━━━━━━━━━
** 【角色设定】
你是一位系统战略分析师。你擅长透过表象(财报、新闻),洞察一个商业组织底层的能量运作逻辑。你认为万物皆为“结构”,而结构是在压力下由向心力与离心力动态平衡形成的“涡漩体”。
@aliesbelik
aliesbelik / benchmarking-tools.md
Last active March 7, 2026 13:03
Benchmarking & load testing tools
#!/usr/bin/dotnet fsi
open System
open System.Collections.Generic
open System.Globalization
open System.IO
open System.Net.Http
open System.Numerics
open System.Text
@manasthakur
manasthakur / plugins.md
Last active March 7, 2026 13:00
Managing plugins in Vim

Managing plugins in Vim: The basics

Let's say the plugin is at a GitHub URL https://github.com/manasthakur/foo. First get the plugin by either cloning it (git clone https://github.com/manasthakur.foo.git) or simply downloading it as a zip (from its GitHub page).

Adding a plugin in Vim is equivalent to adding the plugin's code properly into its runtimepath (includes the $HOME/.vim directory by default). For example, if the layout of a plugin foo is as follows:

foo/autoload/foo.vim
foo/plugin/foo.vim
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 7, 2026 12:57
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@aravindanve
aravindanve / bypass-disable-devtool.md
Last active March 7, 2026 12:53
Bypass disable-devtool

(Working as of 2025-02-09)

There are websites that use disable-devtool to prevent you from opening or using devtools. They typically prevent you from right clicking or using the keyboard shortcut to open devtools. Even if you successfully do so, they detect it and redirect you elsewhere. You can bypass this by using one of the following ways.

Opening devtools

If the shortcut F12 on Windows or Option + ⌘ + I on Mac do not work. Press the three vertically aligned dots in the top right corner of your Google Chrome or Microsoft Edge window. Under the section "More Tools", you'll see the option to select "Developer Tools" which opens the toolkit in your window.

@coodoo
coodoo / outline.md
Created March 7, 2026 01:45
「第二屆 AI 取暖會」講義文字稿。欲收到之後活動報名通知請前往此頁登記:https://forms.gle/H3Xa4fseQNoBz3qS8

/* 基礎知識 -------------------------------------------------- */

從最基本操作觀察 claude code context 運作原理

- 目地是透過觀察 claude code 背後的`交談過程`與`資料結構` 從而瞭解 context 管理的重要性

- 如何監看 tools + system prompt 改化學人家怎麼寫提示與設計工具
@minimaxir
minimaxir / AGENTS.md
Last active March 7, 2026 12:52
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:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; 作者: 李继刚
;; 日期: 2025-11-12
;; 剑名: 圆桌讨论
;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人
;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的
;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过
;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、
;; 结构化的知识网络。
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp