Step-by-step guide for building the Claude Code CLI from the alesha-pro/claude-code repository — leaked Anthropic Claude Code source code.
- Linux (Ubuntu 22.04+) or macOS
- 4GB RAM, 4 CPU cores, 30GB disk
- Bun >= 1.3
- Git
Step-by-step guide for building the Claude Code CLI from the alesha-pro/claude-code repository — leaked Anthropic Claude Code source code.
| #!/bin/bash | |
| # Set the API endpoint URL and key | |
| ENDPOINT="https://mcow.domain.tld/api/v1/add/mailbox" | |
| API_KEY="XXX-YYY" | |
| # Read the CSV file line by line and create mailbox users | |
| while IFS=',' read -r from_name from_email user_name password; do | |
| # Extract the domain from the user_name field | |
| domain=$(echo "$user_name" | awk -F'@' '{print $2}') |
| #!/usr/local/bin/php | |
| <?php | |
| require_once("config.inc"); | |
| require_once("interfaces.inc"); | |
| require_once("util.inc"); | |
| $subsystem = !empty($argv[1]) ? $argv[1] : ''; | |
| $type = !empty($argv[2]) ? $argv[2] : ''; |
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager
brew install virt-viewerOnce that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface
| # These macros are required for Fluidd to correctly function. | |
| # You can copy these entries into your printer.cfg. | |
| # | |
| # Alternatively, import this file by adding | |
| # this line into your printer.cfg; | |
| # | |
| # [include client_macros.cfg] | |
| [gcode_macro CANCEL_PRINT] | |
| rename_existing: BASE_CANCEL_PRINT |
| #!/usr/bin/env python3 | |
| import sys | |
| import socket | |
| from timeit import Timer | |
| import asyncssh | |
| import asyncio | |
| import paramiko |
| #!/bin/bash | |
| # `gitea dump` doesn't currently back up LFS data as well, only git repos | |
| # It primarily backs up the SQL DB, and also the config / logs | |
| # We'll backup like this: | |
| # * "gitea dump" to backup the DB and config etc | |
| # * tar / bzip all the repos since they will be skipped | |
| # * Not rotated because git data is immutable (normally) so has all data | |
| # * rsync LFS data directly from /volume/docker/gitea/git/lfs | |
| # * No need for rotation since all files are immutable |
| """ | |
| WARNING: dont use loguru, use structlog | |
| https://gist.github.com/nkhitrov/38adbb314f0d35371eba4ffb8f27078f | |
| Configure handlers and formats for application loggers. | |
| """ | |
| import logging | |
| import sys | |
| from pprint import pformat |
| #!/bin/sh | |
| # Reset Transmit 5 Trial | |
| # curl -fsSL https://gist.githubusercontent.com/thoaster/ca5b4fdb653b9cdb3930897045b78558/raw/reset.sh | bash | |
| set +e | |
| set -x | |
| sudo rm -rf ~/Library/Caches/com.panic.Transmit | |
| sudo rm -rf ~/Library/Application\ Support/com.panic.Transmit | |
| sudo rm ~/Library/Preferences/com.panic.Transmit.plist |
pop_token
{'iss': '04f576620a243986e7b11674d435063f',
'aud': 'https://anvil1.inrupt.net',
'exp': 1564403772,
'iat': 1563194173,
'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InZaaUNkZGVIbHQ0In0.eyJpc3MiOiJodHRwczovL2lucnVwdC5uZXQiLCJzdWIiOiJodHRwczovL2FudmlsMS5pbnJ1cHQubmV0L3Byb2ZpbGUvY2FyZCNtZSIsImF1ZCI6IjA0ZjU3NjYyMGEyNDM5ODZlN2IxMTY3NGQ0MzUwNjNmIiwiZXhwIjoxNTY0NDAzNzcyLCJpYXQiOjE1NjMxOTQxNzIsImp0aSI6ImY3NGRlMWUxOTQ0ZjExY2YiLCJub25jZSI6ImYxN2NhOGVlOWUwNzQ3ZWQ4NDZkNzhhZGYzYzNhYjRiIiwiYXpwIjoiMDRmNTc2NjIwYTI0Mzk4NmU3YjExNjc0ZDQzNTA2M2YiLCJhdF9oYXNoIjoiazZNakJjV3BhQnR1Q0NMdVgzdHlLQSJ9.SWEdPYVP-QWxgJjeDJ8CkQ6jvVpBrzlo3OUjDQFfXE0C5C4h9RG9QKJ1YUDUrZYFDbDQMcaSskkGL9Hud0iYARoWQNQg3CF4R47Oi4hin3vf39tbFdXSYQjVtWIiSyeHaB_scfVHRu8LnO2-g9PqLKhW5H-397DSP6nyWzlyYzPy_I8NDmwfVU56JdpXC0eRBA9LCHtAxnlGDSSXNYwiHAqTB2tm_lJ8RctKF3K_9RoKWgq4LnsLMK7W81Lguf7XemvfFPysyXJKYk_pUpFnHeOgQqXuSTRM7RlSpmilF9n9quMUPFFOWGmjAkrszULxbd5Tzy0LPmCMsr7OWHkelQ',
'token_type': 'pop'}
I'm getting status 401 Unauthorized. The header has an err