Bare minimum working setups for devs

Short, working setups and snippets for Apache, PHP, Magento 2 and Linux. Just enough to get you running.

  1. bricklayer/

    Extending Bricklayer: adding your own MCP tool

    Just enough code to add a new MCP tool to Bricklayer.

  2. bricklayer/

    Running Bricklayer near production: what to disable and why

    Just enough hardening to run Bricklayer on staging or production without handing an AI agent the keys to the store.

  3. bricklayer/

    One Bricklayer setup across Claude Code, Cursor, Copilot and Codex

    Just enough setup so every developer on the team gets the same Magento knowledge, whatever AI agent they prefer.

  4. bricklayer/

    Using Bricklayer decision-matrix.md to steer agents before they modify code

    Just enough configuration to tell Your AI agent what to check before it changes the risky parts of Your project.

  5. bricklayer/

    Writing Bricklayer SKILL.md files agents can actually find

    Just enough structure to write project skills Your AI agent will discover on its own.

  6. bricklayer/

    Writing a good Bricklayer project-context.md: a project map for AI agents

    Just enough orientation for Your AI agent to know where it is before it touches anything.

  7. bricklayer/

    Scaffolding Magento modules with Bricklayer generate-* tools and dry_run

    Just enough scaffolding to let Your AI agent create Magento boilerplate the same way every time.

  8. bricklayer/

    Magento message queues without guesswork: Bricklayer message-queue-inspect

    Just enough inspection to see how a Magento message queue is wired, without opening four XML files per module.

  9. bricklayer/

    Inspecting layout XML and UI components with Bricklayer layout-inspect and ui-component-inspect

    Just enough inspection to know what a page or an admin grid really contains before You change it.

  10. bricklayer/

    Minimal working Bricklayer code-runner examples: inspecting Magento at runtime safely

    Just enough examples to let Your AI agent run PHP inside Magento without breaking anything.

  11. bricklayer/

    Finding Magento performance problems with Bricklayer diagnose-performance

    Just enough checks to find the usual Magento performance suspects before You start profiling.

  12. bricklayer/

    Debugging Magento errors with Bricklayer diagnose-error

    Just enough debugging setup to get from "something broke" to a fix in one tool call.

  13. bricklayer/

    Writing Magento plugins without conflicts using Bricklayer check-class and plugin-list

    Just enough checks to write a Magento plugin that does not fight with the ones already there.

  14. bricklayer/

    Check, learn, write: the Bricklayer workflow before touching Magento code

    Just enough workflow to stop Your AI agent from guessing about Magento.

  15. bricklayer/

    Minimal working .bricklayer.json: safe Bricklayer tool config per deploy mode

    Just enough configuration to decide what Your AI agent is allowed to do on a Magento instance.

  16. bricklayer/

    Minimal working Bricklayer setup in Docker, DDEV and Warden

    Just enough setup to run Bricklayer when Your Magento lives in a container and Your AI agent lives on the host.

  17. bricklayer/

    Minimal working Bricklayer project-local overrides

    Just enough setup to teach Your AI agent the conventions of Your Magento project, not just Magento in general.

  18. bricklayer/

    Minimal working Magento Bricklayer setup

    Just enough setup to give Your AI coding agent runtime visibility into Magento 2.

  19. linux/

    Flameshot alternative for Hyprland (Wayland) on Arch Linux

    In Wayland environments, particularly with window managers like Hyprland, traditional screenshot tools like Flameshot may not work seamlessly.

  20. linux/

    Countdown Script for Flameshot: Enhancing Screenshot Control

    When it comes to capturing screenshots on a Linux system, Flameshot is a popular choice, offering a wide range of features for taking and editing screenshots.

  21. php/ php-code-snippets/

    PHP slugify

    Simple snippet for slug creation, useful for URL-s. Based on this gist.

  22. php/ php-code-snippets/

    PHP natsort() multidimensional array

    By default, PHP natsort() function does not work with multidimensional arrays.

  23. linux/

    Batch optimize JPG/JPEG images from command line

    Your images take too much space on Your web server? You just realized that Your server disk usage is near 100%?

  24. apache/

    Minimal working example of Apache Jenkins public exposure

    Just enough minimal setup for Apache 2 to expose Jenkins instance to public.

  25. apache/

    Minimal working Nextcloud Apache setup

    Just enough working example of Nextcloud instance.

  26. magento-2/ php/

    Minimal working Magento 2 module example

    Just enough files to start Your Magento 2 module development. Based on Magento 2.3.4 CE.

  27. apache/ php/

    Minimal PHP FPM Apache setup

    Just enough setup to get Your site running with PHP FPM.

  28. apache/

    Minimal working Apache reverse proxy setup

    Bare minimum setup for public exposing your server apps running on ports that are not 80 or 443.

  29. apache/

    Minimal working Apache host setup

    Just enough working example setup to get You running and catch errors.