Welcome To Snipplr


Everyone's Recent Groovy Snippets



0 692 posted 15 years ago by berndschiffer
0 682 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 1013 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 949 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 884 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 791 posted 15 years ago by narkisr
0 662 posted 15 years ago by lucastex
0 683 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 823 posted 15 years ago by narkisr
0 579 posted 15 years ago by lucastex