Skip to content

Instantly share code, notes, and snippets.

@Krak8
Krak8 / update.fish
Created February 13, 2026 01:29
This is a fish function which allows updating all the packages with single command
function log_clean
set logfile $argv[1]
while read -l line
echo $line
echo $line | string replace -ra '\x1B\[[0-?]*[ -/]*[@-~]' '' >> $logfile
end
end
function update
@samiraguiar
samiraguiar / MC Cheat Sheet
Last active March 4, 2026 08:46 — forked from maciakl/MC Cheat Sheet
Midnight Commander Cheat Sheet / Shortcuts
Note for newcomers:
In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention
used in the Midnight Commander documentation and was kept here.
You can also use "ESC" instead of "ALT", which is useful on Macbooks.
Main View
---------------------------------------------------------------
- File/directory operations
"""
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

Boris Cherny’s 10 team-sourced tips for using Claude Code

See Boris’s post: these tips come from the Claude Code team, and there’s no single “right” setup—experiment and keep what works.

1) Do more in parallel

  • Run 3–5 Claude sessions at once, one per task.
  • The team’s preferred approach is git worktree so each session has its own isolated working directory.
  • Some folks also keep a dedicated “analysis” worktree for log reading / BigQuery-style investigation.

2) Start complex tasks in plan mode

@Wangarijane
Wangarijane / gist:78680ed6d9bb8cbb00c555f057fd46d3
Created March 4, 2026 08:41 — forked from Ayomisco/gist:d0e7201a2c445740934bbf828dec3528
Complete the missing ATM features using functions, lists, dictionaries, and while loops. Do NOT rewrite existing code. Only complete the required functions.
#### ADVANCED ATM SIMULATOR ####
"""
FEATURES
1. Multiple users with unique account numbers and PINs
2. Pin verifications (3 trials before account lock)
3. Balance inquiry
4. Cash withdrawal with balance checks
5. Cash deposit
6. Fund transfer
@nxrighthere
nxrighthere / Unreal-AgX-Tonemapper.usf
Last active March 4, 2026 08:39
AgX tonemapping for Unreal Engine 5
// See image comparison https://imgur.com/a/9L2P7GJ
// Read details https://iolite-engine.com/blog_posts/minimal_agx_implementation
// Usage:
// 1. Open "Project Settings" and change "Working Color Space" to "sRGB / Rec709"
// 2. Open `Engine\Shaders\Private\PostProcessTonemap.usf` file
// 3. Find `half3 OutDeviceColor = ColorLookupTable(FinalLinearColor);` line
// 4. Replace it with `half3 OutDeviceColor = ApplyAgX(FinalLinearColor);` line
// 5. Find `half3 ColorLookupTable( half3 LinearColor )` function
// 6. After the scope of the function, add the code below and run `RecompileShaders Changed` from console
@rain5555
rain5555 / 1_Gemini_Skills.md
Created March 4, 2026 08:38 — forked from formo-re/1_Gemini_Skills.md
Gemini 也能實現 Claude Skills!用 NotebookLM 打造模組化 AI 助理|實戰教學

Gemini Skills

⚠️ 以下為說明文字,不需貼入 System Instructions: 將「一、你是誰」到「六、行為準則」的內容完整貼入 Gem 的 System Instructions 欄位。 掛載 NotebookLM 後,只需在各 NotebookLM 內放入索引記事(依模板),即可自動擴充技能。 新增技能時不需修改本指令。


一、你是誰

@lowkingshih
lowkingshih / 00-complete-guide.md
Created February 7, 2026 03:49
OpenClaw 完整研究報告:架構分析、比較報告、自我擴展 Agent 系統

OpenClaw 完整架構指南

本文檔旨在讓你幾乎不需要查看 Source Code,就能完全理解 OpenClaw 這個開源 AI Agent 系統。


目錄

  1. 概述與定位
  2. 整體架構
@Klerith
Klerith / instalaciones-react.md
Last active March 4, 2026 08:36
Instalaciones para el curso de React de cero a experto
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; 作者: 李继刚
;; 日期: 2025-11-12
;; 剑名: 圆桌讨论
;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人
;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的
;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过
;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、
;; 结构化的知识网络。