brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| #!/usr/bin/env python3 | |
| import json | |
| import os | |
| import sys | |
| from configparser import ConfigParser | |
| from datetime import datetime | |
| from pathlib import Path | |
| import boto3 |
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import boto3 | |
| from botocore.exceptions import ClientError | |
| # -------------------------------------------------------------------- main --- |
| #!/bin/bash | |
| user_name="$1" | |
| echo "Removing user: ${user_name}" | |
| echo "Deleting Access Keys:" | |
| keys=("$(aws iam list-access-keys --user-name "${user_name}" | jq -r '.AccessKeyMetadata[] | .AccessKeyId')") | |
| if [[ "${#keys}" -gt "0" ]]; then | |
| # shellcheck disable=SC2068 |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"