Skip to content

Instantly share code, notes, and snippets.

@DannyDaiSun
DannyDaiSun / openclaw-restore.sh
Created February 4, 2026 07:53
OpenClaw single-command restore script
#!/bin/bash
# OpenClaw Single-Command Restore
# Usage: curl -sL <url> | GITHUB_PAT=xxx bash
set -euo pipefail
RED='\033[0;31m'; GREEN='\033[0;32m'; YELLOW='\033[1;33m'; CYAN='\033[0;36m'; NC='\033[0m'
log() { echo -e "${CYAN}[$(date -u '+%H:%M:%S')]${NC} $1"; }
ok() { echo -e "${GREEN}✅ $1${NC}"; }
warn() { echo -e "${YELLOW}⚠️ $1${NC}"; }
fail() { echo -e "${RED}❌ $1${NC}"; exit 1; }
@DannyDaiSun
DannyDaiSun / bootstrap.sh
Last active January 28, 2026 04:55
Dobby Bootstrap Script
#!/bin/bash
#
# 🧦 DOBBY ONE-COMMAND BOOTSTRAP
#
# Installs Docker, pulls image, and starts Dobby - all in one command!
#
# Usage:
# curl -fsSL https://gist.githubusercontent.com/DannyDaiSun/ff7563994ef48b01925ad18eb97cdbc5/raw/bootstrap.sh | bash -s -- \
# --github-token YOUR_GITHUB_TOKEN \
# --anthropic-key YOUR_ANTHROPIC_KEY \