Skip to content

Instantly share code, notes, and snippets.

View jaketripp's full-sized avatar

Jake jaketripp

View GitHub Profile
@jaketripp
jaketripp / large-bucket-s3-delete.py
Created April 30, 2021 17:18
A python script to fairly quickly delete a large S3 bucket (though Lifecycle policies may be the only option for extremely large buckets)
import boto3
from concurrent.futures import ThreadPoolExecutor
client1 = boto3.client(
'sts',
aws_session_token='my-current-session-token' # EDIT HERE
)
response = client1.get_caller_identity(
)
# https://www.topbug.net/blog/2017/07/31/inputrc-for-humans/
# Use Unicode & do NOT use the "8bit hack" to input/output non-ASCII characters
# See http://code.google.com/p/iterm2/wiki/Keybindings
set input-meta on
set output-meta on
set convert-meta off
# When pressing up or down arrows,
# show only history entries that match what was already typed
@jaketripp
jaketripp / cloudSettings
Last active November 11, 2021 08:30
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-10-07T21:29:05.361Z","extensionVersion":"v3.4.3"}