Skip to content

Instantly share code, notes, and snippets.

View llipe's full-sized avatar

Felipe Mallea llipe

View GitHub Profile

Wordpress Management

Using wp cli is key to an efficient wordpress management. For command reference use the official documentation.

Update wp-cli

wp cli update

Regular CLI maintenance

llipe /
Last active September 24, 2023 18:37
Running a postgres development environment in macOS

Running a postgres development environment in macOS

The challenge is to set up a straightforward development environment for experimenting and conducting basic backend development tasks on my Mac. The underlying concept is to run a PostgreSQL instance as needed, without getting bogged down in the intricacies, and to simultaneously accommodate multiple versions or configurations.


  • Homebrew. You can install everything without Hombrew, but it's easier to maintain this way.
  • Docker, to run posgres images

How to

Diagram as a Code

A collection of essential tools to diagram a Code and (when nothing else works good)

Last update: 18/08/2022

Diagrams - Architecture Diagrams

Diagrams lets you draw the cloud system architecture in Python code. It was born for prototyping a new system architecture without any design tools. You can also describe or visualize the existing system architecture as well.

Diagrams currently supports six major providers: AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud. It now also supports On-Premise nodes as well as Programming Languages and Frameworks.

llipe /
Last active September 28, 2021 22:12
Wordpress backup script that stores a snapshot of files & database on S3
# This script requires wp-cli to work and aws cli.
# AWS cli:
# Usage: <domain-name> <s3 bucket> <wp basepath>
if [ -z "$1" ]
echo "Domain name missing"
echo "Usage: <domain-name> <s3 bucket> <wp basepath>"
llipe /
Last active July 20, 2020 16:57
MacOS command line utilities
# Minikube start
minikube start --vm-driver=hyperkit
# specify context
kubectl config use-context minikube
# get cluster info to verify kubectl is configured
kubectl cluster-info
minikube dashboard