BuildWithMatija
Get In Touch
Build with Matija logo

Build with Matija

Modern websites, content systems, and AI workflows built for long-term growth.

Services

  • Headless CMS Websites
  • Next.js & Headless CMS Advisory
  • AI Systems & Automation
  • Website & Content Audit

Resources

  • Case Studies
  • How I Work
  • Blog
  • CMS Hub
  • E-commerce Hub
  • Dashboard

Headless CMS

  • Payload CMS Developer
  • CMS Migration
  • Payload vs Sanity
  • Payload vs WordPress
  • Payload vs Contentful

Get in Touch

Ready to modernize your stack? Let's talk about what you're building.

Book a discovery callContact me →
© 2026Build with Matija•All rights reserved•Privacy Policy•Terms of Service

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.

Fix Git Repository Ownership and Permissions

Recursively changes ownership of the .git directory to the current user and sets appropriate permissions for Git operations. This command resolves common permission issues that occur when Git repositories are created or modified with root privileges.

sudo chown -R $(whoami):$(whoami) .git && sudo chmod -R ug+rwx,o+rx .git
cross-platform
Tools4 commands
Free tiny tools that help in a tiny way

Codex: add Chrome DevTools MCP via config.toml

Register the Chrome DevTools MCP server in Codex by adding the TOML block to ~/.codex/config.toml and restarting Codex.

[mcp_servers."chrome-devtools"]
bash
cross-platform
mcp
chrome-devtools
toml
+2 more

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