Skip to content

Instantly share code, notes, and snippets.

@0xmiki
0xmiki / index.html
Last active September 6, 2026 17:14
4D chess: quality of life improvements
<!doctype html>
<html lang="en" data-input="pointer">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="var(--c-fafbf9,#fafbf9)">
<title>4D chess</title>
<script>
try{document.documentElement.dataset.theme=localStorage.getItem("4d-chess-theme")==="dark"?"dark":"light";}catch{}
</script>
#!/bin/bash
set -euo pipefail
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
log() { echo -e "${GREEN}[$(date +'%F %T')]${NC} $1"; }
#!/bin/bash
# VPS Setup Script
# Combines system updates, NTP sync, Rust installation, dev tools, and tmux
set -euo pipefail # Exit on error, undefined vars, pipe failures
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'