Skip to content

Instantly share code, notes, and snippets.

View bananatron's full-sized avatar
🍞
Stale bread is just lofi toast.

Spenser bananatron

🍞
Stale bread is just lofi toast.
View GitHub Profile
@bananatron
bananatron / tachyons-lite.scss
Created August 2, 2024 02:11
Tachyons Lite
/*! TACHYONS v4.12.0 | http://tachyons.io */
/*
*
* ________ ______
* ___ __/_____ _________ /______ ______________________
* __ / _ __ `/ ___/_ __ \_ / / / __ \_ __ \_ ___/
* _ / / /_/ // /__ _ / / / /_/ // /_/ / / / /(__ )
* /_/ \__,_/ \___/ /_/ /_/_\__, / \____//_/ /_//____/
*
* ---- LITE VERSION (BLUEPRINT SPECIAL) ----
@bananatron
bananatron / app.rb
Created December 7, 2024 20:00
Q3 Server Status Check
require 'sinatra'
require 'socket'
require 'timeout'
# Configuration
set :bind, '0.0.0.0'
set :port, 4567
# Helper to check server status
def quake_server_status(host = 'localhost', port = 27960, timeout = 2)
@bananatron
bananatron / die_odds.md
Last active November 11, 2025 16:51
Polyhedral Die Battle Odds

Polyhedral Die Battle Odds

vs → d4 d6 d8 d10 d12 d20
d4 37.5 25.0 18.8 15.0 12.5 7.5
d6 58.3 41.7 31.3 25.0 20.8 12.5
d8 68.8 56.3 43.8 35.0 29.2 17.5
d10 75.0 65.0 55.0 45.0 37.5 22.5
d12 79.2 70.8 62.5 54.2 45.8 27.5
d20 87.5 82.5 77.5 72.5 67.5 47.5