Pad Live Coding

master
tancre 6 years ago
commit a98f9b03c6

@ -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 || ||

@ -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
Loading…
Cancel
Save