This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| patch-claude-auto-mode.py | |
| Enables auto mode in Claude Code for plans that don't natively include it. | |
| Two patches are applied: | |
| 1) Beta header: Claude Code sends an "afk-mode" beta header with API | |
| requests when auto mode is active. The Anthropic API validates this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # | |
| # βββββββ ββββββββββββ ββββββββββββββββββββββββββββ ββββββββββ | |
| # ββββββββ ββββββββββββ ββββββββββββββββββββββββββββ βββββββββββ | |
| # βββ βββββββ βββ ββββββββββββββ βββ βββ βββββββββββ | |
| # βββ ββββββ βββ ββββββββββββββ βββ βββ ββββββββββ | |
| # ββββββββββββ βββ ββββββββββββββββ βββ ββββββββββββ | |
| # βββββββ βββ βββ ββββββββββββββββ βββ βββββββ βββ | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const emojiMap = { | |
| "1": "π", | |
| "2": "β‘οΈ1οΈβ£", | |
| "3": "β‘οΈ1οΈβ£", | |
| "4": "π2οΈβ£", | |
| "5": "β‘οΈ2οΈβ£", | |
| "6": "β‘οΈ2οΈβ£", | |
| "7": "π2οΈβ£", | |
| "8": "β‘οΈ2οΈβ£", | |
| "9": "β‘οΈ2οΈβ£", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Perform a ping test | |
| echo "Starting ping test to $SERVER_IP..." | |
| ping -c 4 $SERVER_IP | |
| if [ $? -eq 0 ]; then | |
| echo "Ping test to $SERVER_IP: Success" | |
| else | |
| echo "Ping test to $SERVER_IP: Failed" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(https://fonts.googleapis.com/css?family=Roboto:400,700,500,300);@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,700,500,300);@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}[src$="blue.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA5Njg4IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}[src$="red.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRjQ0MzM2IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtMmgydjJ6bTAtNGgtMlY3aDJ2NnoiLz48L3N2Zz4=)}[src$="yellow.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "editor.lineNumbers": "relative", | |
| "editor.minimap.enabled": false, | |
| "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe", | |
| "terminal.integrated.fontFamily": "monospace", | |
| "files.eol": "\n", | |
| "editor.suggestSelection": "first", | |
| "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
| "java.semanticHighlighting.enabled": true, | |
| "vim.leader": "<space>", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs'), | |
| path = require('path'); | |
| function getDirectories(srcpath) { | |
| return fs.readdirSync(srcpath).filter(function(file) { | |
| return fs.statSync(path.join(srcpath, file)).isDirectory(); | |
| }); | |
| } | |
| getDirectories('.').forEach(folder => { |