Skip to content

Instantly share code, notes, and snippets.

@ThomasLau
ThomasLau / ANSI_color_sumary
Last active March 20, 2026 08:17
ANSI颜色汇总
要在终端输出带颜色的内容时,可以使用ANSI颜色设定。 \033[#m 为样式, \033[3#m 为前景色, \033[4#m 为背景色, \033[1;3#m 为粗体前景色。
详细配色如下:
```
\033[0m关
\033[1m粗体\033[0m
\033[2m无\033[0m
\033[3m无\033[0m
\033[4m下划线\033[0m
\033[5m闪烁\033[0m
@catkins
catkins / README.md
Last active March 20, 2026 08:15
Claude Code Statusline
@karimmtarek
karimmtarek / CLAUDE.md
Created March 5, 2026 21:18
Shopify theme frontend best practices as a CLAUDE.md file. Drop it in your project root and Claude Code follows Shopify conventions automatically.

Shopify Theme Development — Claude Code Guidelines

This file provides frontend best practices and conventions for Claude Code when working on any Shopify theme project. Follow these guidelines unless the project's README or a team member explicitly overrides them.


Project Structure

  • Follow the standard Shopify theme directory structure: assets/, config/, layout/, sections/, snippets/, templates/, locales/.
  • Never create directories outside this structure without explicit justification.
@elucidater
elucidater / Binding of Isaac - Original Source Code
Last active March 20, 2026 08:13
Binding of Isaac - Original Source Code
movie 'isaac.swf' {
// flash 8, total frames: 41, frame rate: 30 fps, 800x600 px, compressed
movieClip 338 {
}
movieClip 339 b501 {
}
movieClip 342 {
@azu
azu / difit-auto-detect.sh
Last active March 20, 2026 08:12
cmux browser open-split difit review
#!/bin/bash
# =============================================================================
# difit-auto-detect.sh
# Automatically detects git state and opens appropriate diff view
# with difit in a cmux browser split pane.
#
# Dependencies:
# - cmux https://cmux.app/
# - difit https://github.com/yoshiko-pg/difit
@LukasKnuth
LukasKnuth / fix_arrow_pipe.json
Created May 16, 2022 07:17
Karabiner Elements "complex modification" to fix the arrow-brackets (<>) and pipe (|) keys when using the "German Standard" layout in OSX
{
"title": "Personal fixes - Moonlander",
"rules": [
{
"description": "Fixes both Arrow-brackets and the Pipe symbol on the Moonlander keyboard with German layout.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "non_us_backslash"
@LiuQixuan
LiuQixuan / gist:7a8683ede4b885a6df834ceeb933d1c5
Last active March 20, 2026 08:03
油猴插件(在灵梦御所显示下载链接)
// ==UserScript==
// @name 在灵梦御所显示下载链接
// @name:en Show Download info on Reimu.net
// @namespace http://reimu.net/
// @version 0.9
// @description 在灵梦御所显示使用pre标签包裹的下载链接
// @description:en Show download info what wrap by pre element on "reimu.net".
// @author AIUSoft
// @license MIT
// @supportURL https://gist.github.com/LiuQixuan/7a8683ede4b885a6df834ceeb933d1c5
@nepsilon
nepsilon / how-to-ssh-agent.md
Last active March 20, 2026 08:02
Remember passphrases with ssh-agent — First published in fullweb.io issue #31

How to use ssh-agent to cache your SSH credentials?

Contributed by Fabien Loudet, Linux SysAdmin at Rosetta Stone

Tired of always having to enter your SSH key passphrase when logging in to remote machines? Here comes ssh-agent. Enter the passphrase once and it will keep it in memory for you

Using ssh-agent in your shell session:

@mberman84
mberman84 / PRD.md
Created February 17, 2026 19:59
OpenClaw PRD

PRD.md - Product Requirements & Feature Inventory

Everything built on top of the base OpenClaw platform. Canonical reference for what exists, where it lives, and how it works. Operational use cases and workflow playbooks live in docs/USE-CASES-WORKFLOWS.md.


Table of Contents

  1. Operational Use Cases & Workflows
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active March 20, 2026 07:57
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line