Skip to content

Instantly share code, notes, and snippets.

View WillianTomaz's full-sized avatar
Working from home

Willian T. WillianTomaz

Working from home
View GitHub Profile
@WillianTomaz
WillianTomaz / wsl2-with-1password-info.md
Last active April 29, 2024 15:26
Instructions for using 1Password SSH Agent with WSL2 (on Windows 11)

Saturday, April 22, 2023

How to Use 1Password SSH Agent with WSL2 (on Windows 11)

  • Note:

    • Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
    • References are at the end of the document.
  • Was used:

    • Windows 11 (x64)
    • WSL 2 (Ubuntu 22.04.2 LTS)
@WillianTomaz
WillianTomaz / nvm-info.md
Last active August 5, 2023 15:34
Instructions for using NVM

Thursday, June 8, 2023

Instructions for using NVM

  • Note:

    • NVM is a version manager for Node.js
  • Was used:

    • Windows 10 (x64)
    • WSL 2 (Ubuntu 20.04.2 LTS)
@WillianTomaz
WillianTomaz / get-all-host-and-path-by-ingress.md
Last active June 8, 2023 13:50
Script to extract hosts and paths from all namespaces of a kubernetes cluster.

Thursday, June 8, 2023

Script to extract hosts and paths from all namespaces of a kubernetes cluster

  • Note:

    • Basically this script does the extraction of all hosts with their proper paths;
    • Using the kubectl tool, it executes the commands in the current cluster and does the output formatting with jq and column;
  • Was used:

    • Windows 10 (x64)
  • WSL 2 (Ubuntu 20.04.2 LTS)
@WillianTomaz
WillianTomaz / git-pull-all-repos.md
Last active June 8, 2023 13:58
Script para manter repositórios locais atualizados.

Thursday, June 8, 2023

Script to keep local repositories up to date

  • Note:

    • Basically this script would run in your root folder of your repositories which contains all your repositories and do a git pull on all of them.
    • For better functioning, use SSH when cloning your repositories. So you don't need to enter a password at the time of git pull.

Saturday, July 08, 2023

Running a Cluster for local tests with K3D

  • Was used:

    • Windows 11 (x64) with WSL 2 (Ubuntu 22.04.2 LTS)

Installing K3D:

@WillianTomaz
WillianTomaz / virtualenv-python.md
Last active May 25, 2023 18:47
Preparando Ambiente com virtualenv (Python)

Preparando Ambiente de Trabalho com virtualenv (Python)

Instalação do virtualenv

sudo pip install virtualenv

Criando novo ambiente de trabalho

@WillianTomaz
WillianTomaz / wsl-info.md
Last active May 1, 2024 08:45
Instruções do WSL (Instalação, Backup e Restauração)

Instruções para Instalação, Backup e Restauração do WSL 2

  • Observação:

    • Sempre buscar pela documentação oficial, este documento é um tutorial
      que pode não te atender conforme tenha novas atualizações do processo de instalação.
    • As referências estão no final do documento.
  • Foi utilizado:

    • Windows 10
@WillianTomaz
WillianTomaz / terraform-info.md
Last active May 28, 2023 19:10
Terraform: Informações, comandos...

Instruções e Comandos Terraform

Preparando Ambiente

# Verificando Versão:
aws --version
# Fazendo configuração com Novo Profile
aws configure --profile "tf-pessoal"