Skip to content

Instantly share code, notes, and snippets.

View jbouse's full-sized avatar

Jeremy T. Bouse jbouse

View GitHub Profile
@jbouse
jbouse / jenkins-dump-credentials.groovy
Last active August 26, 2020 20:12 — forked from timja/jenkins-dump-credentials.groovy
Dump jenkins credentials - use in script console
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.plugins.credentials.impl.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import com.cloudbees.jenkins.plugins.awscredentials.*
import org.jenkinsci.plugins.plaincredentials.impl.*
import hudson.plugins.blazemeter.*
domain = Domain.global()
@jbouse
jbouse / Vagrantfile
Last active August 29, 2015 14:10 — forked from Sharpie/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This configuration requires Vagrant 1.5 or newer and three plugins:
#
# vagrant plugin install vagrant-hosts ~> 2.1.4
# vagrant plugin install vagrant-auto_network ~> 1.0.0
# vagrant plugin install vagrant-vbguest ~> 0.10.0
#
# After installation, the following steps will spin up a master and agent that
'''
@author Bommarito Consulting, LLC
@date 20120622
Identify and, if requested, remove orphaned snapshots from an EC2 account.
'''
# Imports
import boto
@jbouse
jbouse / -
Last active August 29, 2015 14:01 — forked from anonymous/-
case $::hostname {
/^gphapaadm(2|3|4|5|6|7)$/ : {
$els_host = 'elsvipprd1.ddtc.cmgdigital.com'
$els_port = '9200'
$gph_host = 'graphite2.ddtc.cmgdigital.com'
$gph_port = '80'
}
default : { fail("elasticsearch host not set been for ${::hostname} in graphite::webapp") }
}