Skip to content

Instantly share code, notes, and snippets.

View jfaissolle's full-sized avatar

Julien Faissolle jfaissolle

  • Sophia Antipolis
View GitHub Profile
@dharFr
dharFr / Sample output
Created August 23, 2012 16:05
grailsenv - Dynamically switch your GRAILS_HOME
oaudard@work:~/Projects/sample-grails-project$ grailsenv
GRAILS_HOME=/home/oaudard/dev-utils/grails
grails
grails-1.3.7
grails-1.3.8
grails-2.0.0
grails-2.0.1
grails-2.0.3
grails-2.0.4
grails-2.1.0
@timyates
timyates / tree.md
Created April 24, 2012 09:33
A two-line tree in Groovy

Two line Tree in Groovy


Update!

Wow... Kiyotaka Oku's fork of this shows how to do it in one line :-)


The other day, I saw Harold Cooper's One-line tree in Python via autovivication, and wondered if the same thing was possible in Groovy.