• Home
BuildWithMatija
Get In Touch
Build With Matija Logo

Build with Matija

Matija Žiberna

I turn scattered business knowledge into one usable system. End-to-end system architecture, AI integration, and development.

Quick Links

Payload CMS Websites
  • Bespoke AI Applications
  • Projects
  • How I Work
  • Blog
  • Payload CMS

    • Migration
    • Pricing

    Get in Touch

    Have a project in mind? Let's discuss how we can help your business grow.

    Contact me →
    © 2026BuildWithMatija•Principal-led system architecture•All rights reserved

    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