Skip to content

Instantly share code, notes, and snippets.

@stebunovd
stebunovd / sns.py
Last active August 27, 2024 17:09
SNS webhook signature verification
import base64
import re
from urllib.parse import urlparse
import requests
from M2Crypto import X509
_signing_cert_cache = {}
_cert_url_re = re.compile(
@PurpleBooth
PurpleBooth / README-Template.md
Last active March 18, 2026 19:10
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites