commit a98f9b03c63e7f26db4069f4c711d6205c57ee3c Author: tancre Date: Fri Jun 28 14:18:02 2019 +0100 Pad Live Coding diff --git a/README.txt b/README.txt new file mode 100755 index 0000000..02c401e --- /dev/null +++ b/README.txt @@ -0,0 +1,27 @@ + _ _ _ _ +| (_)_ _____ ___ ___ __| (_)_ __ __ _ +| | \ \ / / _ \/ __/ _ \ / _` | | '_ \ / _` | +| | |\ V / __/ (_| (_) | (_| | | | | | (_| | +|_|_| \_/ \___|\___\___/ \__,_|_|_| |_|\__, | + |___/ + +_How to set a collective live coding session of webdesign_ + ++-----------------------------+ +| tools: | +| *raspberry pi + apache2 | +| *pad | ++-----------------------------+ +| files: | +| *.html | +| *.css | +| *.sh (configuration) | ++-----------------------------+ + ___________ +< ENJOOOOOY > + ----------- + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ +love, ||----w | +Outis || || diff --git a/live.sh b/live.sh new file mode 100755 index 0000000..9b3d99c --- /dev/null +++ b/live.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +while true # run a loop +do +wget -O live.tmp https://pad.xpub.nl/p/test/export/txt # download the txt of a pad's link into a file.tmp +mv live.tmp live.html # rename .tmp into .html +sleep 5 # 5 seconds delay +done # restart the loop +