Skip to content

Instantly share code, notes, and snippets.

#! /bin/bash
# Kill processes orphaned by Jenkins
# Work around Java's use of SIGTERM rather than SIGKILL and
# Jenkins's lack of any workaroud in the box.
# here is the relevant bug:
# https://issues.jenkins-ci.org/browse/JENKINS-17116
# Suggested usage:
@xorrizon
xorrizon / cert.rb
Last active August 29, 2015 14:15 — forked from ricardochimal/cert.rb
#!/usr/bin/env ruby
domain = "localhost"
organisation = "example"
country = "AT"
subjectAltDomains = [
"DNS:#{domain}",
"DNS:localhost.localdomain",
"IP:127.0.0.1",
"IP:10.0.2.2"