Skip to content

Instantly share code, notes, and snippets.

Avatar
🛡️

Nima Saed NimaSaed

🛡️
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am nimasaed on github.
  • I am nimasaed (https://keybase.io/nimasaed) on keybase.
  • I have a public key ASADMOFyzeubH2D7m2IOHMAqInLF-f1LGlIvGL8Qqu909Qo

To claim this, I am signing this object:

@NimaSaed
NimaSaed / bashrc
Last active Feb 18, 2022
Bash AWS Profile Changer
View bashrc
# Add this function to the end of your ~/.bashrc
function aws_profile() {
local aws_home="$HOME/.aws"
local profiles=(`\
cat ${aws_home}/config | \
grep profile | \
sed 's/\[//g;s/\]//g' | \