
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
function InvalidSetException(message) { | |
this.message = message | |
} | |
function DateRange(lower, upper) { | |
this.empty = false; | |
this.lower = lower; | |
this.upper = upper; | |
if (this.lower) { | |
this.lower = this.lower.clone(); |
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/bash | |
# | |
# This script will convert a Meteor application into a Node.js application | |
# then deploy it to AWS Elastic Beanstalk. | |
# | |
# Run like `deploy_aws.sh my_eb_app my_eb_app-production`. | |
# | |
# That will deploy the Meteor application containing this script | |
# to the `my_eb_app-production` environment of the `my_eb_app` EB application. |
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
from .settings import * | |
LOGGING['formatters']['logsna'] = {'()': 'logsna.Formatter'} | |
db_handler = {'level': 'INFO', | |
'class': 'logging.handlers.RotatingFileHandler', | |
'filename': here('logs', 'db.log'), | |
'maxBytes': 4194304, | |
'formatter': 'logsna', |