Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bun
/**
* ============================================================
* PROOF: Anthropic is specifically blocking "OpenCode"
* in Claude Code OAuth system prompts
* ============================================================
*
* Video covering this script here: https://www.youtube.com/watch?v=G9YX6StP2-M
*
* This script demonstrates that Anthropic has specifically blocked
@apetenchea
apetenchea / errors.py
Created February 24, 2025 15:19
Create arango errno.py file for the python driver
import requests
ARANGODB_ERRORS_FILE = "https://raw.githubusercontent.com/arangodb/arangodb/refs/heads/devel/lib/Basics/errors.dat" # noqa: E501
def generate_section(line, output):
text = line[3:].strip()
print("#" * (len(text) + 4), file=output)
print(f"# {text} #", file=output)
print("#" * (len(text) + 4) + "\n", file=output)