This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def deadExecutors = Jenkins.instance.computers.collect { c -> | |
c.executors.findAll { !it.isActive() } | |
}.flatten() | |
deadExecutors.each { it.doYank() } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is (a start of) an example of a Susy+mq() setup that mimics bootstrap grid. | |
// I work on multiple bootstrap-based projects. | |
// I want to stop using grid classes in the markup, and start using mixins with susy and sass-mq. | |
// Since the project is heavily tied to the bootstrap grid, I want to have the exact same behavior | |
// between bootstrap classes (old code) and susy mixins (new code). | |
// all the grid classes generated below are here to ease up testing. | |
// required: susy + sass-mq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Description": "Create a VPC with a SG which references itself", | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Resources": { | |
"vpctester": { | |
"Type": "AWS::EC2::VPC", | |
"Properties": { | |
"CidrBlock": "172.16.0.0/23", | |
"EnableDnsSupport": false, | |
"EnableDnsHostnames": false, |