Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# claude launcher — route to either Vertex or the dogfood gateway.
# Usage:
# ./claude <route> [shortcuts...] [extra claude args...]
#
# Routes:
# vertex route via Google Vertex
# dogfood route via dogfood AI gateway (default)
#
# Shortcuts (expand to claude flags; combine freely, any order):
@NelsonMinar
NelsonMinar / windhistory.js
Created September 1, 2012 22:31
windhistory.com D3 code
// This is the core Javascript code for http://windhistory.com/
// I haven't done a full open source release, but I figured I'd put the most important
// D3 code out there for people to learn from. --nelson@monkey.org
/** Common wind rose code **/
// Function to draw a single arc for the wind rose
// Input: Drawing options object containing
// width: degrees of width to draw (ie 5 or 15)
// from: integer, inner radius