Skip to content

Instantly share code, notes, and snippets.

View maateen's full-sized avatar
:octocat:
Alive & Breathing!

Maksudur Rahman Maateen maateen

:octocat:
Alive & Breathing!
View GitHub Profile
@sirtawast
sirtawast / restore-and-copy-files-from-s3-glacier.sh
Last active May 15, 2024 09:48
AWS: Restore and change S3 storage class
#!/bin/bash
# (should not be run as shell script, the steps take so long)
# Restore/change AWS S3 files from Glacier storage class to STANDARD or STANDARD_IA and copy them in-place to get non-expiring ones
# There wasn't any instructions on how to do this easily so I decided to write them.
# In case you screw things up with lifecycle options etc.
# Procedure might take a while if you have many many files.
# There are three steps:
from burp import IBurpExtender, ISessionHandlingAction
class BurpExtender(IBurpExtender):
def registerExtenderCallbacks(self, callbacks):
callbacks.registerSessionHandlingAction(CsrfSessionHandler(callbacks.getHelpers()))
class CsrfSessionHandler(ISessionHandlingAction):
def __init__(self, helpers):
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active September 19, 2025 07:10
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k