The proccesses for this app.
504154
def processes(self):
        """"""
        return self._h._get_resources(
            resource=('apps', self.name, 'ps'),
            obj=Process, app=self, map=ProcessListResource
        )
1244833
def run():
    
    options = btoptions.Options()
    btlog.initialize_logging(options.log_level, options.log_file)
    app = btapp.get_application()
    app.run()
101212
public function touchIfTouching()
    {
        if ($this->touchingParent()) $this->getParent()->touch();

        if ($this->getParent()->touches($this->relation)) $this->touch();
    }
805079
function app() {
    if (arguments.length > 0) {
        if (typeof arguments[0] !== 'object') {
            throw new TypeError('Argument format must be a object');
        }
        //Validate options provided
        validateOptions(arguments[0]);
    }

    return function(req, res, done) {
        //0. Check directory exists
        checkFolderExists(options.dir);

        currentDate = new Date();

        function logRequest() {

            fomart = ':method :statusCode :url :date :response-time\n';
            fomart = fomart.replace(':method', req.method);
            fomart = fomart.replace(':url', formatUrl(req));
            fomart = fomart.replace(':statusCode', res.statusCode);
            fomart = fomart.replace(':date', formatDate(new Date()));
            fomart = fomart.replace(':response-time', responseTime(res));
            fs.appendFile(path.join(options.dir, options.file), fomart, 'utf8', function(err) {
                if (err) throw err;
            });
        }

        //1. Log Response Start
        onHeaders(res, logTime);


        //2. log when response finished
        onFinished(res, logRequest);

        done();
    }
}
158505
def app(config, src, dst, features, reload, force):
    """"""
    config = Path(config)
    if reload:
        argv = sys.argv.copy()
        argv.remove('--reload')
        monitor(config.dirname(), src, dst, argv)
    else:
        run(config, src, dst, force)
181932
def make_app():
    """"""
    from plnt import Plnt

    database_uri = os.environ.get("PLNT_DATABASE_URI")
    app = Plnt(database_uri or "sqlite:////tmp/plnt.db")
    app.bind_to_context()
    return app
177948
def init_app(self, app):
        
        app.config.setdefault('PRETTIFY', False)

        if app.config['PRETTIFY']:
            app.after_request(self._prettify_response)
1101097
public function onApplicationReady()
    {
        $this->chatNotification->sendMessage("");
        $this->chatNotification->sendMessage("");
        $this->chatNotification->sendMessage('$z$fff$s       -  -   –    –     —     —    –    –   -   -');
        $this->chatNotification->sendMessage('$z$s$w$i$fff       e X p a n s i o n ²', null, []);
        $this->chatNotification->sendMessage(
            '$z$o$000                version$o '.AbstractApplication::EXPANSION_VERSION, null, []);

        $this->chatNotification->sendMessage('$z$s$fff                 —————————— ');
        $this->chatNotification->sendMessage("");
    }
1257415
def register_app(self, app):
        
        app.route(self.uri, methods=self.methods)(self.callable_obj)

        return self
1293658
function App() {
  return (
    <Store
      actions={{
        loadQuote,
        prevQuote,
        nextQuote,
        toggleColor
      }}
      initializers={{
        quotes: "loadQuote",
        numQuotes: "loadQuote"
      }}
      initialState={{
        quoteId: 1,
        color: "blue"
      }}
      derivedState={{
        quoteLengths: (getState, quoteId) => {
          return getState("quotes", quoteId).description.length
        }
      }}
      middleware={[consoleLogger]}
    >
      <ErrorBoundary fallback={ErrorMessage}>
        <Suspense fallback={<p>Loading...</p>}>
          <CurrentQuote />
        </Suspense>
      </ErrorBoundary>
    </Store>
  )
}
321473
def init_app(self, app):
        """"""
        if self.module:
            app.config.from_object(self.module)
236282
def toast(self, text):
        '''
        '''
        if self.notify:
            self.notify.update(Config.APPNAME, text, Config.NAME)
            self.notify.show()
1209606
def application(self, v):
        """"""
        self._application = v
        self.backend.set_app(v)
653462
public static void onApptimizeExperimentsProcessed() {
		dispatchConversationTask(new ConversationDispatchTask() {
			@Override
			protected boolean execute(Conversation conversation) {
				ApptentiveInternal instance = ObjectUtils.as(ApptentiveInternal.getInstance(), ApptentiveInternal.class);
				if (instance != null) {
					instance.tryUpdateApptimizeData();
					return true;
				}

				return false;
			}
		}, "update Apptimize experiments data");
	}
381576
def init_app(self, app):
        """"""
        app.add_url_rule(self.request_token_url, view_func=self.request_token,
                         methods=[u'POST'])
        app.add_url_rule(self.access_token_url, view_func=self.access_token,
                         methods=[u'POST'])
        app.add_url_rule(self.register_url, view_func=self.register,
                         methods=[u'GET', u'POST'])
        app.add_url_rule(self.authorize_url, view_func=self.authorize,
                         methods=[u'GET', u'POST'])
1295965
def start(self):
        '''  '''
        self._app.run(host=self._host, port=self._port)
928634
def add_usable_app(name, app):
    ''
    name = slugify(name)
    global usable_apps # pylint: disable=global-statement
    usable_apps[name] = app
    return name