I hereby claim:
- I am notdaniel on github.
- I am notdaniel (https://keybase.io/notdaniel) on keybase.
- I have a public key whose fingerprint is 75B1 5E27 2DE2 B3EC EC70 2054 5A76 E912 C4DA 496E
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
""" | |
Slightly improved version of the simple HTTP server from the Python stdlib. | |
Provides options for a threaded server, CORS headers, and custom headers. | |
""" | |
from argparse import ArgumentParser, Namespace | |
from http.server import HTTPServer, SimpleHTTPRequestHandler, ThreadingHTTPServer | |
from pathlib import Path |
#!/usr/bin/python3 | |
import shutil | |
import subprocess | |
import textwrap | |
def check_commands(): | |
"""Ensure `pbcopy` and `pbpaste` are available.""" | |
if not all(map(shutil.which, ("pbcopy", "pbpaste"))): |
#!/usr/bin/env bash | |
# | |
# Launches Cursor AppImage with proper path handling | |
# | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
LOGFILE="/tmp/cursor.log" |
I hereby claim:
To claim this, I am signing this object: