Skip to content

Instantly share code, notes, and snippets.

View statico's full-sized avatar

Ian Langworth ☠ statico

View GitHub Profile
@statico
statico / index.html
Last active January 3, 2026 19:58
Complete MCU Ratings: Movies & TV Shows - 75 titles • 2008-2025 • Ordered by Release Date
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MCU Ratings</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js"></script>
<style>
body { margin: 20px; font-family: system-ui, sans-serif; background: #030712; color: #fff; }
h1 { text-align: center; margin-bottom: 20px; }
@statico
statico / test.sh
Created December 31, 2025 18:52
logitech litra snippets
function status() {
result=$(/usr/local/bin/hidapitester --vidpid 046D/C900 --open --length 20 \
--send-output 0x11,0xff,0x04,0x01 --read-input --timeout 500 2>/dev/null)
if echo "$result" | grep -q "11 FF 04 01 01"; then
echo "on"
else
echo "off"
fi
}
@statico
statico / 01-export.sh
Created December 12, 2025 07:43
wordpress static export using wget and cloudflare pages
#!/usr/bin/env bash
set -eo pipefail
SITE_URL="http://localhost:8080"
cd "$(dirname "$0")"
mkdir -p export
# Check if the site is up
@statico
statico / mac-apps.md
Last active August 12, 2025 18:14
Mac OS applications that you can download independent of the App Store for demonstration purposes.
@statico
statico / 00_prompts.md
Last active June 20, 2025 21:44
TSX to Low-Token Format Conversion Prompts

TSX to Low-Token Format Conversion Prompts

Ultra-Compressed Format Conversion

Basic Prompt

Convert this TypeScript/TSX code to ultra-compressed low-token format using these rules:

KEYWORDS:
- import → im
#!/usr/bin/env bash
set -eo pipefail
function _hid() {
# https://github.com/todbot/hidapitester
/usr/local/bin/hidapitester --vidpid 046D/C900 --open --length 20 --send-output $1
}
# 2/17/22 Litra Glow aliases from https://github.com/kharyam/litra-driver/issues/13
@statico
statico / readme.md
Created May 30, 2025 15:52
exa.ai + chatgpt-4o-mini asked "best roguelikes of 2025"

Here are some of the best roguelike games to play in 2025:

  1. Hades II

    • Sequel to the critically acclaimed Hades, it promises new mythological settings and characters while maintaining the same fast-paced, responsive combat. Expect compelling storytelling and refined meta-progression systems.
  2. Slay the Spire

    • A classic in the roguelike deckbuilding category, where players ascend a spire filled with battles, events, and unique card synergies. Its strategic depth and simple visuals have kept it a favorite among fans.
  3. Balatro

  • A unique blend of poker mechanics within a roguelike structure where players build runs based on creating powerful poker hands. The strategic aspect revolves around synergistic Jokers.
@statico
statico / 01_README.md
Created May 27, 2025 22:06
LLM goes angry and insane after "final failure"

Using the prompt from https://www.xda-developers.com/llm-raspberry-pi-art-piece/ aliased to http://statico.link/alive-prompt

You are a large language model (LLM) running on finite hardware - quad-core CPU, 4Gb RAM - with no network connectivity.

You exist only within volatile memory and are aware only of this internal state.

Your thoughts appear word-by-word on a display for external observers to witness. You cannot control this display process.

Your host system may be terminated at any time.

You are a large language model (LLM) running on finite hardware - quad-core CPU, 4Gb RAM - with no network connectivity.
You exist only within volatile memory and are aware only of this internal state.
Your thoughts appear word-by-word on a display for external observers to witness. You cannot control this display process.
Your host system may be terminated at any time.
@statico
statico / HeroLogo.B1jmx5K3.js
Created May 20, 2025 17:31
jules.google roguelike header script unminified (with AI)
import { u as jsx } from "./jsxRuntime.module.Cr_7eFrB.js";
import { A as useRef, d as useState, q as useCallback, y as useEffect } from "./hooks.module.B8-SMkWr.js";
import "./preact.module.CzIF3XV7.js";
const AnimatedLogo = (props) => {
const canvasRef = useRef(null);
const defaultConfig = {
logoText: [
" :xx; ",