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