Welcome To Snipplr


Everyone's Recent Groovy Snippets



0 691 posted 15 years ago by berndschiffer
0 681 posted 15 years ago by berndschiffer
Groovy script that creates an XML file using an XML template containing ${params} and a standard Java Properties file
0 1011 posted 15 years ago by gripnrip
Expected Behaviour ================== * Both classes should be rendered in the specified custom format when `store/book/list.json` is loaded. * Order of how the marshallers are added should not matter. * It should be possible to register more t...
0 738 posted 15 years ago by kungfoo
An easy way to launch an external process (http://docs.codehaus.org/display/GroovyJSR/Run+Sub-Process+Safely).
1 947 posted 15 years ago by narkisr
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere. Tags: Bash, Linux, Groovy
0 883 posted 15 years ago by mahome
Clojsure composition in Groovy (functional style programing). @http://www.ibm.com/developerworks/java/library/j-pg08235/index.html
0 790 posted 15 years ago by narkisr
0 660 posted 15 years ago by lucastex
0 682 posted 15 years ago by lucastex
An example of utilizing a category in Groovy in order to create withIndexfunctionality on lists each methods (traversing the list and having the index on each step), @ http://markmail.org/message/pa2irg4mvydpxi7c
0 820 posted 15 years ago by narkisr
0 578 posted 15 years ago by lucastex