• Notes
  • Introduction
  • Linux Commands
  • Prep SD card with image
  • Setting up Sublime
  • ssh keys for pi
  • add users to pi
  • pi networking
  • configure VNC for Pi
  • docker
  • Spring Boot
  • Jasmine: typesafe stubs for container component tests
  • ngrx
  • nginx
  • jenkins
  • ruby
  • github
  • css
  • Vagrant
  • Bash
  • linux
  • zsh
  • Angular Schematics
  • groovy
  • testing
  • npm
  • curl
  • graphql
  • prometheus
  • python
  • linux services / automation
  • vscode
  • johnny5
  • wget and curl
  • java
  • pcc workshop
  • node
Powered by GitBook

groovy

Groovy

get env vars: http://www.mytechtoday.com/2009/01/read-environment-variables-with-groovy.html

def env = System.getenv()
println env['HOME']

executing complex shell: http://www.joergm.com/2010/09/executing-shell-commands-in-groovy/

https://gist.github.com/kaltepeter/e5cbe4b7c1ec3e0f2ea4c54f93ee520a for example

chaining closures

http://mrhaki.blogspot.com/2011/04/groovy-goodness-chain-closures-together.html

results matching ""

    No results matching ""