Autorefresh.sh: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="bash"> #!/bin/bash input=$1; filename=$(basename $input); while true do wget http://pads.osp.kitchen/p/css-regions.graphviz/export/txt -O $filename.dot dot -Tpdf $filename.dot > $filename.pdf sleep 5 done </syntaxhighlight> Category:Boilerplates")
 
No edit summary
Line 1: Line 1:
==Script==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
#!/bin/bash
#!/bin/bash
Line 13: Line 15:
</syntaxhighlight>
</syntaxhighlight>


==How to work with it?==
'''What does this script do?'''<br>
...
'''In which context was it made?'''<br>
...
'''What software does it use?'''<br>
...
'''How to download these pieces of software?'''<br>
...
'''On which systems can this script run?'''<br>
...
'''How to run the script?'''<br>
First make the script executable:
chmod +x autorefresh.sh
And then run the script:
$ ./autorefresh.sh filename
==Making diagrams with graphviz with multiple people==
[[File:Screenshot from 2023-06-01 10-56-42.png|thumb|right|Screenshot of a pad used by Alex and Manetta on June 1st 2023, while working on a Graphviz diagram of the Médor workflow.]]
...


[[Category:Boilerplates]]
[[Category:Boilerplates]]

Revision as of 13:03, 1 June 2023

Script

#!/bin/bash

input=$1;
filename=$(basename $input);

while true
do
	wget http://pads.osp.kitchen/p/css-regions.graphviz/export/txt -O $filename.dot
	dot -Tpdf $filename.dot > $filename.pdf
	sleep 5
done

How to work with it?

What does this script do?
...

In which context was it made?
...

What software does it use?
...

How to download these pieces of software?
...

On which systems can this script run?
...

How to run the script?
First make the script executable:

chmod +x autorefresh.sh

And then run the script:

$ ./autorefresh.sh filename

Making diagrams with graphviz with multiple people

Screenshot of a pad used by Alex and Manetta on June 1st 2023, while working on a Graphviz diagram of the Médor workflow.

...