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
/** | |
* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. | |
* The ASF licenses this file to You under the Apache License, Version 2.0 | |
* (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
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
### BEGIN INIT INFO | |
# Provides: elasticsearch | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 3 5 | |
# Default-Stop: 0 6 | |
# Short-Description: ElasticSearch | |
# Description: ElasticSearch | |
# NoSQL database used by Graylog2 | |
### END INIT INFO |
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
@Grapes([ | |
@Grab(group='commons-io', module='commons-io', version='2.4'), | |
@Grab('log4j:log4j:1.2.17') | |
]) | |
import org.apache.commons.io.input.* | |
import org.apache.log4j.* | |
import groovy.util.logging.* |
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
@Grab(group='org.eclipse.paho', module='mqtt-client', version='0.4.0') | |
import org.eclipse.paho.client.mqttv3.* | |
import org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence | |
String tmpDir = System.getProperty("java.io.tmpdir") | |
MqttDefaultFilePersistence dataStore = new MqttDefaultFilePersistence("${tmpDir}/mqtt") | |
//org | |
String org = 'myOrg' |
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
<table> | |
<thead> | |
<tr> | |
<th ng-repeat="col in myData.header track by $index"> {{col}}</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr ng-repeat="row in myData.rows track by $index"> | |
<td ng-repeat="col in row track by $index"> {{col}}</td> | |
</tr> |
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
@Grapes( | |
@Grab(group='org.apache.commons', module='commons-csv', version='1.1') | |
) | |
import org.apache.commons.csv.* | |
import groovy.xml.* | |
def inputCSV = '''a,b,c, | |
e,f,g, | |
''' |
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
HAI 1.2 | |
CAN HAS STDIO? | |
VISIBLE "Grattis Palle!" | |
KTHXBYE |
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" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<groupId>org.mule.tools.devkit</groupId> | |
<artifactId>mule-devkit-parent</artifactId> | |
<version>3.7.2</version> | |
</parent> |
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
@Grapes([ | |
@Grab('com.jayway.restassured:rest-assured:2.9.0'), | |
@GrabExclude(group = 'org.codehaus.groovy', module='groovy-all'), | |
@GrabExclude(group = 'org.codehaus.groovy', module='groovy-xml') | |
]) | |
import static com.jayway.restassured.RestAssured.* | |
import static com.jayway.restassured.matcher.RestAssuredMatchers.* | |
import static org.hamcrest.Matchers.* | |
import static com.jayway.restassured.config.RestAssuredConfig.* |
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
@Grapes( | |
[ | |
@Grab(group='com.github.groovy-wslite', module='groovy-wslite', version='1.1.2'), | |
] | |
) | |
import wslite.rest.* | |
import wslite.http.HTTP | |
String restEndpoint = "http://someurl" |
OlderNewer