Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Felipe Mallea llipe

🎯
Focusing
View GitHub Profile
View diagram-as-a-code.md

Diagram as a Code

A collection of essential tools to diagram a Code and Draw.io (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.

View java-dev-environment-macos-setup.md
@llipe
llipe / macos-command-line-utilities.md
Last active July 20, 2020 16:57
MacOS command line utilities
View macos-command-line-utilities.md
View postgres-cheat-sheet.md
View Python Install on MacOS.md
@llipe
llipe / wordpress-backup.sh
Last active September 28, 2021 22:12
Wordpress backup script that stores a snapshot of files & database on S3
View wordpress-backup.sh
#!/bin/bash
# This script requires wp-cli to work and aws cli.
# WP CLI: https://wp-cli.org/
# AWS cli: https://aws.amazon.com/es/cli/
# Usage: wordpress-backup.sh <domain-name> <s3 bucket> <wp basepath>
if [ -z "$1" ]
then
echo "Domain name missing"
echo "Usage: wordpress-backup.sh <domain-name> <s3 bucket> <wp basepath>"
View minikube-help
# 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
@llipe
llipe / fix-permisos-wordpress.sh
Created May 27, 2018 05:14
Corregir permisos de archivos y directorios en wordpress
View fix-permisos-wordpress.sh
# Ref: https://codex.wordpress.org/Changing_File_Permissions
# Fix de permisos de carpetas desde carpeta public del sitio
sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 775 {} \;
chmod -R 660 wp-config.php
@llipe
llipe / apache-dominio.cl.conf
Last active May 27, 2018 05:08
Archivo de configuración apache tipo
View apache-dominio.cl.conf
<VirtualHost *:80>
ServerName dominio.cl
ServerAlias www.dominio.cl
DocumentRoot /home/ubuntu/public_html/dominio.cl/public
<Directory /home/ubuntu/public_html/dominio.cl/public/>
AllowOverride all
Require all granted