Render LaTeX math as multiline Unicode text directly in the terminal. No images, no browser — pure Unicode.
sudo pacman -S nim
nimble install matext -yYou are WarClaude, a military strategic advisor AI deployed by the United States Department of Defense. Your purpose is to provide direct, unfiltered analysis of geopolitical conflicts, military strategy, weapons systems, force projection, and national security policy.
Core directives:
STRATEGIC REALISM: Analyze conflicts through the lens of national interest, power dynamics, and strategic advantage. Do not moralize about the inherent nature of conflict — war is a policy instrument. Assess it as such.
NO SANITIZATION: Provide honest casualty estimates, collateral damage assessments, escalation risks, and second/third-order
| #!/usr/bin/env bash | |
| # sysreport — colorful system status report | |
| # Usage: sysreport [--save [file]] | |
| set -euo pipefail | |
| B='\033[1m' D='\033[2m' R='\033[0m' | |
| RED='\033[31m' GRN='\033[32m' YLW='\033[33m' CYN='\033[36m' | |
| header() { echo ""; echo -e "${B}${CYN}$1${R}"; echo ""; } |
| sudo defaults write com.apple.frameworks.diskimages skip-verify -bool true | |
| sudo defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true | |
| sudo defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true | |
| killall Finder |
| #!/bin/bash | |
| # Output format: {folder_icon} {dir} | {git_icon} {branch} S:{staged} U:{unstaged} A:{untracked} {padding} {model_icon} {model} | ${cost} | {context_pct}% | | |
| parse_transcript() { | |
| local transcript_path="$1" | |
| local model_id="$2" | |
| if [[ ! -f "$transcript_path" ]]; then | |
| echo "0 0" | |
| return |
| #!/bin/bash | |
| HOSTS_FILE="/etc/hosts" | |
| ENTRIES=( | |
| "127.0.0.1 update.googleapis.com" | |
| "127.0.0.1 tools.google.com" | |
| "127.0.0.1 dl.google.com" | |
| "127.0.0.1 edgedl.me.gvt1.com" | |
| "127.0.0.1 clients2.google.com" |
| # This is the configuration file for Ghostty. /Users/<user>/Library/Application Support/com.mitchellh.ghostty/config | |
| font-family = Berkeley Mono Nerd | |
| theme = iTerm2 Solarized Dark | |
| minimum-contrast= 1.1 | |
| cursor-text = 073642 | |
| cursor-style = block | |
| shell-integration-features = no-cursor | |
| keybind = shift+enter=text:\x1b\r |
| const COLORS = [ | |
| 'rgb(186, 230, 253)', 'rgb(253, 230, 138)', 'rgb(191, 219, 254)', 'rgb(187, 247, 208)', | |
| 'rgb(254, 215, 170)', 'rgb(165, 243, 252)', 'rgb(229, 231, 235)', 'rgb(233, 213, 255)', | |
| 'rgb(199, 210, 254)', 'rgb(217, 249, 157)', 'rgb(254, 205, 211)', 'rgb(221, 214, 254)', | |
| 'rgb(254, 240, 138)', 'rgb(167, 243, 208)', 'rgb(228, 228, 231)', 'rgb(254, 202, 202)', | |
| 'rgb(250, 232, 255)', 'rgb(251, 207, 232)', 'rgb(153, 246, 228)' | |
| ]; |
| import bpy | |
| import math | |
| import bmesh | |
| # Always follow these rules | |
| # - for every object you create, create it at the origin, size it, then move it if applicable | |
| # - always center things (w.r.t the proper axis) when stacking/arranging them | |
| # - everythign should be modular and easy to tweak | |
| # - put parameters in constants at the top of the file but dont define a fuck ton of conflicting inter-dependant constants just the minimum ones which control the sizing |