This file contains hidden or 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/env python3 | |
# pip3 install bitlyshortener pypng pyqrcode | |
import os | |
import sys | |
import bitlyshortener | |
import pyqrcode |
This file contains hidden or 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
import requests | |
secret_id = 'id-for-your-cert-secret-goes-here' | |
secrets_manager = boto3.client('secretsmanager') | |
response = secrets_manager.get_secret_value(SecretId=secret_id) | |
cert_content = json.loads(response['SecretString']) | |
file_type = requests.packages.urllib3.contrib.pyopenssl.OpenSSL.crypto.FILETYPE_PEM |
This file contains hidden or 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/env python3 | |
# Pre-requisite: brew install imagemagick | |
# Usage: ./generate-scans.py NUM_SCANS_PER_FILE | |
import multiprocessing | |
import random | |
import subprocess | |
import os | |
import sys |
This file contains hidden or 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/env python3 | |
import sys | |
import zlib | |
# Installation: | |
# curl -s https://gist.githubusercontent.com/lordjabez/7f24c848a1424365617300b0d9bc2d04/raw/67797f4fc6e19c48acff1188a47848f314f9e9e0/decode-git-object.py > /usr/local/bin/decode-git-object | |
# chmod +x /usr/local/bin/decode-git-object | |
# Usage: |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am lordjabez on github. | |
* I am jneer (https://keybase.io/jneer) on keybase. | |
* I have a public key ASDY26yEphfbDcRODnVHUAJrTu0K49Px-VH4sRdzyqTg0Qo | |
To claim this, I am signing this object: |
NewerOlder