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)
# Fix font rendering on Mac OS X. | |
$ defaults -currentHost write -globalDomain AppleFontSmoothing -int 0 |
# # PubSub | |
# | |
# Is a small helper to simply realize a pub/sub pattern to a coffee class. | |
# | |
# A namespaceing of the topics is also included. | |
# This means you can subscribe to `a` and also get the `a.b`. But if you subscribe to `a.b` you will not get a `a`. | |
# | |
# **required module**: `underscore` | |
# | |
class PubSub |
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)
Since this is on Hacker News and reddit...
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".char *
s.type * name
, however, is entirely intentional.function alertTerminal(){ | |
console.log("\007"); | |
} |
/* | |
* encoder.cpp | |
* | |
* Created on: Jul 12, 2012 | |
* Author : Abhishek Hingnikar | |
* @TODO: remove the file deps. | |
* ADD STREAM DEPS so that u can buffer output. | |
* Structure | |
* @JSAPI | |
* ffmpeg{ |
var mongoose = require("mongoose") | |
, assert = require("assert") | |
, async = require("async") | |
, Person | |
async.series([ | |
function(callback){ | |
mongoose.connect("mongodb://localhost/mydb") | |
mongoose.connection.on("open", callback) | |
}, |
#!/bin/sh | |
## | |
## Redhat / Linux / LSB | |
## | |
# chkconfig: 345 85 15 | |
# description: Startup script for Express / Node.js application with the \ | |
## forever module. | |
## | |
## A modification of https://gist.github.com/1339289 | |
## |