Skip to content

Instantly share code, notes, and snippets.

View ahpook's full-sized avatar
:octocat:
OSPO @ Github

Eric Sorenson ahpook

:octocat:
OSPO @ Github
View GitHub Profile
#!/usr/bin/env ruby
require 'jira'
require 'pp'
require 'getoptlong'
# default values
username = "gepetto-bot"
password = ENV["GEPETTO_BOT_PASSWORD"]
Puppet 3.3.0 Release Notes
==========================
For the full list of closed issues specific to 3.3.0 see [this list in
Redmine](http://projects.puppetlabs.com/versions/401), containing 17 new
features, and 67 bugs closed.
New Features
------------
#### #2628: It would be useful if node name regexps set $1
@ahpook
ahpook / config.ru
Created November 16, 2011 19:49 — forked from miwillhite/config.ru
require File.join(File.dirname(__FILE__), 'config', 'environment.rb')
# disable :run
run Helios
@ahpook
ahpook / sinatra-multiple-values-fail
Created September 6, 2011 21:32 — forked from randomcamel/sinatra-multiple-values-fail
Sinatra failing to produce multiple param values
# Sinatra 1.2.6 doesn't appear to properly handle multiple values for a form parameter. 'params[:my_param_name]'
# only returns the last one supplied. I've verified that Chrome is sending the full list, and the list appears in
# the rack.request.query_string variable (but not the rack.request.params variable).
# This comes straight outta rack so it's not actually sinatra's fault. It's also undocumented magic in the
# rack/utils.rb#normalize_params method.
require 'rubygems'
require 'sinatra'