Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details>
tag!
<details>
Summary Goes Here
#!/bin/bash | |
if [[ "$1" != "" ]]; then | |
S3BUCKETNAME="$1" | |
else | |
echo ERROR: Failed to supply S3 bucket name | |
exit 1 | |
fi | |
aws s3 sync build s3://$S3BUCKETNAME --delete --cache-control max-age=31536000,public |
Yesterday I said this on Twitter: | |
"@KeystoneJS fuck your POS Framework. You don't get it and your docks are filled with lies. You've hurt the community and you should stop." | |
What I said was cruel. I was frustrated and I lashed out. I hurt others because of my frustration and I'm very sorry. | |
There is no excuse for what I did. | |
I regret my actions and I sincerely apologize to @mxstbr and anyone else in the @KeystoneJS community who I might have offended. |
''' | |
Example of Tornado that autoreloads/watches all files in folder 'static' | |
''' | |
import tornado.ioloop | |
import tornado.web | |
import tornado.autoreload | |
import os | |
''' serves index.html''' |
# Template: A.html | |
<html> | |
<head></head> | |
<body> | |
{% block hello %} | |
HELLO | |
{% endblock %} | |
</body> | |
</html> |