Skip to content

Instantly share code, notes, and snippets.

View joegraviton's full-sized avatar

joegraviton joegraviton

View GitHub Profile
@papabear99
papabear99 / gist:712754617d6a7fdb5438a5b621e1be89
Last active May 20, 2023 17:15
Livepeer.com API known ingest IPs
IP Address Location
89.187.177.134 NYC
89.187.177.138 NYC
89.187.177.196 NYC
89.187.178.130 NYC
89.187.179.35 NYC
195.181.169.69 NYC
89.187.185.130 LAX
@zh4n7wm
zh4n7wm / generate-signed-urls-and-cookies-for-cloudfront-with-python-and-golang.md
Last active July 12, 2023 21:27
AWS CloudFront generate signed urls and cookies with Python and Golang
@mekza
mekza / betterthanboto.py
Last active September 29, 2023 17:40
Signed URLs and Signed Cookies for CloudFront in Python with boto
from boto.cloudfront.distribution import Distribution
from cryptography.hazmat.primitives.asymmetric import padding
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import hashes
import base64
class BetterThanBoto(Distribution):
def sign_rsa(self, message):