From 39f41e37ae5c6d4fc5b9dc3a6c1d54807e916338 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 04:42:11 +0100 Subject: launch john --- img/john.pnm | Bin 315339 -> 315339 bytes john_pnm.cgi | 1 + 2 files changed, 1 insertion(+) diff --git a/img/john.pnm b/img/john.pnm index 54a197e..b261a22 100644 Binary files a/img/john.pnm and b/img/john.pnm differ diff --git a/john_pnm.cgi b/john_pnm.cgi index 2e3ba3a..dab1d2e 100755 --- a/john_pnm.cgi +++ b/john_pnm.cgi @@ -3,5 +3,6 @@ JOHN_DIR="/home/rebecca/shed/gnom/john/ads" johnfile="$JOHN_DIR/$(ls "$JOHN_DIR"|shuf -n1)" +johnfile="${1:-$johnfile}" anytopnm <"$johnfile" | ppmtoppm | pnmscale -height=114 -- cgit v1.2.3