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 pasteweb-1 | Listening on 0.0.0.0:3000 db-1 | 2026-09-08 01:14:02.331 UTC [1] LOG: database syst
plain
python venv reminderpython3 -m venv .venv . .venv/bin/activate pip install -r requirements.txt # if pip is old ins
shell
meeting notes 09-06# gallery rewrite - keep static output, no db - thumbnails: 320px wide, jpeg q80 - skip regene
markdown
which commit broke the testsgit bisect start git bisect bad HEAD git bisect good v0.4.2 git bisect run npm test -- --silent
shell
readings export, first rowstimestamp,sensor,temp_c,humidity 2026-09-07T00:00:12Z,porch,14.2,81 2026-09-07T00:05:12Z,porch,
plain
argparse skeletonimport argparse def main(): p = argparse.ArgumentParser(description="export readings")
python
fetch with timeoutasync function getJson(url, ms = 5000) { const controller = new AbortController(); const ti
javascript
unmarshal into map firstvar raw map[string]json.RawMessage if err := json.Unmarshal(body, &raw); err != nil { retur
plain
slow query before/after indexEXPLAIN QUERY PLAN SELECT * FROM readings WHERE sensor = 'porch' AND ts > 1757000000; -- SCAN r
sql