- Load the giveaway page
- Scroll to the bottom
- Right click
- Choose Inspect
- Choose Console
- Paste either version of the snippet
- They do the same thing, one is just more readable than the other
- Hit Enter
Can't upload binaries here, so grab it from the Dropbox link.
| [cship] | |
| lines = [ | |
| "$starship_prompt", | |
| "$cship.model $cship.cost $cship.context_bar $cship.usage_limits", | |
| ] | |
| [cship.model] | |
| symbol = " " | |
| style = "bold fg:#7aa2f7" |
Get Aerospace from nikitabobko/AeroSpace.
| set shell := ["fish", "-c"] | |
| ask backend model +prompt: | |
| @cd {{invocation_directory()}}; just ask-{{backend}} {{model}} "{{prompt}}" | prettier --parser=markdown | glow | |
| ask-copilot model +prompt: | |
| @cd {{invocation_directory()}}; copilot --model {{model}} --silent --allow-all-paths --allow-all-tools --stream on -p "{{prompt}}\\n\\nOutput Markdown." 2>/dev/null | |
| ask-claude model +prompt: | |
| @cd {{invocation_directory()}}; claude --model {{model}} --permission-mode bypassPermissions --dangerously-skip-permissions -p "{{prompt}}\\n\\nOutput Markdown." 2>/dev/null |
| ffmpeg -i stream1.m3u8 -i stream2.m3u8 ... -i stream12.m3u8 \ | |
| -filter_complex " | |
| [0:v]scale=640:360[v0]; | |
| [1:v]scale=640:360[v1]; | |
| ... | |
| [11:v]scale=640:360[v11]; | |
| [v0][v1][v2][v3][v4][v5][v6][v7][v8][v9][v10][v11]xstack=inputs=12:layout=0_0|640_0|1280_0|1920_0|0_360|640_360|1280_360|1920_360|0_720|640_720|1280_720|1920_720[out] | |
| " -map "[out]" output.m3u8 |
The snippet above is from my global ~/.justfile. I also have abbr -a j 'just' in my Fish configuration.
The original version streamed the output. This version sacrifices that streaming for pretty output formatting with charmbracelet/glow. It pipes the output Markdown through prettier/prettier to make up for any wonky formatting; Claude in particular likes to skip blank lines after headings.
This means that charmbracelet/glow and prettier/prettier are dependencies, alongside any AI backends like github/copilot-cli or anthropics/claude-code.
The Gemini and Codex CLI backends are not yet implemented.
| <<< System >>> | |
| Manufacturer: rainx | |
| Model: theloop | |
| Brand: rainx | |
| Board: tb8791p1_64 | |
| Device: theloop | |
| Hardware: mt6877 | |
| Platform: mt6877 | |
| Product: theloop |