Skip to content

Instantly share code, notes, and snippets.

View derac's full-sized avatar
🌴

Derek Olson derac

🌴
View GitHub Profile
@derac
derac / auto-close-emoji-menu.js
Last active November 15, 2022 01:37
workaround for the emoji menu after space-colon issue in google docs
// ==UserScript==
// @name Auto-close emoji menu
// @version 1.0
// @description Auto-close emoji menu
// @author You
// @match https://docs.google.com/document/d/*/edit
// @grant none
// ==/UserScript==
(function() {
@derac
derac / texas_county_data.csv
Last active April 22, 2022 15:05
Texas counties with public court record resource info
county population website portal type version
Anderson 59120 http://www.co.anderson.tx.us/ http://ac5.co.anderson.tx.us/PublicAccess/default.aspx odyssey 2003
Andrews 19588 http://www.co.andrews.tx.us/
Angelina 90669 http://www.angelinacounty.net/ http://public.angelinacounty.net/default.aspx odyssey 2003
Aransas 23649 http://www.aransascountytx.gov/main/
Archer 9135 http://www.co.archer.tx.us/
Armstrong 2028 http://www.co.armstrong.tx.us/
Atascosa 51233 http://www.atascosacounty.texas.gov/
Austin 32344 http://www.austincounty.com/ http://public.austincounty.com/default.aspx odyssey 2003
Bailey 7082 http://www.co.bailey.tx.us/
@derac
derac / index.html
Last active January 25, 2023 01:10 — forked from bellbind/index.html
[chrome][android] BarcodeDetector example + bounding boxes
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module">
// WICG Shape Detection API
// - https://wicg.github.io/shape-detection-api/
try {
const start = document.getElementById("start");
const video = document.getElementById("video");
@derac
derac / proxy_per_context.py
Last active February 17, 2022 16:10
per-context proxies with Playwright
import asyncio
from playwright.async_api import async_playwright
proxy_servers = [
"http://PROXY_IP1:PORT",
"http://PROXY_IP2:PORT",
]
async def spawn_context(browser, proxy_server):