ambassador.service
[Service]
Type=notify
ExecStart=/bin/bash /home/core/ambassador.sh %n registry 5000
ExecStop=/usr/bin/docker stop %n
ExecStopPost=/usr/bin/docker rm %n
NotifyAccess=all
[Unit]
ambassador.service
[Service]
Type=notify
ExecStart=/bin/bash /home/core/ambassador.sh %n registry 5000
ExecStop=/usr/bin/docker stop %n
ExecStopPost=/usr/bin/docker rm %n
NotifyAccess=all
[Unit]
<?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 |
<?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 { | |
/** |
#!/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', |
/** | |
* Defaults for testing files | |
*/ | |
var vows = require('vows'), | |
assert = require('assert'), | |
sys = require('sys'), | |
path = require('path'), | |
mixin = require('./lib/mixin'); | |
exports.vows = vows; |
// 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 |
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") |
#!/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 |
#!/usr/bin/env node | |
var argv = require('/usr/local/lib/node_modules/optimist') | |
.usage('Usage: $0 [env]') | |
.boolean('f') | |
.argv | |
, exec = require('child_process').exec | |
if (argv._.length > 0) env = argv._.shift() | |
else env = 'production' |
#!/bin/bash | |
FOLDER=/home/teemow/Projekte/globalguest/www/trunk/app | |
LANGUAGES=( deu eng ) | |
# update the template (pot) | |
cake i18n extract -path $FOLDER -output $FOLDER/locale/ | |
for language in ${LANGUAGES[@]} | |
do |