Skip to content

Instantly share code, notes, and snippets.

@davejsmith
davejsmith / tomcatsessions.groovy
Last active February 11, 2016 05:22
Groovy Script to total active sessions from one or more Tomcat contexts with option to stall until zero sessions
#!/usr/bin/env groovy
package devops
Authenticator.setDefault(new Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication("list", "**********".toCharArray());
}
})
servers = []
@textarcana
textarcana / README
Created May 14, 2010 15:46
install Hudson as a service on Mac
Put the plist in /Library/LaunchAgents/hudson.ci.plist
@George1
George1 / grails.bat
Created February 24, 2010 21:24
Automatically selects version of Grails to run based either on context, environment variable, or command line argument.
@ECHO OFF
REM
REM Automatic Grails Version Selector v1.0
REM
REM Description:
REM Automatically selects version of Grails to run based either
REM on context, environment variable, or command line argument.
REM
REM Copyright © 2010, Componentix (http://www.componentix.com/)