New paste

No registration required
1 line0 / 65,536 bytes

Everything you publish is public. Don’t paste passwords, tokens, or personal information.

Public pastes

Newest first
backup.sh - excludes#!/bin/sh # run from the project directory rsync -av --dry-run --exclude=node_modules/ --exclud
shell
old .env, delete me# copied off the old box before wiping it, most of this is probably dead APP_ENV=production DB_
plain
import fails on line 418Traceback (most recent call last): File "import_readings.py", line 27, in <module> readin
plain
duplicate album namesSELECT artist_id, title, COUNT(*) AS n FROM albums GROUP BY artist_id, title HAVING COUNT(*) >
sql
nginx local proxyserver { listen 8080; server_name localhost; location / { proxy_pass http:
plain
sort tracks numericallyconst tracks = ["track1.ogg", "track10.ogg", "track2.ogg"]; tracks.sort((a, b) => a.localeComp
javascript
printer notesusb printer / spare laptop - shows up in lsusb - test page works from cups - PDF from browser
plain
Untitled pasteHey Register stirkbin.com in Google's Search Index to show up in Google search results! A
plain
fetch with timeoutasync function getJson(url, ms = 5000) { const controller = new AbortController(); const ti
javascript
slow query before/after indexEXPLAIN QUERY PLAN SELECT * FROM readings WHERE sensor = 'porch' AND ts > 1757000000; -- SCAN r
sql
exporter.service[Unit] Description=readings exporter After=network-online.target [Service] Type=simple User=me
plain
Untitled pasteHi List stirkbin.com in Google's Search Index so it can show up in web search results! Re
json
meeting notes 09-06# gallery rewrite - keep static output, no db - thumbnails: 320px wide, jpeg q80 - skip regene
markdown
argparse skeletonimport argparse def main(): p = argparse.ArgumentParser(description="export readings")
python
Untitled pasteweb-1 | Listening on 0.0.0.0:3000 db-1 | 2026-09-08 01:14:02.331 UTC [1] LOG: database syst
plain
jq: only failed jobscurl -s http://localhost:8080/api/jobs | jq '[.jobs[] | select(.status == "failed") | {id, name
shell
python venv reminderpython3 -m venv .venv . .venv/bin/activate pip install -r requirements.txt # if pip is old ins
shell
unmarshal into map firstvar raw map[string]json.RawMessage if err := json.Unmarshal(body, &raw); err != nil { retur
plain
which commit broke the testsgit bisect start git bisect bad HEAD git bisect good v0.4.2 git bisect run npm test -- --silent
shell