Skip to content

Instantly share code, notes, and snippets.

View Iristyle's full-sized avatar

Ethan J. Brown Iristyle

View GitHub Profile
@Iristyle
Iristyle / gist:d3b69e8d0a7657a069c3
Created June 9, 2014 19:16 — forked from joshcooper/gist:8946913
Run Ruby specs under Windbg
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
@Iristyle
Iristyle / Query_Git_Jira_Commands.sh
Last active August 29, 2015 14:01 — forked from ferventcoder/Query_Git_Jira_Commands.sh
3.6.0 FINAL (post RC) commits
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
@Iristyle
Iristyle / Gemfile
Created November 27, 2012 18:05 — forked from sr/Gemfile
Janky on Heroku / EC2 with Foreman - Configured for HipChat
source "http://rubygems.org"
gem "janky", :git => "git://github.com/github/janky.git", :ref => "fe546349504e581812853dcbf3b0977be61269bd"
gem "pg"
gem "thin"
gem "hipchat", "~>0.4"
@Iristyle
Iristyle / etc-init-elasticsearch.conf
Created November 13, 2012 01:28 — forked from jaytaylor/etc-init-elasticsearch.conf
Ubuntu upstart service script for ElasticSearch on EC2 Large instance
# ElasticSearch Service
description "ElasticSearch"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
@Iristyle
Iristyle / gist:4049596
Created November 10, 2012 02:26 — forked from nickyp/gist:4045823
Map "Escape, Backspace" to Delete Word Backward in Sublime Text 2
// 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 }
]
}
@Iristyle
Iristyle / install-graphite-ubuntu-11.10.sh
Created November 12, 2011 18:40
Install Graphite 0.9.9 on Ubuntu 11.10 on EC2 with NGinx, uwsgi, supervisord, statsite, nagios agent
#!/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