sppoky
0

Configure Feed

Select the types of activity you want to include in your feed.

glossa / inject.sh
336 B 14 lines
1#!/usr/bin/env bash 2set -euo pipefail 3 4if [ $# -eq 0 ]; then 5 echo "usage: $(basename "$0") <text>" >&2 6 exit 1 7fi 8 9TEXT="$*" 10TMP="/tmp/glossa_test.json" 11 12.venv/bin/python3 glossa.py --json "$TMP" "$TEXT" 13scp "$TMP" remarkable:/tmp/glossa_strokes.json 14ssh -o ConnectTimeout=10 remarkable '/home/root/uinject /tmp/glossa_strokes.json'