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
exec 6<somelist.txt | |
while read -u 6 -r item; do | |
echo "Doing something with $item | |
done |
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
while read -r item; do | |
echo "Doing something with $item" | |
done < <(cat somelist.txt) |
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
diff --git a/subprojects/ide/src/main/groovy/org/gradle/plugins/ide/eclipse/EclipsePlugin.groovy b/subprojects/ide/src/main/groovy/org/gradle/plugins/ide/eclipse/EclipsePlugin.groovy | |
index e6356d3..d7eecf7 100644 | |
--- a/subprojects/ide/src/main/groovy/org/gradle/plugins/ide/eclipse/EclipsePlugin.groovy | |
+++ b/subprojects/ide/src/main/groovy/org/gradle/plugins/ide/eclipse/EclipsePlugin.groovy | |
@@ -43,7 +43,6 @@ class EclipsePlugin extends IdePlugin { | |
static final String ECLIPSE_JDT_TASK_NAME = "eclipseJdt" | |
private final Instantiator instantiator | |
- EclipseModel model | |
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
diff --git a/gradle.properties b/gradle.properties | |
index 48c940f..cf19926 100644 | |
--- a/gradle.properties | |
+++ b/gradle.properties | |
@@ -1 +1 @@ | |
-version=2.2.2 | |
+version=2.2.3 | |
diff --git a/src/main/groovy/nebula/plugin/dependencylock/DependencyLockPlugin.groovy b/src/main/groovy/nebula/plugin/dependencylock/DependencyLockPlugin.groovy | |
index 81a5466..eb6125d 100644 | |
--- a/src/main/groovy/nebula/plugin/dependencylock/DependencyLockPlugin.groovy |
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
require 'spec_helper' | |
describe 'test_mycookbook::doit' do | |
iaas_providers = [ 'ec2' ] | |
iaas_providers.each do |provider| | |
context "Test on cloud provider #{provider}" do | |
let(:chef_run) { ChefSpec::Runner.new(platform: 'ubuntu', version: '12.04').converge('test_mycookbook::doit') } | |
it 'should do the thing' do |
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
require 'chef/node' | |
require 'chef/run_list' | |
require 'json' | |
nodes = search(:node, 'name:*example*') | |
nodes.each do |node| | |
new_run_list = '["recipe[example_cookbook]", "role[some_role]"]' | |
node.run_list(JSON.parse(new_run_list)) | |
node.save | |
end |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'rest_client' | |
require 'json' | |
banner = <<-EOS | |
Report all New Relic applications that do not have the system monitor | |
daemon reporting into the given application environment. | |
Usage: |
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
<?xml version="1.0"?> | |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"> | |
<soap:Header> | |
<t:RequestServerVersion Version="Exchange2010_SP1"/> | |
</soap:Header> | |
<soap:Body> | |
<m:FindFolder Traversal="Shallow"> | |
<m:FolderShape> | |
<t:BaseShape>IdOnly</t:BaseShape> | |
<t:AdditionalProperties> |
NewerOlder