Skip to content

Instantly share code, notes, and snippets.

View ForestJay's full-sized avatar
👩‍💻

Moriko Handford (森子) ForestJay

👩‍💻
View GitHub Profile
@ForestJay
ForestJay / find_iam_user.py
Last active September 9, 2015 19:59 — forked from OnlyInAmerica/find_iam_user.py
Find an AWS IAM user corresponding to an AWS Access Key
#!/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
@ForestJay
ForestJay / git_cleanup
Last active February 28, 2024 03:21 — forked from kevinwright/git_cleanup
#!/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