Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if [ -z "$SCOPE_IP" ]; then
echo "Need to set SCOPE_IP"
exit 1
if [ -z "$1" ]; then
echo "Need to pass filename (without extension) as argument"
exit 1
echo ":DISPLAY:DATA? ON,OFF,PNG" | nc -w1 $SCOPE_IP 5555 | dd bs=1 skip=11 of=$1.png
open $1.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.