tancre преди 2 години
ревизия
a98f9b03c6
променени са 2 файла, в които са добавени 36 реда и са изтрити 0 реда
  1. 27
    0
      README.txt
  2. 9
    0
      live.sh

+ 27
- 0
README.txt Целия файл

@@ -0,0 +1,27 @@
1
+ _ _                         _ _
2
+| (_)_   _____  ___ ___   __| (_)_ __   __ _
3
+| | \ \ / / _ \/ __/ _ \ / _` | | '_ \ / _` |
4
+| | |\ V /  __/ (_| (_) | (_| | | | | | (_| |
5
+|_|_| \_/ \___|\___\___/ \__,_|_|_| |_|\__, |
6
+                                       |___/
7
+
8
+_How to set a collective live coding session of webdesign_
9
+
10
++-----------------------------+
11
+|  tools:                     |
12
+|    *raspberry pi + apache2  |
13
+|    *pad                     |
14
++-----------------------------+
15
+|  files:                     |
16
+|    *.html                   |
17
+|    *.css                    |
18
+|    *.sh (configuration)     |
19
++-----------------------------+
20
+ ___________
21
+< ENJOOOOOY >
22
+ -----------
23
+        \   ^__^
24
+         \  (oo)\_______
25
+            (__)\       )\/\
26
+love,           ||----w |
27
+Outis           ||     ||

+ 9
- 0
live.sh Целия файл

@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+
3
+while true                                                       # run a loop
4
+do 
5
+wget -O live.tmp https://pad.xpub.nl/p/test/export/txt           # download the txt of a pad's link into a file.tmp 
6
+mv live.tmp live.html                                            # rename .tmp into .html
7
+sleep 5                                                          # 5 seconds delay
8
+done                                                             # restart the loop
9
+

Loading…
Отказ
Запис