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
extends layout | |
block content | |
for item in items | |
.container-fluid(style='page-break-after:always') | |
.well | |
.row-fluid | |
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
VM_BACKUP_VOLUME=/vmfs/volumes/2TB_Spindle/backups | |
DISK_BACKUP_FORMAT=thin | |
VM_BACKUP_ROTATION_COUNT=2 | |
POWER_VM_DOWN_BEFORE_BACKUP=0 | |
ENABLE_HARD_POWER_OFF=0 | |
ITER_TO_WAIT_SHUTDOWN=3 | |
POWER_DOWN_TIMEOUT=5 | |
ENABLE_COMPRESSION=0 | |
VM_SNAPSHOT_MEMORY=0 | |
VM_SNAPSHOT_QUIESCE=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
callisto | |
dega | |
dojo | |
gondor | |
dev | |
vma |
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 crypto = require('crypto') | |
, key = '0123456789abcd0123456789abcd0123' // 32 | |
, iv = '2345678123456718' // 16 | |
, plaintext = 'password'; | |
var cipher = crypto.createCipheriv('aes-256-cbc', key, iv); | |
var decipher = crypto.createDecipheriv('aes-256-cbc', key, iv); | |
console.log('key length ' + key.length); |
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
contact = (req, res)-> | |
SubmitUsers = mongoose.model 'submit_users' | |
findObj = | |
session_id: req.session.id | |
SubmitUsers.findOne findObj, (err, user)-> | |
if(!user) | |
userObj = |
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
mongoose.model 'submit_users', new Schema | |
session_id: | |
type: String | |
lastVisitedOn: | |
type: Date | |
default: Date.now() | |
lastSubmissionDate: | |
type: Date | |
default: Date.now() |
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
express = require("express") | |
routes = require("./routes") | |
user = require("./routes/user") | |
http = require("http") | |
path = require("path") | |
app = express() | |
app.configure -> | |
app.set "port", process.env.PORT or 3000 | |
app.set "views", __dirname + "/views" |
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
{ | |
"directory" : "public/components", | |
"json" : "component.json", | |
"endpoint" : "https://bower.herokuapp.com", | |
"searchpath" : ["https://bower.herokuapp.com"] | |
} |
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
{ | |
"name": "myFirstWebsite", | |
"version": "0.0.1", | |
"directory" : "public/components", | |
"dependencies": { | |
"jquery": "*", | |
"bootstrap": "*", | |
"jquery-ui": "*", | |
"font-awesome": "*", | |
"hogan": "*" |
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
doctype 5 | |
html | |
head | |
title= title | |
link(rel='stylesheet', href='/components/bootstrap/docs/assets/css/bootstrap.css') | |
link(rel='stylesheet', href='/components/bootstrap/docs/assets/css/bootstrap-responsive.css') | |
link(rel='stylesheet', href='/components/font-awesome/css/font-awesome.min.css') | |
script(type="text/javascript", src="/components/jquery/jquery.min.js") | |
script(type="text/javascript", src="/components/bootstrap/docs/assets/js/bootstrap.js") |