Skip to content

Instantly share code, notes, and snippets.

View fcidade's full-sized avatar
🐍
Coding?

Francisco Cidade Homem Júnior fcidade

🐍
Coding?
View GitHub Profile
@fcidade
fcidade / wsl2-aws-vault.md
Created January 3, 2025 18:37 — forked from unfor19/wsl2-aws-vault.md
How to run aws-vault on WSL2 Ubuntu 20.04

I'm glad to see that I'm not the only one who had issues with it 😄 This is how I'm using aws-vault in WSL2 and Ubuntu 20.04

Short version

# All the commands are executed in a WSL2 terminal

# Download
AWS_VAULT_VERSION="v6.3.1" && \
@fcidade
fcidade / aws-tunnel
Created November 5, 2024 13:03 — forked from brunoyb/aws-tunnel
#!/bin/sh
instance_id=
host=
port=
local_port=
show_help() {
cat << EOF
Usage: ${0##*/} [OPTION]... <HOST> <PORT> <LOCAL_PORT>