Skip to content

Instantly share code, notes, and snippets.

View jboone's full-sized avatar

Jared Boone jboone

View GitHub Profile
@ckuethe
ckuethe / intercrap-block-list.txt
Last active January 30, 2024 05:22
Stuff I'm not interested in contacting.
# Last updated at 2024-01-30T05:22:19Z
# Various bits of intercrap that I've observed over the years, blocked
# "because reasons". Be careful if you use this list. There are some pretty
# big ban hammers here.
# To make use of this you will need to do some sort of DNS wild-carding,
# which is beyond the scope of this document. Be careful, lest you break
# the internet, eg. blocking all of google, amazon, or cloudflare.
@nuta
nuta / index.html
Last active June 14, 2024 01:03
CP2102 (used by ESP32-DevKitC) WebUSB device driver (deprecated: use Serial API instead: https://crbug.com/884928)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>esptool.js</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/xterm.min.js" integrity="sha256-8rsVcpCnO6HdeJL84i0VdubjM42fjSmO8aONghdq3gc=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/xterm.min.css" integrity="sha256-w69o8Y6P5VZjfYFmn2KlqMU7TUi2I+oWObi8FLlVZZg=" crossorigin="anonymous" />
</head>
from rflib import *
import sys
import bitstring
def manchester_decode(symbols):
bits = []
for dibit in symbols.cut(2):
if dibit == '0b01':
bits.append(0)
elif dibit == '0b10':