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
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking 168.63.27.5 (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests | |
Completed 500 requests |
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
var app = angular.module('Jungles', []); | |
app.controller('ColumnCtrl', function ($scope) { | |
$scope.columns = [1,2,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
/*global describe: true, beforeEach: true, before: true, after: true, it: true*/ | |
/*jslint sloppy: true, indent: 2, node: true, nomen: true, vars: true, es5: true */ |
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
{ | |
user: 'jimi', | |
locals: { | |
user: 'jimi' | |
} | |
} |
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
var http = require('http'); | |
var express = require('express'); | |
var app = express(); | |
app.set('view engine', 'jade'); | |
app.set('views', __dirname + '/views'); | |
app.locals.global = 'global'; |
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
var app = express(); | |
var fake = function (req, res, next) { | |
req.user = {}; | |
next(); | |
} | |
var middleware_under_test = function (req, res, next) { | |
// do stuff | |
} |
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
{ [error: duplicate key value violates unique constraint "settings_key_key"] | |
length: 159, | |
name: 'error', | |
severity: 'ERROR', | |
code: '23505', | |
detail: 'Key (key)=(version) already exists.', | |
hint: undefined, | |
position: undefined, | |
internalPosition: undefined, | |
internalQuery: undefined, |
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 Software: Microsoft-IIS/7.5 | |
Server Hostname: www.enome.be | |
Server Port: 80 | |
Document Path: / | |
Document Length: 4659 bytes | |
Concurrency Level: 20 | |
Time taken for tests: 470.345 seconds | |
Complete requests: 606 |
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
include ../mixins/form-helpers | |
+errors() | |
form.form-horizontal(action=url('my_events_create'), method='post') | |
+csrf() | |
+field('hidden', '_rev', 'rev') | |
+field('hidden', '_id', 'id') |
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
var customBasicAuth = function (req, res, next) { | |
if (!allow_all) { | |
return basicAuth(req, res, next); | |
} | |
next(); | |
}; |