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
server { | |
listen 8000; | |
server_name dds.mydomain.com; | |
access_log /var/log/nginx/dds.mydomain.com.access.log; | |
error_log /var/log/nginx/dds.mydomain.com.error.log; | |
ssl on; | |
ssl_certificate /my/server/cert/dds.mydomain.com.bundle.crt; | |
ssl_certificate_key /my/server/cert/private/dds.mydomain.com.key; |
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
/** | |
* LOG | |
* | |
* Basic HTTP logger. | |
*/ | |
var Logger = function() { | |
var _LEVELS = { | |
DEBUG: 1, | |
INFO: 2, | |
ERROR: 3 |
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
/** | |
* Script to export Spreadsheet content as JSON | |
* | |
* The script, when onDocumentOpen is set up via triggers, creates an extra menu item "Actions" where the script can be run. | |
* Originally designed to use Spreadsheets as web translation tool. Sheet contains columns for each language and first row is considered header column which is not exported. | |
**/ | |
//Global | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var activeSheet = ss.getActiveSheet(); |