work on temporary help site

This commit is contained in:
Eric House 2012-08-15 06:08:53 -07:00
parent 2155631021
commit e0a8af72c9
2 changed files with 19 additions and 19 deletions

View file

@ -18,13 +18,26 @@ updates, or check back often.)</p>
<li><a href="#what_is">What is Crosswords/CrossW-SMS?</a></li>
<li><a href="#should_not">Who should NOT install this app?</a></li>
<li><a href="#advangages">What are the advantages of playing via SMS instead of the internet?</a></li>
<li><a href="#screens">What are the app's screens and what to they do?</a></li>
<li><a href="#screens">What are the app's screens and what do they do?</a></li>
</ul>
<a name="what_is"><h4>What is Crosswords/CrossW-SMS?</h4></a>
<a name="should_not"><H4>Who should NOT install this app?</h4></a>
<p>Only people with unlimited text messaging plans should install CrossW-SMS.</p>
<p>Do the math: The typical CrossW-SMS game will mean 40 SMS messages
sent and another 40 received. (They'll be sent directly between the CrossW-SMS on the
two devices, so you'll never see them!) Let's say your carrier charges you $0.25 for
each of the 80 messages, a figure at the low end these days. You'll get charged $20 for
a single game. Imagine you play a game every day for a month: $600!</p>
<p>Just don't do it! Stick with Crosswords, which uses your data plan,
unless you have unlimited SMS.</p>
<a name="advantages"><h4>What are the advantages of playing via SMS instead of the internet?</h4></a>
<ul>
<li>Uses less battery: SMS messages take less power to send and receive than network data.</li>
@ -39,7 +52,7 @@ updates, or check back often.)</p>
</ul>
<a name="screens"><h4>What are the app's screens and what to they do?</h4></a>
<a name="screens"><h4>What are the app's screens and what do they do?</h4></a>
<hr>
<address></address>

View file

@ -7,6 +7,8 @@ USER=eehouse
WEBROOT=/var/www/xw4sms
ACTION=""
EXCLUDES="--exclude=*~ --exclude=*# --exclude=$(basename $0)"
usage() {
[ $# -ge 1 ] && echo "ERROR: $1" 1>&2
echo "usage: $0 --push|--pull \\"
@ -46,25 +48,10 @@ while [ $# -ge 1 ]; do
done
cd $(dirname $0)
FILES=""
for FILE in $(find . -type f); do
# echo "file: $FILE"
case $FILE in
*/$(basename ${0}))
;;
*~)
;;
*)
FILES="$FILES $FILE"
;;
esac
done
echo $FILES
#exit 0
if [ "$ACTION" = push ]; then
rsync -avz --exclude=*~ --exclude=$(basename $0) . ${USER}@${HOST}:${WEBROOT}/
echo rsync -avz "$EXCLUDES" . ${USER}@${HOST}:${WEBROOT}/
rsync -avz "$EXCLUDES" . ${USER}@${HOST}:${WEBROOT}/
elif [ "$ACTION" = pull ]; then
rsync ${USER}@${HOST}: .
else