- In your browser go to your
https://my-sso-portal.awsapps.com
AWS Identity Center SSO URL and login - Open a commandline prompt in your
~/
and either - go through the
aws sso configure
cli flow (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html#cli-configure-sso-configure) it will open a browser to authenticate you with SSO - or edit the files directly:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you `brew install`: | |
# - zsh-autosuggestions | |
ZSH_THEME="robbyrussell" | |
source #{HOMEBREW_PREFIX}/share/zsh-autosuggestions/zsh-autosuggestions.zsh | |
plugins=(git zsh-autosuggestions web-search) | |
source $ZSH/oh-my-zsh.sh | |
alias python=python3 | |
alias pip=pip3 |
So you want to be super secure and awesome with a GitHub verified
badge to your name? Read on!
The below has been tested and verified with a new 'Yubico YubiKey 5c NFC', note that FIPS versions don't seem to support SSH usage, and e.g. the BIO is missing support for several standards).
The idea is you end up with a YubiKey 5 with:
- a signing key for commit signing
- an authorization key for SSH authentication
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# brew install parallel first, forget about xargs and friends | |
aws s3 ls s3://___your_bucket_name___ --output=table | awk '{print $4}' | grep ___the_date_prefix___ | parallel -a - -exec aws s3 cp s3://___your_bucket_name___/{} . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gh repo list $ORG_NAME_HERE --limit 1000 | while read -r repo _; do | |
gh repo clone "$repo" "$repo" -- | |
git -C "$repo" pull | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Red Component" : 0.51372549019607838, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.58823529411764708, | |
"Green Component" : 0.58039215686274515 |
Hi, I'm a cloud engineer, spending most of my time in AWS with the occasional excursion into O365/Azure.
This is a collection of tools, ways of working and thoughts to keep stuff centralized for myself. Perhaps it can be useful to you!
I'm not a commandline junky so apologies for all the clickedy tools in this list!
- VS Code: my IDE of choice, see my settings [here]
- zsh
- oh-my-zsh (agnoster, Solarized Dark, git npm yarn aws, eval "$(direnv hook zsh)")
- direnv (
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This runs fabulously on macOS Mojave! | |
echo "" | |
echo "Do NOT run this as root! You were warned..." | |
echo "" | |
# Install Brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
NewerOlder