This file contains hidden or 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
class IntegrationLevel(db.Model): | |
__tablename__ = 'integration_levels' | |
id = db.Column(db.Integer, primary_key=True) | |
level = db.Column(db.Integer, nullable=False) | |
labs = db.relationship('Lab', backref='integration_level') | |
class TypeOfLab(db.Model): | |
__tablename__ = 'type_of_labs' |
This file contains hidden or 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
var Timer; | |
Timer = (function() { | |
function Timer(opts) { | |
this.opts = opts != null ? opts : {}; | |
_(this).extend(Backbone.Events); | |
_.defaults(this.opts, { | |
start: 0 | |
}); |
This file contains hidden or 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 | |
# tmux session initialisation script | |
# change the following config to your preferences | |
SESSION="work" | |
workspace1="$HOME/server/www" | |
workspace2="$HOME/codeyard" | |
tmux has-session -t $SESSION > /dev/null |
NewerOlder