New paste
No registration requiredPublic pastes
Newest firstbackup.sh - excludes#!/bin/sh
# run from the project directory
rsync -av --dry-run --exclude=node_modules/ --exclud
shellold .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
plainduplicate album namesSELECT artist_id, title, COUNT(*) AS n
FROM albums
GROUP BY artist_id, title
HAVING COUNT(*) >
sqlnginx 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
javascriptprinter notesusb printer / spare laptop
- shows up in lsusb
- test page works from cups
- PDF from browser
plainUntitled pasteHey
Register stirkbin.com in Google's Search Index to show up in Google search results!
A
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
sqlexporter.service[Unit]
Description=readings exporter
After=network-online.target
[Service]
Type=simple
User=me
plainUntitled pasteHi
List stirkbin.com in Google's Search Index so it can show up in web search results!
Re
jsonmeeting notes 09-06# gallery rewrite
- keep static output, no db
- thumbnails: 320px wide, jpeg q80
- skip regene
markdownargparse skeletonimport argparse
def main():
p = argparse.ArgumentParser(description="export readings")
pythonUntitled pasteweb-1 | Listening on 0.0.0.0:3000
db-1 | 2026-09-08 01:14:02.331 UTC [1] LOG: database syst
plainjq: only failed jobscurl -s http://localhost:8080/api/jobs | jq '[.jobs[] | select(.status == "failed") | {id, name
shellpython venv reminderpython3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
# if pip is old ins
shellunmarshal into map firstvar raw map[string]json.RawMessage
if err := json.Unmarshal(body, &raw); err != nil {
retur
plainwhich commit broke the testsgit bisect start
git bisect bad HEAD
git bisect good v0.4.2
git bisect run npm test -- --silent
shell