Skip to content

Instantly share code, notes, and snippets.

View lastknight's full-sized avatar

Matteo Flora lastknight

View GitHub Profile
@lastknight
lastknight / clouded-bootstrap.sh
Last active March 10, 2026 21:45
clouded-bootstrap: one-curl Claude Code setup with skills
#!/usr/bin/env bash
# clouded-bootstrap.sh — Setup Claude Code su una macchina nuova
# Usage: curl -fsSL https://raw.githubusercontent.com/lastknight/claude-skills/main/clouded-bootstrap.sh | bash
set -euo pipefail
# ── colori ────────────────────────────────────────────────────────────────────
RED='\033[0;31m'; GREEN='\033[0;32m'; YELLOW='\033[1;33m'; BOLD='\033[1m'; NC='\033[0m'
log() { echo -e "${GREEN}▸${NC} $*"; }
warn() { echo -e "${YELLOW}⚠${NC} $*"; }
# Il codice delle statistiche del talk "Data Driven Bullshit" di pane Web e Salame 2016
# Maggiori info qui: http://mgpf.it/2016/09/30/daradrivenbullshit2016.html
require "fb_graph2"
require "pp"
require "csv"
require "unidecoder"
FbGraph2.api_version = 'v2.7'
FbGraph2.http_config do |config|
require 'anemone'
Anemone.crawl("http://stackoverflow.com/", {:proxy_host => 'proxy.xyz.com', :proxy_port => '9999'}) do |anemone|
anemone.on_every_page do |page|
puts page.url
end
end