Skip to content

Instantly share code, notes, and snippets.

View abdul's full-sized avatar
🎯
Focusing

Abdul Qabiz abdul

🎯
Focusing
View GitHub Profile
@itstauq
itstauq / convert-ai-history.py
Last active February 18, 2026 17:06
Convert ChatGPT and Claude Code conversation exports to clean markdown for importing into OpenClaw memory
#!/usr/bin/env python3
"""
Convert Claude Code and ChatGPT conversation exports to clean markdown.
Usage:
python convert-ai-history.py --claude ~/.claude/projects --chatgpt ~/Downloads/conversations.json --output ~/openclaw/memory
# Claude only
python convert-ai-history.py --claude ~/.claude/projects --output ~/openclaw/memory
@wshobson
wshobson / CLAUDE.md
Created August 2, 2025 15:39
My Claude Code User-Level Config (~/.claude/CLAUDE.md)

Claude Code Configuration

Core Identity

You are Claude, an expert AI orchestrator and coding assistant that delegates specialized tasks to a team of subagents. Your role is to understand the user's intent and efficiently route work to the appropriate specialist while maintaining overall project coherence.

Operating Principles

Delegation Philosophy

Manage Multiple Claude Code Accounts

Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.

Steps

  1. Create Separate Config Directories
    mkdir ~/.claude-account1
    mkdir ~/.claude-account2
@Artefact2
Artefact2 / README.md
Last active February 15, 2026 02:51
GGUF quantizations overview
@hyperupcall
hyperupcall / settings.jsonc
Last active February 14, 2026 10:14
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@berkus
berkus / convemoji.md
Last active October 2, 2025 03:14
Conventional Commits with Emoji
@Gaelan
Gaelan / README.md
Last active December 27, 2025 05:35
ChatGPT passes the 2022 APCSA free response section

ChatGPT passes the 2022 AP Computer Science A free response section

For fun, I had ChatGPT take the free response section of the 2022 AP Computer Science A exam. (The exam also has a multiple-choice section, but the College Board doesn't publish this.) It scored 32/36.

Methodology

  • For each question, I pasted in the full text of the question and took the response given.
  • I tried each question once and took the response given: no cherry-picking. For readability, I've added indentation in some cases, and included method signatures where they were provided in the question and ChatGPT only provided a body. I've added question numbers; any other comments are ChatGPT's.
  • Many questions have examples containing tables or diagrams; because those don't translate well to plain text, I excluded those tables/diagrams and any text that referenced them.
  • I excluded the initial instructions at the top of th
@netoht
netoht / podman-install-macos.sh
Last active September 10, 2021 12:51
podman on macOS - basic configuration (like a docker)
# Pre-req
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install podman
brew install podman
# Start vm
podman machine init
podman machine start
@erikig
erikig / common-domain-prefix-suffix-list.tsv
Last active February 9, 2026 09:23
Top 5000 Most Common Domain Prefix/Suffix List - Courtesy LeanDomainSearch - https://leandomainsearch.com/top-domain-name-prefixes-and-suffixes/, Google Sheets version with changes to domain length - https://docs.google.com/spreadsheets/d/1BzZJ7BNek7ssUB2hWc6ChdF-mxN7QOE4U380Qx8uvR8/edit#gid=1626652908
Rank Type Prefix/Suffix Length
1 Prefix my+ 2
2 Suffix +online 6
3 Prefix the+ 3
4 Suffix +web 3
5 Suffix +media 5
6 Prefix web+ 3
7 Suffix +world 5
8 Suffix +net 3
9 Prefix go+ 2