Skip to content

Instantly share code, notes, and snippets.

@gngpp
gngpp / git-remove-history.sh
Created March 12, 2024 13:37 — forked from JackDanger/git-remove-history.sh
remove large binary files from git history
#!/bin/bash
set -o errexit
# Author: David Underhill
# Script to permanently delete files/folders from your git repository. To use
# it, cd to your repository's root and then run the script with a list of paths
# you want to delete, e.g., git-delete-history path1 path2
#
# retrieved from: http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/
#
@gngpp
gngpp / crypto.py
Last active January 10, 2024 13:45
arkose_crypto
import os
import json
import base64
import hashlib
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import padding