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 | |
BIND=127.0.0.1:9000 | |
USER=www-data | |
PHP_FCGI_CHILDREN=15 | |
PHP_FCGI_MAX_REQUESTS=1000 | |
PHP_CGI=/usr/bin/php-cgi | |
PHP_CGI_NAME=`basename $PHP_CGI` | |
PHP_CGI_ARGS="- USER=$USER PATH=/usr/bin PHP_FCGI_CHILDREN=$PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=$PHP_FCGI_MAX_REQUESTS $PHP_CGI -b $BIND" | |
RETVAL=0 |
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
diff --git a/lib/bundle.js b/lib/bundle.js | |
index 4053e60..1653d46 100644 | |
--- a/lib/bundle.js | |
+++ b/lib/bundle.js | |
@@ -5,7 +5,7 @@ var npm = require("../npm") | |
, fs = require("fs") | |
, path = require("path") | |
, log = require("./utils/log") | |
- , cache = require("./cache") | |
+ , readJson = require("./utils/read-json") |
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 jQuery.extend in the jQuery JavaScript Library v1.3.2 | |
// Copyright (c) 2009 John Resig | |
// Dual licensed under the MIT and GPL licenses. | |
// http://docs.jquery.com/License | |
// Modified for node.js (formely for copying properties correctly) | |
exports.merge = function() { | |
// copy reference to target object | |
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, source; | |
// Handle a deep copy situation |
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
/** | |
* Defaults for testing files | |
*/ | |
var vows = require('vows'), | |
assert = require('assert'), | |
sys = require('sys'), | |
path = require('path'), | |
mixin = require('./lib/mixin'); | |
exports.vows = vows; |
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
#!/usr/bin/env node | |
var http = require('http') | |
, fs = require('fs') | |
, sys = require('sys'); | |
var client = http.createClient(5984, '127.0.0.1'); | |
var doc = client.request('PUT', '/test_db/doc_att_deflate', { | |
'Content-type': 'application/json', |
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
<?php | |
/** | |
* Cake database configuration for git repositories. | |
* | |
* It automatically detects the current working branch and uses the appropriate database connection. | |
* Fallback is given by the "default" entry. | |
*/ | |
class DATABASE_CONFIG { | |
/** |
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
<?php | |
/** | |
* Adcloud <https://adcloud.net/> | |
* Copyright (c) 2009, Adcloud GmbH | |
* Eupener Str. 150 | |
* 50933 Köln - Deutschland | |
* | |
* @copyright Copyright (c) 2009, Adcloud GmbH | |
* @link https://adcloud.net/ | |
* @package app |
NewerOlder