From 0965f8d378cc6481a260f136cfa6883e8c1116bc Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 03:27:52 +0100 Subject: launch john --- john_pnm.cgi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 john_pnm.cgi (limited to 'john_pnm.cgi') diff --git a/john_pnm.cgi b/john_pnm.cgi new file mode 100755 index 0000000..2e3ba3a --- /dev/null +++ b/john_pnm.cgi @@ -0,0 +1,7 @@ +#!/bin/sh + +JOHN_DIR="/home/rebecca/shed/gnom/john/ads" + +johnfile="$JOHN_DIR/$(ls "$JOHN_DIR"|shuf -n1)" +anytopnm <"$johnfile" | ppmtoppm | pnmscale -height=114 + -- cgit v1.2.3