View gist:d3b69e8d0a7657a069c3
set _ORIGINAL_GEM_PATH= | |
set BUNDLE_BIN_PATH=c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.4/bin/bundle | |
set BUNDLE_GEMFILE=c:/work/puppet/Gemfile | |
set GEM_HOME=c:/work/puppet/vendor/cache/ruby/1.9.1 | |
set GEM_PATH= | |
set RUBYOPT=-Ic:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.4/lib -rbundler/setup | |
"ruby.exe" "C:\work\puppet\vendor\cache\ruby\1.9.1\bin\rspec" -r yarjuf -f JUnit -o result.xml -fp spec |
View Query_Git_Jira_Commands.sh
git log 3.6.0-rc...HEAD --pretty=format:"%h %s [%an (%ae)]" --no-merges > git.commits.txt | |
#| grep -v -e "(maint)" -e "(Maint)" | |
cat git.commits.txt | pbcopy | |
curl --output "jira.issues.txt" --silent -H "Content-Type: application/json" https://tickets.puppetlabs.com/rest/api/2/search?jql=project=PUP+AND+fixVersion=%223.6.0%22+Order+by+key+ASC&maxResults=300&fields=key,summary | |
# brew install jq | |
cat jira.issues.txt | jq '.issues[].key' >jiraissues.txt | |
# https://gist.githubusercontent.com/hlindberg/9520023/raw/40389c4c20ef3aba939c52db8f280f2ae1c0759a/ticketmatch.rb | |
ruby ticketmatch.rb |
View Gemfile
source "http://rubygems.org" | |
gem "janky", :git => "git://github.com/github/janky.git", :ref => "fe546349504e581812853dcbf3b0977be61269bd" | |
gem "pg" | |
gem "thin" | |
gem "hipchat", "~>0.4" |
View etc-init-elasticsearch.conf
# ElasticSearch Service | |
description "ElasticSearch" | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [016] |
View gist:4049596
// Maps Emacs style "Escape, Backspace" to Delete Word Backward | |
{ "keys": ["escape", "backspace"], "command": "delete_word", "args": { "forward": false, "sub_words": true }, | |
"context": | |
[ | |
{ "key": "setting.is_widget", "operator": "equal", "operand": false } | |
] | |
} |
View install-graphite-ubuntu-11.10.sh
#!/bin/bash | |
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# Forked from: http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Ubuntu 11.10 Oneiric Ocelot | |
# Forked from https://gist.github.com/1287170 | |
# Modified to use NGinx + uwsgi instead of Apache, as well as memcached and supervisord, incorporating ideas from | |
# http://blog.adku.com/2011/10/scalable-realtime-stats-with-graphite.html |