Skip to content

Instantly share code, notes, and snippets.

View jamiew's full-sized avatar

Jamie Dubs jamiew

View GitHub Profile
@jamiew
jamiew / README.md
Last active September 19, 2026 02:07
ScapeCtl EQ curve notifications: show the Scape headset's active EQ preset as a macOS notification image, pure Go renderer (charlietran/scapectl#7)

ScapeCtl EQ curve notifications

Show the active EQ curve as a macOS notification whenever you switch presets on a Fractal Design Scape headset.

Uses the EqChanged trigger and SCAPE_EQ_DATA added in charlietran/scapectl#7.

EQ notification

Setup

@jamiew
jamiew / abandoned-bikes-analysis.py
Created April 27, 2026 17:39
NYC abandoned bike 311 complaint analysis (Socrata API)
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "requests",
# "pandas",
# "matplotlib",
# ]
# ///
"""
@jamiew
jamiew / megavoice.html
Created September 8, 2025 03:22
megavoice by Claude - can't use directly on claude.ai becaues no mic permissions allowed
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MEGA VOICE ULTRA™</title>
<style>
* {
margin: 0;
padding: 0;
#!/bin/bash
app="$1"
if [ -z "$app" ]; then
echo "$0: specify binary/app name as first and only argument"
exit 1
fi
echo
echo "which: $(which "$app")"
@jamiew
jamiew / beos-netpositive-haiku-errors.txt
Created August 10, 2023 08:44 — forked from benjaminoakes/errors.txt
BeOS (NetPositive) haiku error messages
Not a pretty sight
When the web dies screaming loud
The site is not found.
Morning and sorrow
404 not with us now
Lost to paradise.
@jamiew
jamiew / denylist-import.sh
Created July 19, 2023 17:00
import Helium denylist data into postgres data (e.g. on DeWi ETL)
#!/bin/bash
# import helium denylist data from github to a local postgres table
url="https://raw.githubusercontent.com/helium/denylist/main/denylist.csv"
csv="/tmp/denylist.csv"
db="etl"
echo "downloading from $url ..."
curl -s "$url" > "$csv"
echo "saved to $csv. file has $(cat $csv | wc -l) rows"
@jamiew
jamiew / helium_etl.md
Created July 18, 2023 16:18 — forked from dansku/helium_etl.md
Helium ETL Setup Tutorial

Setting up a Helium ETL

This documents explains a quick intro how to setup your own ETL server for the Helium Blockchain. Running an ETL is not an easy task, but hopefully this document will help you get started, and by the end you will have the blockchain up and running.

Server Requirements

  • 2TB SSD (NVME prefered) disk

Install and configure PostgreSQL + PostGis

Kaomojis

Classics

¯\_(ツ)_/¯
(╯°□°)╯︵ ┻━┻
┬─┬ノ( º _ ºノ)
(ノಠ益ಠ)ノ彡┻━┻
( ͡° ͜ʖ ͡°)
@jamiew
jamiew / snapshot.rb
Created April 29, 2022 15:26 — forked from dougpfeffer/snapshot.rb
NFT Collection Snapshot Generate with Moralis
# Requires a Moralis API key.
# Writes out lists of owners of each token of each contract listed in the `CONTRACTS` array.
# Doesn't work on OpenSea contracts.
require 'net/http'
require 'uri'
require 'json'
MORALIS_API_KEY = ''