Skip to content

Instantly share code, notes, and snippets.

@youbs
youbs / errorboard.sh
Created October 30, 2012 16:07 — forked from peterhost/node_debian_init.sh
Daemon init script for node.js based app/server (Debian)
#!/bin/bash
### BEGIN INIT INFO
# Provides: errorboard
# Required-Start: $remote_fs $named $syslog
# Required-Stop: $remote_fs $named $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Run errorboard as daemon
# Description: Errorboard.js
### END INIT INFO
@youbs
youbs / testExecution.php
Created April 12, 2012 09:57 — forked from matiasmm/testExecution.php
Test execution
<?php
require_once 'WorkflowDefinition.php';
require_once 'Execution.php';
$wbuilder = new WfBuilder();
$workflow_definition = $wbuilder->build_workflow();
$execution = new ezcWorkflowTestExecution(1);
$execution->workflow = $workflow_definition;