Skip to content

Instantly share code, notes, and snippets.

View poka-IT's full-sized avatar

poka poka-IT

View GitHub Profile
@poka-IT
poka-IT / claude-statusline.sh
Last active June 10, 2026 23:56
Claude Code statusline: model · effort · subagent | dir · git branch | context-usage bar · lines | 5h/7d quotas (color tiers) | session label
#!/bin/bash
# ────────────────────────────────────────────────────────
# Claude Code statusline
# Shows: model · effort · active subagent │ dir · git branch │
# context-usage bar · lines changed │ 5h/7d quotas │ session label
#
# INSTALL
# 1. Save this file somewhere, e.g. ~/claude-statusline.sh
# 2. chmod +x ~/claude-statusline.sh
# 3. In ~/.claude/settings.json add:
@poka-IT
poka-IT / durt.dart
Created December 14, 2021 06:26
Gist Generated by DartpadGenerator from VSCode
// Copyright 2021 poka <poka@p2p.legal>
// Durt is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Durt is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the