This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # SSH Tunnel Manager | |
| # | |
| # SSH Flags: | |
| # f - Force to background. | |
| # N - Execute no commands. Don't open shell. | |
| # q - Run quietly. | |
| # T - Don't allocate pseudo TTY. | |
| # R - Reverse Proxy. |
This file contains hidden or 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='0.7.0'), | |
| @Grab('ca.uhn.hapi:hapi-base:2.0-alpha1'), | |
| @Grab('ca.uhn.hapi:hapi-structures-v26:2.0-alpha1') | |
| ]) | |
| import wslite.rest.RESTClient | |
| import java.security.SecureRandom | |
| import java.text.DecimalFormat | |
| import ca.uhn.hl7v2.app.* |
This file contains hidden or 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.ning:async-http-client:1.7.0'), | |
| @Grab(group = 'log4j', module = 'log4j', version = '1.2.16') | |
| ]) | |
| import org.apache.log4j.* | |
| import com.ning.http.client.AsyncHttpClientConfig.Builder | |
| import com.ning.http.client.* | |
| import groovy.json.JsonSlurper | |
| import java.util.concurrent.ExecutorService |
This file contains hidden or 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
| /** | |
| * Creates blueprint taglib to use blueprint css in a nice and clean way | |
| * For generating css, see https://gist.github.com/1023323 | |
| */ | |
| class BlueprintTagLib { | |
| static namespace = "blueprint" | |
| /** | |
| * Uses a blueprint stylesheet set | |
| */ | |
| def use = { attrs, body -> |
This file contains hidden or 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
| #!/bin/bash -e | |
| # | |
| # Generates Blueprint files from a blueprint-settings.yml | |
| # | |
| TAG_TO_USE="v1.0.1" # Master is often messy | |
| EXEC_DIR=$(pwd) | |
| echo "Will run in ${EXEC_DIR}" |
This file contains hidden or 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
| @groovy.lang.Grapes([ | |
| @groovy.lang.Grab('org.codehaus.groovy.modules.http-builder:http-builder:0.5.0-RC2') | |
| ]) | |
| import groovyx.net.http.* | |
| def http = new HTTPBuilder('https://maps.googleapis.com/maps/api/directions/') | |
| http.get(path: 'json', | |
| query: [ |
NewerOlder