# HG changeset patch # User root # Date 1350119125 0 # Node ID f35019025c9dec40c912e31208d114dafa015206 # Parent ddb09f0a67fdc6af4cbd7765aaa4f7403bf11903 added 100ms .00 to chronq diff -r ddb09f0a67fd -r f35019025c9d nodescore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nodescore Sat Oct 13 09:05:25 2012 +0000 @@ -0,0 +1,31 @@ +#!/bin/bash + +# calls phantomjs to make screenshots +# of each anchor in PROJECT then calls +# imagemagick to resize them for preview +# panel. The size of the screenshot +# is defined in rasterize.js + +# nodescore@kiben.net +# nodescore.kiben.net + +if [ "$1" = "home" ] +then +SERVER='192.168.1.77:8889' +else +SERVER='http://nodescore.kiben.net:8889' +fi + +BASEDIR='www/m' +PROJECT='seta' +THUMBPATH=$BASEDIR/thumbs + +if [ ! -f $BASEDIR/music.html ]; + then echo create $BASEDIR/music.html and add some music + exit 0; +fi + +killall node; +supervisor nodescore.js & +sleep 2; +sh ss2thumb.sh $PROJECT $SERVER; diff -r ddb09f0a67fd -r f35019025c9d nodescore.sh --- a/nodescore.sh Sat Oct 13 00:17:52 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -#!/bin/bash - -# calls phantomjs to make screenshots -# of each anchor in PROJECT then calls -# imagemagick to resize them for preview -# panel. The size of the screenshot -# is defined in rasterize.js - -# nodescore@kiben.net -# nodescore.kiben.net - -if [ "$1" = "home" ] -then -SERVER='192.168.1.77:8889' -else -SERVER='http://nodescore.kiben.net:8889' -fi - -BASEDIR='www/m' -PROJECT='seta' -THUMBPATH=$BASEDIR/thumbs - -if [ ! -f $BASEDIR/music.html ]; - then echo create $BASEDIR/music.html and add some music - exit 0; -fi - -killall node; -supervisor nodescore.js & -sleep 2; -sh ss2thumb.sh $PROJECT $SERVER;