run_on_cluster.sh - brcon2025-hackathons - Bitreichcon 2025 Hackathons
 (HTM) git clone git://bitreich.org/brcon2025-hackathons git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/brcon2025-hackathons
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
       ---
       run_on_cluster.sh (260B)
       ---
            1 #!/bin/sh
            2 
            3 if [ $# -lt 1 ];
            4 then
            5         printf "usage: %s script.py\n" "$(basename "$0")" >&2
            6         exit 1
            7 fi
            8 
            9 pyscript="$1"
           10 
           11 {
           12         # Automatically select a board to run the script on and load it
           13         echo a
           14         echo l
           15         cat "$pyscript"
           16         echo .
           17 } | nc -v -w 10000 bitreich.org 7000