From 28fbd9a5f090c52766d0e4ef1014f3356e188656 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 24 Aug 2011 17:01:38 +0200 Subject: gold: add scex ticker_text.sh --- gold/scex/ticker | 2 ++ gold/scex/ticker_text.sh | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 gold/scex/ticker create mode 100755 gold/scex/ticker_text.sh (limited to 'gold/scex') diff --git a/gold/scex/ticker b/gold/scex/ticker new file mode 100755 index 00000000..a95d5910 --- /dev/null +++ b/gold/scex/ticker @@ -0,0 +1,2 @@ +#! /bin/sh +exec curl -ksS http://scexchange.bitparking.com:8080/api/ticker diff --git a/gold/scex/ticker_text.sh b/gold/scex/ticker_text.sh new file mode 100755 index 00000000..fbaff55b --- /dev/null +++ b/gold/scex/ticker_text.sh @@ -0,0 +1,4 @@ +#! /bin/sh +set -euf +cd $(dirname `readlink -f $0`) +./ticker | ../json/render/ticker -- cgit v1.2.3