I hereby claim:
- I am drvdana on github.
- I am drv (https://keybase.io/drv) on keybase.
- I have a public key ASC2lmN4w4zQy0tUHsnvN1W8GW2Id1_wMHoA_7WO30QTJwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# get current branch in git repo | |
function parse_git_branch() { | |
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
if [ ! "${BRANCH}" == "" ] | |
then | |
STAT=`parse_git_dirty` | |
echo "[${BRANCH}${STAT}] " | |
else | |
echo "" | |
fi |
frog | |
toad | |
scorpid | |
amberscorpion | |
scorpion | |
spider | |
bonespider | |
crystalspider | |
firespider | |
lavaspider |
#!/usr/bin/env python3 | |
import os | |
import json | |
import argparse | |
import subprocess | |
import configparser | |
parser = argparse.ArgumentParser(description='Update your AWS CLI Token') | |
parser.add_argument('token', help='token from your MFA device') | |
parser.add_argument('--profile', help='aws profile to store the session token', default=os.getenv('AWS_PROFILE')) |
#!/usr/bin/env python3 | |
import os | |
import json | |
import argparse | |
import subprocess | |
import configparser | |
parser = argparse.ArgumentParser(description='Rotate your AWS access key') | |
parser.add_argument('user', help='AWS user name to rotate keys for') | |
parser.add_argument('--credential-path', help='path to the aws credentials file', default=os.path.expanduser('~/.aws/credentials')) |