Skip to content

Instantly share code, notes, and snippets.

@shikhar1verma
shikhar1verma / ubuntu-parakeet-dictation-setup.md
Created July 15, 2026 15:47
Agent-ready Ubuntu local Parakeet and Whisper push-to-talk dictation setup

Local voice dictation on Ubuntu — Parakeet / Whisper, global hotkey, types into any app

Press Ctrl+\, speak, press Ctrl+\ again → the transcribed text is typed into whatever input field is focused (browser, editor, chat, terminal…). Fully local & offline, high accuracy, and the ASR engine is switchable with one command:

Engine Command What it is
Parakeet (default) stt-dictate-engine parakeet NVIDIA Parakeet-TDT-0.6b-v2 via sherpa-onnx. Fast CPU transcription with punctuation and capitalization. English only.
Whisper best stt-dictate-engine whisper-best faster-whisper large-v3-turbo. Multilingual, higher-capacity Whisper option. ~1.6 GB, slower on CPU.
@shikhar1verma
shikhar1verma / codex-tui-statusline-setup.md
Created July 15, 2026 15:47
Agent-ready Codex TUI status-line setup

Configure the Codex TUI status line

Use this runbook to reproduce a compact Codex CLI footer on any machine. It is written for either a human or an AI coding agent.

The final field order is:

  1. model and reasoning effort
  2. context percentage used
  3. tokens used
@shikhar1verma
shikhar1verma / claude-code-statusline-setup.md
Created July 15, 2026 15:47
Agent-ready Claude Code status-line setup with context and usage limits

Configure a Claude Code status line

Use this runbook to reproduce a compact Claude Code footer on macOS or Linux. It is written for either a human or an AI coding agent.

The status line displays:

Opus 4.8  5.9% ctx  59.1k/1M  5h 86% left  weekly 96% left
@shikhar1verma
shikhar1verma / compressions.md
Created October 28, 2023 16:24
Linux for compressing jpg and png without visible loss in image

For jpg

Install

sudo apt install jpegoptim

Use

Generally make 10 times less whatever the actuall size of the image.

@shikhar1verma
shikhar1verma / clean-linux-root-syste-for-storage-issues.md
Last active August 12, 2023 16:24
Clean Linux Root System For Storage Issues

Start with checking which folder is taking so much space

sudo du -chax --max-depth=1 / | grep -E "M|G" | sort -h

Explaination of command: https://askubuntu.com/a/911872

Var logs might be taking space especially journalctl