Skip to content

Instantly share code, notes, and snippets.

tim-jansen /
Created Jan 22, 2013
Create backup for all Citrix Xen vms using temporary snapshots, and upload to a CIFS Share. VMs are compressed using gzip.
# Script to backup all vms in a Xen Server, to a CIFS Share
# Copyright (C) 2011 SIMB Tecnologia Ltda
# Based on post from Amador Pahim: <>
# This is free software, licensed under the GNU General Public License v2.
# See for more information.
tim-jansen /
Last active Dec 11, 2015
Pushes buildbot start and stop builds to a Flowdock room.
# Buildbot main.cfg configuration for Flowdock Alerts
# Copyright © 2013 SIMB Tecnnologia
# Licensed under the terms of the MIT License
# See for details
from buildbot.status.base import StatusReceiverMultiService
from buildbot.status.results import SUCCESS, WARNINGS, FAILURE, EXCEPTION, RETRY
from twisted.web import client
View github_issues_to_csv_v3.rb
require 'octokit'
require 'csv'
require 'date'
# Description:
# Exports Github issues from one or more repos into CSV file formatted for import into JIRA
# Note: By default, all Github comments will be assigned to the JIRA admin, appended with
# a note indicating the Github user who added the comment (since you may not have JIRA users
# created for all your Github users, especially if it is a public/open-source project:
tim-jansen /
Created Aug 18, 2013
Script to bulk import textile files into Confluence Wiki. Very useful to convert a redmine wiki to Confluence. To export redmine wiki pages to textile you can use We used this and "" to migrate from github/redmine tool…
Script to import multiple directories with textile files into Confluence Wikis. Can be used with OnDemand instances.
To use as redmine migration tool, you need to export wiki pages in textile format. One way is described in:
~/redmine $ RAILS_ENV=production ./script/console -s
def export_text(p)
c = p.content_for_version(nil)