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.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Pick at Random</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <style type="text/css"> | |
| body { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Basemaps | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, .map { | |
| height: 200px; |
| scriptencoding utf-8 | |
| let s:calendar_list = [ | |
| \ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'], | |
| \ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'], | |
| \ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'], | |
| \ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'], | |
| \ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'], | |
| \ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'], | |
| \ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'], |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| ## SOURCE: xe.com | |
| --> | |
| <currency-symbol count="115"> | |
| <entry code="ALL" unicode-decimal="76, 101, 107" unicode-hex="4c, 65, 6b">Albania Lek</entry> | |
| <entry code="AFN" unicode-decimal="1547" unicode-hex="60b">Afghanistan Afghani</entry> | |
| <entry code="ARS" unicode-decimal="36" unicode-hex="24">Argentina Peso</entry> | |
| <entry code="AWG" unicode-decimal="402" unicode-hex="192">Aruba Guilder</entry> | |
| <entry code="AUD" unicode-decimal="36" unicode-hex="24">Australia Dollar</entry> |
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
| /** | |
| * Get Local IP Address | |
| * | |
| * @returns Promise Object | |
| * | |
| * getLocalIP().then((ipAddr) => { | |
| * console.log(ipAddr); // 192.168.0.122 | |
| * }); | |
| */ | |
| function getLocalIP() { |
| # The next line updates PATH for the Google Cloud SDK. | |
| source /Users/dwchiang/google-cloud-sdk/path.zsh.inc | |
| # The next line enables zsh completion for gcloud. | |
| source /Users/dwchiang/google-cloud-sdk/completion.zsh.inc |
| /* | |
| Copyright (c) 2011 Andrei Mackenzie | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
| /* font size & line height in px */ | |
| $font-size-body-px: 14; | |
| $line-height-px: 21; | |
| /* calculate font-size (in %) and line-height (in em) */ | |
| $font-size-body: pc($font-size-body-px, 16); | |
| $line-height: em($line-height-px, $font-size-body-px); |