Skip to content

Instantly share code, notes, and snippets.

View audiodude's full-sized avatar

Travis Briggs audiodude

View GitHub Profile

Debate: A hot dog is a soft shell taco.

  • PRO: claude
  • CON: claude

Opening

PRO: A taco is defined by its structure: a filling cradled within a folded or wrapped exterior. The shell type — corn, flour, hard, soft — is incidental. What matters is the functional relationship between

domaincheck() {
local code
code=$(curl -sL -o /dev/null -w '%{http_code}' "https://rdap.org/domain/$1")
case "$code" in
404) echo "$1: available" ;;
200) echo "$1: taken" ;;
*) echo "$1: unclear (HTTP $code)" ;;
esac
}
@audiodude
audiodude / CLAUDE.md
Created June 20, 2026 16:28
CLAUDE.md instructions on documentation

When adding significant features, always remember to update relevant documentation.

  • If you've added a feature, make sure it's mentioned in the README. The amount of space it takes up should be relevant to the
    significance of the feature and the length and composition of the existing README
  • If you've finished a TODO or implementation task, update that document. Alternately keep a log/record next to it of what's been done, the tradeoffs made, and what's left to do
  • ALWAYS document changes to how the application or utility is run, including CLI options (though not every minor option needs to be documented).
You awaken in a quaint room at the Rosehill Inn. Morning light filters in through the lace curtains.
A breakfast tray has been left at the foot of your bed—eggs, toast, and a note.
What would you like to do?
> read the note
You pick up the note and read it. It says, 'Dear Guest, welcome to Rosehill! Please join us in the
common room for a special announcement. We look forward to seeing you. - The Innkeepers.' A sense of
curiosity stirs within you about what this announcement could be.
@audiodude
audiodude / twelve-bucks-conversation.md
Last active September 18, 2025 18:40
Claude prompts for creating twelve-bucks website

Claude Code Conversation: Creating twelve-bucks website

Initial Request

User: I'd like to create a simple static website, in a single index.html file under the directory "public/", that advertises the fact that for 12 bucks, you can have an entire sentence as a domain. The website will live at http://for12bucksyoucanhaveanentiresentenceasadomain.com/. It should be EXTREMELY minimalistic, but well designed and not boring. There should be a simple message as a very very large header, then a footer with links to the github page of the website (https://github.com/audiodude/twelve-bucks) and my name and website (Travis Briggs, https://travisbriggs.com). Confirm that you understand, ask me any relevant questions, and show me the TODO list before proceeding.

Claude: I understand you want to create a minimalistic static website for the domain http://for12bucksyoucanhaveanentiresentenceasadomain.com/ that advertises the concept of having an entire sentence as a domain for $12.

Before I proceed, I ha

The following is a transcript of an interactive story from the game Dada Quest. It has not been edited.

You find yourself in a dimly lit room. The only source of light is the faint glow coming from an old computer terminal. The air is thick with dust and the hum of ancient machinery.

What would you like to do?

look for a weapon

You search the dimly lit room thoroughly, moving aside discarded papers and rusted tools. Behind the terminal, you uncover a sturdy metal pipe—an improvised weapon. It feels heavy in your hands, and you're ready to defend yourself if needed.

@audiodude
audiodude / create_defs.py
Created October 11, 2024 03:00
Psuedo code for updating wikitionary
# csv is built in
import csv
# requests must be installed with `pip`. See also: virtual environment.
import requests
# #Use this instead of reader[:10] to get a random 10 instead of the first ten.
# import random
# random.sample(reader, 10)
# Double quoted strings will allow for multiple lines, but all of the whitespace will be preserved,
class Fruit:
def __init__(self, name):
self.name = name
apple = Fruit('apple')
apples = {
'apple': apple,
@audiodude
audiodude / output.txt
Created January 5, 2024 03:50
Increment random value from a dictionary
fruits={'apple': 0.49, 'banana': 0.69, 'peach': 1.29, 'pear': 1.49, 'watermelon': 2.99}
Incrementing banana by 1
fruits={'apple': 0.49, 'banana': 1.69, 'peach': 1.29, 'pear': 1.49, 'watermelon': 2.99}
@audiodude
audiodude / delete_posts.py
Last active November 29, 2024 08:15
Delete all of your Mastodon posts using your token
from datetime import datetime
import time
import requests
import tqdm
API_TOKEN = 'YOUR_API_TOKEN'
ACCOUNT_ID = 'YOUR_ACCOUNT_ID'
requested = False