Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| set ts=4 | |
| set shiftwidth=4 | |
| set cindent | |
| set expandtab | |
| syntax on | |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| #!/bin/bash | |
| TMUX_VERSION=2.3 | |
| NCURSES_VERSION=6.0 | |
| LIBEVENT_VERSION=2.0.22 | |
| BASEDIR=${HOME}/work/tmux-static | |
| TMUXTARGET=${BASEDIR}/local | |
| mkdir -p $TMUXTARGET | |
| cd $BASEDIR |
| license: gpl-3.0 |
| var Promise = require('bluebird'); | |
| var funcs = Promise.resolve([500, 100, 400, 200].map((n) => makeWait(n))); | |
| funcs | |
| .each(iterator) // logs: 500, 100, 400, 200 | |
| .then(console.log) // logs: [ [Function], [Function], [Function], [Function] ] | |
| funcs | |
| .mapSeries(iterator) // logs: 500, 100, 400, 200 |
| { | |
| "name": "yiisoft/yii2-app-basic", | |
| "description": "Yii 2 Basic Project Template", | |
| "keywords": ["yii2", "framework", "basic", "project template"], | |
| "homepage": "http://www.yiiframework.com/", | |
| "type": "project", | |
| "license": "BSD-3-Clause", | |
| "support": { | |
| "issues": "https://github.com/yiisoft/yii2/issues?state=open", | |
| "forum": "http://www.yiiframework.com/forum/", |
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height: 100%; |
| <?php | |
| /** | |
| * SplClassLoader implementation that implements the technical interoperability | |
| * standards for PHP 5.3 namespaces and class names. | |
| * | |
| * http://groups.google.com/group/php-standards/web/final-proposal | |
| * | |
| * // Example which loads classes for the Doctrine Common package in the | |
| * // Doctrine\Common namespace. |