summaryrefslogtreecommitdiffstats
path: root/gold/scex
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-24 17:01:38 +0200
committertv <tv@xso>2011-08-24 17:01:38 +0200
commit28fbd9a5f090c52766d0e4ef1014f3356e188656 (patch)
treed4f40a60cb311588f096dec74335a4473f2f6c43 /gold/scex
parent77b129d0f8958149bb2a876c574b1d3d9c671bc8 (diff)
gold: add scex ticker_text.sh
Diffstat (limited to 'gold/scex')
-rwxr-xr-xgold/scex/ticker2
-rwxr-xr-xgold/scex/ticker_text.sh4
2 files changed, 6 insertions, 0 deletions
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