André Amorim

Crafting Web Experiences

// All My Notes

  • Docker permission warning fixes on Linux

    When you first install Docker in Ubuntu, you might get some permission error messages. To fix that, I use the commands below. Error Message:Got permission denied while trying to connect to the Docker daemon socket at …. Initial Fix: .docker folder permission warning fix

  • Search/Replace in page output with NGINX

    If you’re using NGINX web server, add this into your NGINX configuration file to modify output of your webpages:

  • Docker resource usage

  • Easy Headless WordPress with Astro and GraphQL

    AstroPress: https://github.com/rebelchris/astropress Article: https://blog.openreplay.com/building-an-astro-website-with-wordpress-as-a-headless-cms/

  • Docker PHP Increase Upload Limit

    uploads.ini: docker-compose.yml: or Dockerfile:

  • Applications I use on Mac

    Browsers Editors Server Design Communication Video Tools Image Tools FTP Compressing Utilities Packages Task Management Personal: Office

  • Checking Docker Disk Usage

    Need to find what’s eating your storage? Use these two commands: 1. Check Container Sizes Shows the writable layer size vs. the total image size for each container. 2. Overall Storage Summary Shows a summary of images, containers, and volumes. Need more detail? Add the verbose flag to see exactly which items are taking up…

  • NGINX + Bedrock & Sage with Docker Compose

    docker-compose.yml: Dockerfile: NGINX default.conf:

  • Zip/Unzip a folder in Linux

    Compress: Uncompress:

  • Completely Cleanup Docker

    Stop all containers: One by One Prune: Remove all including Build Cache: Reference: https://docs.docker.com/config/pruning/#prune-everything

  • Filter Docker containers and list with specific information

    The default running container listing command: List all containers either running and stopped: Choose specific information for the table that will be listed. I only wanted to list container names and their statuses: And finally, filter them by container names. I’m filtering the containers which contain “_wp” word: Reference: https://docs.docker.com/engine/reference/commandline/container_ls/

  • Questions for New Project Definition

    What’s <project_name>? What’s the problem? How does <project_name> solve this? Who uses <project_name>? Where’s <project_name> now? How big is the market? What’s the competitive landscape? Details about competitors: When they started? How many people they have? Revenue How did they grow? What are they currently doing? Comparison with <project_name> What’s the strategy? How do we…