- PRO: claude
- CON: claude
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 | |
| } |
When adding significant features, always remember to update relevant documentation.
| 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. |
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.
| # 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, |
| 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} |
| from datetime import datetime | |
| import time | |
| import requests | |
| import tqdm | |
| API_TOKEN = 'YOUR_API_TOKEN' | |
| ACCOUNT_ID = 'YOUR_ACCOUNT_ID' | |
| requested = False |