Skip to content

Instantly share code, notes, and snippets.

View kennethkalmer's full-sized avatar

Kenneth Kalmer kennethkalmer

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<process-definition revision="0.1" name="Test">
<!--
<cursor>
<participant ref="Anfang"/>
<participant ref="Mitte"/>
<if test="${field:reject} == true">
<back step="2"/>
</if>
<participant ref="Anfang"/>
# steps I took
$ git clone git@github.com:kjwierenga/rufus-scheduler.git
$ cd rufus-scheduler
$ git branch -a
* master
origin/HEAD
origin/master
origin/twozero
$ git remote add upstream git://github.com/jmettraux/rufus-scheduler.git
#!/bin/bash
#
# Set our bash prompt according to the branch/status of the current git
# repository.
#
# Forked from http://gist.github.com/31934
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
after "deploy:update_code", "deploy:write_sha1"
namespace :deploy do
desc "write sha1 to file"
task :write_sha1 do
run "cd #{latest_release} && git show-ref --hash -- refs/heads/master > #{latest_release}/config/HEAD"
end
end
#!/usr/bin/env ruby
require 'rubygems'
require 'daemons'
require 'rufus/scheduler'
scheduler = File.join(File.dirname(__FILE__), 'scheduler.rb')
options = {
:app_name => 'scheduler',
:ARGV => ARGV,