Skip to content

Instantly share code, notes, and snippets.

@faermanj
faermanj / README.md
Created December 27, 2025 13:25
Sessao Amarela I - 2025-12-27

Boas vindas as sessoes de demonstracoes silenciosas!

Nessas sessoes, ao inves de falar, vamos trabalhar juntos, em "tempo real", ao som de Yellow Cherry Jam. Todas as tarefas serao executadas passo a passo, sempre relacionadas a um ticket, e destacando o que for necessario como texto. O objetivo destas sessoes e demonstrar como realizar as tarefas mais comuns, principalmente para quem ainda nao tem muita pratica. Se tiver qualquer duvida, nao deixe enviar, no grupo do treinamento ou diretamente para mim!

@faermanj
faermanj / README.md
Last active July 30, 2025 18:09
tech-interview-success
@faermanj
faermanj / rds-mariadb-connect.sh
Last active July 4, 2025 16:50
Descomplicando AWS
#!/bin/bash
# sudo -s
# This script installs WordPress on an EC2 Amazon Linux 2 instance.
yum update -y
# Install Apache, MySQL, PHP, and other required packages
yum install -y httpd php mariadb1011
@faermanj
faermanj / GISTS.md
Created April 15, 2025 12:52
GISTS.md
@faermanj
faermanj / capa-tilt.sh
Last active April 10, 2025 08:08
CAPA Tilt
# System Check / Fixes
chmod 400 /home/vscode/.ssh/id_rsa
# Environment Settings (.envrc )
export KUBERNETES_VERSION="v1.30.8"
export CLUSTER_NAME="capi-test"
export USE_EXISTING_CLUSTER="true"
# Start devbox
devbox shell
@faermanj
faermanj / capa-quickstart.sh
Last active April 9, 2025 09:22
CAPA Quickstart
# Local settings
LOCAL_OS=$(uname -s | tr '[:upper:]' '[:lower:]')
LOCAL_ARCH=$(uname -m)
# Map architecture from uname to Cluster API release architecture names
if [ "$LOCAL_ARCH" == "x86_64" ]; then
LOCAL_ARCH="amd64"
elif [ "$LOCAL_ARCH" == "aarch64" ]; then
LOCAL_ARCH="arm64"
fi
@faermanj
faermanj / entregando_cloud.md
Last active February 6, 2025 14:44
Semana DevOps 2025

Entregando Projetos de Cloud Computing

  1. Por que cloud?
  2. Trabalhando em equipe
  3. Foco na entrega
  4. Framework > Bibliotecas > Linguagem
  5. Cloud Development Kit
  6. Well-Architected
  7. Perguntas?
#!/usr/bin/env bash
set -ex
# This script is used by the bastion host to stop itself
#
TOKEN=$(curl -s \
-X PUT "http://169.254.169.254/latest/api/token" \
-H "X-aws-ec2-metadata-token-ttl-seconds: 21600")
ID=$(curl -H "X-aws-ec2-metadata-token: $TOKEN" \
@faermanj
faermanj / build-and-setup-podman-on-fedora-lima.md
Created January 3, 2024 11:58 — forked from tnk4on/build-and-setup-podman-on-fedora-lima.md
Build Podman with Fedora running on lima and use the container on Podman as a DevContainer from VS Code Remote-Containers.

DevContainer with Podman on Fedora on lima

Environment

  • macOS: Big Sur v11.5.2
  • VS Code: Version: v1.60.0
  • Remote - Containers: v0.194.0
  • lima: v0.6.3

1. Install Podman and lima