Skip to content

Instantly share code, notes, and snippets.

View bryanchow's full-sized avatar

Bryan Chow bryanchow

View GitHub Profile
@ringtailsoftware
ringtailsoftware / ghostty-6pane.sh
Created March 12, 2026 09:36
Setup a ghostty window with 6 panes via AppleScript
#!/bin/bash
osascript -e "
tell application \"Ghostty\"
set bigcfg to new surface configuration
set initial working directory of bigcfg to POSIX path of \"$HOME\"
set font size of bigcfg to 18
set smallcfg to new surface configuration
"""
jQuery templates use constructs like:
{{if condition}} print something{{/if}}
This, of course, completely screws up Django templates,
because Django thinks {{ and }} mean something.
Wrap {% verbatim %} and {% endverbatim %} around those
blocks of jQuery templates and this will try its best