Skip to content

Instantly share code, notes, and snippets.

View jon-hotaisle's full-sized avatar

Jon Stevens jon-hotaisle

View GitHub Profile
### Frontend tasks
For [frontend design tasks](https://developers.openai.com/blog/designing-delightful-frontends-with-gpt-5-4), avoid generic, overbuilt layouts.
**Hard rules**
- **One composition:** The first viewport should read as a single composition, not a dashboard unless it actually is one.
- **Brand first:** On branded pages, make the brand or product name hero-level. It should not be reduced to nav text or an eyebrow, and no headline should overpower it.
- **Brand test:** If removing the nav makes the first viewport feel like another brand, branding is too weak.
- **Typography:** Use expressive, intentional fonts. Avoid default stacks (Inter, Roboto, Arial, system).
- **Background:** Avoid flat, single-color backgrounds; use gradients, images, or subtle patterns.
@jon-hotaisle
jon-hotaisle / AirPlay.scpt
Created January 16, 2026 21:56
I have a Mac mini connected to my TV, with HomePods as the speakers. Every time the mini goes to sleep, the audio connection drops, and I manually re-select the HomePods. This script fixes that by automatically re-selecting the AirPlay device. Hook it up to run at login (or wake), and the problem disappears. 100% vibe-coded with Claude.
#!/usr/bin/osascript
on run argv
if (count of argv) is 0 then
set deviceName to "Living Room"
else
set deviceName to item 1 of argv
end if
tell application "System Events"
@jon-hotaisle
jon-hotaisle / biome.jsonc
Created September 13, 2025 05:33
biome.jsonc for use with ultracite.ai
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["ultracite"],
"formatter": {
"indentStyle": "tab",
"indentWidth": 4,
"lineWidth": 80
},
"javascript": {
"formatter": {