Skip to content

Instantly share code, notes, and snippets.

View johnnyman727's full-sized avatar

Jon johnnyman727

View GitHub Profile
@alejoar
alejoar / arcadia.py
Last active September 24, 2022 11:08
[Starlette/Fastapi] Webhook signature validation for Arcadia
import hashlib
import hmac
import time
import starlette
WEBHOOK_SIGNING_KEY = "<YOUR_WEBHOOK_SIGNING_KEY>"
SECONDS_TO_STALE = 300 # 5 minutes
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active June 13, 2024 10:59
A badass list of frontend development resources I collected over time.
// Written by Nick Gammon
// February 2011
/**
* Send arbitrary number of bits at whatever clock rate (tested at 500 KHZ and 500 HZ).
* This script will capture the SPI bytes, when a '\n' is recieved it will then output
* the captured byte stream via the serial.
*/
#include <SPI.h>