Skip to content

Instantly share code, notes, and snippets.

View rherrick's full-sized avatar

Rick Herrick rherrick

  • Flywheel
  • St. Louis, Missouri
View GitHub Profile
@rherrick
rherrick / haiku.7.js
Last active February 5, 2016 19:49 — forked from anonymous/haiku.groovy
haiku script
importClass(org.nrg.xnat.turbine.utils.ArcSpecManager);
importPackage(java.io);
var cache = org.nrg.xnat.turbine.utils.ArcSpecManager.GetInstance().getCachePathForProject(externalId);
var file = new java.io.File(cache, "haiku.txt");
var writer = new java.io.PrintWriter(new FileWriter(file));
writer.println("Into the ancient pond");
writer.println("A frog jumps");
writer.println("Waters sound!");