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 _ = require("underscore"); | |
_.mixin(require("underscore.deep")); | |
var config = function(local, wallaby) { | |
process.env.NODE_PATH += ":" + require('path').join(wallaby.localProjectDir, 'core', 'node_modules'); | |
return _.deepExtend({ | |
testFramework: "mocha", | |
files: [ | |
"!test/**/*Spec.coffee", | |
"**/helper/**/*.coffee", |
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
starfall@nx:~/workspace/PM2$ bash test/bash/watch.sh | |
$pm2 kill | |
[PM2] Stopping PM2... | |
[PM2] deleteProcessId process id 0 | |
[PM2][WARN] No process found | |
[PM2] All processes have been stopped and deleted | |
[PM2] PM2 stopped | |
# Determine wget / curl |
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
<application> | |
<component name="XDebuggerSettings"> | |
<data-views /> | |
<general /> | |
<debuggers> | |
<debugger id="elixir"> | |
<configuration> | |
<module-filters> | |
<list> | |
<module-filter pattern="Access" /> |
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
RegExp.escape = function(s) { | |
return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); | |
}; | |
DBCollection.prototype.findOld = DBCollection.prototype.find; | |
DBCollection.prototype.find = function(query, fields) { | |
if (typeof query === 'string') { | |
var re = new RegExp(RegExp.escape(query), "i"); | |
query = {$or: [{_id: re}, {name: re}, {title: re}, {text: re}, {"emails.address": re}]}; | |
} |
OlderNewer