Skip to content

Instantly share code, notes, and snippets.

View darrend's full-sized avatar
💻
Learning

Darren Day darrend

💻
Learning
  • Growth Acceleration Partners
  • Lexington, KY
  • 17:39 (UTC -05:00)
View GitHub Profile
package scripts.rest
def values = [:]
params.each { name, value -> values[name] = value }
headers.each { name, value -> values[name] = value }
cookies.each { name, value -> values[name] = value }
sessionAttributes.each { name, value -> values[name] = value }
return values
#! /usr/local/bin/ruby
# First stab at a svn log watcher for user ohnojoe.
# SvnRecord also allows you to easily extend the script to match on certain file names/package names
# that you want to watch.
SVN_CMD = 'svn log -l 30 -v https://my.svn.server.com/Project/branches/'
FILE_MATCH = '\/branches\/.*'
USERS_WATCHED = %w{ ohnojoe }