Commands Hub
A curated collection of useful commands and code snippets organized by tool and language. Copy, paste, and get things done faster.
Docker1 command
Everything you need to know about using Docker to build, ship, and run applications in isolated environments.
Tools3 commands
Free tiny tools that help in a tiny way
Homebrew: fix codex stuck on old version (formula overrides cask)
Removes the outdated codex Homebrew formula (0.46.x) so the newly installed cask (0.47.x) becomes the active binary.
brew uninstall codex --formula
bash
macos
brewcodexmacos+1 more
Temporarily Override DNS for a Domain (macOS)
Force your Mac to resolve a domain to a specific IP by modifying the /etc/hosts file
sudo nano /etc/hosts
macos
macOShosts filedns
ripgrep: search TypeScript files excluding common dirs
Search recursively for <Button in TS/TSX files while excluding node_modules, src/components/contact, and src/components/ui.
rg "<Button" -g "*.ts*" -g '!*./node_modules/**' -g '!src/components/contact/**' -g '!src/components/ui/**'
bash
cross-platformmacos+2
greprgzsh+3 more