This file contains 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 | |
# WARNING | |
# This expects your repository to be in ~/git . If your repository is elsewhere you will need to alter the script. | |
# SYNOPSIS | |
# git_cleanup [repo name] [-xl] | |
# DESCRIPTION | |
# This script allows people to delete (-x) the history of a directory OR destroy (-l) the history of a directory and just |
This file contains 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
#!/usr/bin/python | |
# Find the IAM username belonging to the args.key | |
# Useful for finding IAM user corresponding to a compromised AWS credential | |
# Requirements: | |
# | |
# Environmental variables: | |
# AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY | |
# python: | |
# boto, argparse |