- Use fish as the source-of-truth shell.
- Run terminal commands as
fish -lc '<command>'. - Use
uvfor Python. - Use
js_replfor persistent browser control when working interactively in FreeTaxUSA.
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 java.util.Map; | |
| import java.util.Objects; | |
| public class TypestateJava21Demo { | |
| // Shared immutable data for all states (avoids duplication). | |
| record ConnContext(String host) { | |
| ConnContext { Objects.requireNonNull(host, "host"); } | |
| String baseUrl() { return "https://" + host; } // shared, always safe | |
| } |
This is ralph for ralph driven development. It's a script that keeps running your AI agent agaist some prompts until it says a magic word signaling that it is done with what you needed.
This is mainly done to work with codex but it can be changed to work with anything else.
This project includes a plan, a sequenced specs backlog, and a script that runs
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
| # Networking connectivity in Standby | |
| REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\F15576E8-98B7-4186-B944-EAFA664402D9 /v Attributes /t REG_DWORD /d 2 /f | |
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 processInPool = async ( | |
| tasks: (() => Promise<unknown>)[], | |
| poolSize: number, | |
| ) => { | |
| const pool = tasks.toReversed(); | |
| const worker = async () => { | |
| while (true) { | |
| const task = pool.pop(); | |
| if (task == null) { | |
| return; |
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
| scoop bucket add main | |
| scoop bucket add java | |
| scoop bucket add extras | |
| scoop install main/git | |
| scoop install main/7zip | |
| scoop install main/python | |
| scoop install main/nodejs-lts | |
| scoop install main/go | |
| scoop install java/corretto17-jdk |
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
| Foreach ($v in (youtube-dl --get-id PLAYLIST_URL)) { | |
| Start-Job -ScriptBlock { youtube-dl $using:v } | |
| } | |
| # to extract audio add: -x | |
| # to extract as mp3 add: -x --audio-format mp3 |
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
| graph = [ | |
| ("GC", "zi"), | |
| ("end", "zv"), | |
| ("lk", "ca"), | |
| ("lk", "zi"), | |
| ("GC", "ky"), | |
| ("zi", "ca"), | |
| ("end", "FU"), | |
| ("iv", "FU"), | |
| ("lk", "iv"), |
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
| ''' | |
| # Sample code to perform I/O: | |
| name = input() # Reading input from STDIN | |
| print('Hi, %s.' % name) # Writing output to STDOUT | |
| # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail | |
| ''' | |
| # Write your code here |
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
| scoop install 7zip git vscode googlechrome vlc |
NewerOlder