Skip to content

Instantly share code, notes, and snippets.

View maxzuo's full-sized avatar
🙈
Flippity floppity I give you a boppity

Max Zuo maxzuo

🙈
Flippity floppity I give you a boppity
View GitHub Profile
@maxzuo
maxzuo / cc-statusline.md
Last active August 13, 2026 21:28
claude code statusline

Claude Code Statusline

A custom statusline for Claude Code that displays:

  • Folder name (dim cyan) — the current workspace directory
  • Git branch (dim yellow) — shown only inside a git repo
  • Model name (dim magenta) — e.g. Opus 5
  • Context usage (dim white) — ctx 3% (32.3k) with percentage and token count
  • Rate limits (green → yellow → red) — limit: (42%|68%) for 5-hour and 7-day windows, color-coded by severity
@maxzuo
maxzuo / aruco_wrapper.py
Created May 20, 2021 18:25
ArUco Wrapper
import numpy as np
import cv2
from typing import List, NoReturn
from collections import defaultdict
# simple wrapper for aruco markers containing 3D space information
class ArUcoMarker(object):
def __init__(self, corners: np.ndarray, _id: int, rvec: np.ndarray, tvec: np.ndarray):
"""