This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Config for SSL. | |
echo "--- Making SSL Directory ---" | |
mkdir /etc/nginx/ssl | |
echo "--- Copying $i SSL crt and key ---" | |
openssl req -nodes -new -x509 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj "/C=US/ST=NY/L=NYC/O=Dis/CN=www.example.com" | |
echo "--- Turning SSL on in nginx.conf. ---" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Loop your Timeline.js timeline, for your display/exhibit. | |
* @Inspiredby discussions at: | |
* https://groups.google.com/forum/#!topic/verite-timeline/h9fOiKCqGZs | |
* Demo at: http://www.apn-gcr.org/visual/timeline/ | |
*/ | |
(function($){ | |
var delay = 10000; // interval between slides, in miliseconds | |
var loop = true; // play timeline in loops if set to true |