<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/groovy</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 16:49:35 GMT</pubDate>
<item>
<title>(Groovy) Groovy IsIpAddressLocal - laurenceosx</title>
<link>http://snipplr.com/view/71197/groovy-isipaddresslocal/</link>
<description><![CDATA[ <p>See:  // http://stackoverflow.com/questions/2406341/how-to-check-if-an-ip-address-is-the-local-host-on-a-multi-homed-system</p> ]]></description>
<pubDate>Thu, 16 May 2013 04:56:00 GMT</pubDate>
<guid>http://snipplr.com/view/71197/groovy-isipaddresslocal/</guid>
</item>
<item>
<title>(Groovy) Groovy ActiveMQ 5.8 Embedded Broker - laurenceosx</title>
<link>http://snipplr.com/view/71178/groovy-activemq-58-embedded-broker/</link>
<description><![CDATA[ <p>ActiveMQ 5.8 Groovy Embeded Broker Example - Laurence Toenjes - 5/14/2013
	This example overcomes some limitations of the basic ActiveMQ embedded
	brokers examples I found online
	
	Some of the challenges were:
		# Multiple instances on same machine and be able to use JMX.
		# Running on a machine with less than 50G or 100G disk space 
		  caused combinations of ActiveMQ errors or warnings.
		# Groovy Grapes/Grab syntax to use that would work on pc and mac.
		
	The broker in this example uses a nonpersistent store and 
	is multicast discoverable and should allow you to run multiple instances 
	of it (in separate processes of course) which is the reason for all the 
	code snips containing random port nums and random thread sleeps 
	to increase the odds of success of each new embedded broker process 
	to get a working set of port nums.</p> ]]></description>
<pubDate>Wed, 15 May 2013 05:00:39 GMT</pubDate>
<guid>http://snipplr.com/view/71178/groovy-activemq-58-embedded-broker/</guid>
</item>
<item>
<title>(Groovy) install_camel-jgroups_2.11-SNAPSHOT - laurenceosx</title>
<link>http://snipplr.com/view/71146/installcameljgroups211snapshot/</link>
<description><![CDATA[ <p>// file: install_camel-jgroups_2.11-SNAPSHOT.groovy
//  url: http://faroe228.googlecode.com/svn/trunk/SvnAndMvnInstallFor_camel-jgroups_2.11-SNAPSHOT/InstallScript/install_camel-jgroups_2.11-SNAPSHOT.groovy</p> ]]></description>
<pubDate>Mon, 13 May 2013 01:39:18 GMT</pubDate>
<guid>http://snipplr.com/view/71146/installcameljgroups211snapshot/</guid>
</item>
<item>
<title>(Groovy) Groovy - Get BeanInfo Props for name, type and value - laurenceosx</title>
<link>http://snipplr.com/view/70928/groovy--get-beaninfo-props-for-name-type-and-value/</link>
<description><![CDATA[ <p>Get obj props using java.beans.Introspector.getBeanInfo()</p> ]]></description>
<pubDate>Thu, 25 Apr 2013 10:58:44 GMT</pubDate>
<guid>http://snipplr.com/view/70928/groovy--get-beaninfo-props-for-name-type-and-value/</guid>
</item>
<item>
<title>(DOS Batch) Disguise a groovy script as a windows batch file hack - laurenceosx</title>
<link>http://snipplr.com/view/70875/disguise-a-groovy-script-as-a-windows-batch-file-hack/</link>
<description><![CDATA[ <p>I created this to make windows batch programming less painful.</p> ]]></description>
<pubDate>Mon, 22 Apr 2013 05:21:11 GMT</pubDate>
<guid>http://snipplr.com/view/70875/disguise-a-groovy-script-as-a-windows-batch-file-hack/</guid>
</item>
<item>
<title>(Groovy) Groovy - KillCvs.groovy - Recursive Kill of Cvs Turd Files and Folders - laurenceosx</title>
<link>http://snipplr.com/view/70760/groovy--killcvsgroovy--recursive-kill-of-cvs-turd-files-and-folders/</link>
<description><![CDATA[ <p>Drop this in your project dir and run it.  This will recursively kill CVS files and folders.</p> ]]></description>
<pubDate>Fri, 12 Apr 2013 04:24:00 GMT</pubDate>
<guid>http://snipplr.com/view/70760/groovy--killcvsgroovy--recursive-kill-of-cvs-turd-files-and-folders/</guid>
</item>
<item>
<title>(Groovy) Groovy - file to md5 using Groovy and AntBuilder - laurenceosx</title>
<link>http://snipplr.com/view/70736/groovy--file-to-md5-using-groovy-and-antbuilder/</link>
<description><![CDATA[ <p>Groovy file to md5 using Groovy and AntBuilder</p> ]]></description>
<pubDate>Wed, 10 Apr 2013 21:33:42 GMT</pubDate>
<guid>http://snipplr.com/view/70736/groovy--file-to-md5-using-groovy-and-antbuilder/</guid>
</item>
<item>
<title>(Groovy) Groovy - threadedPrintStringBuffer - laurenceosx</title>
<link>http://snipplr.com/view/70668/groovy--threadedprintstringbuffer/</link>
<description><![CDATA[ <p>None</p> ]]></description>
<pubDate>Fri, 05 Apr 2013 06:26:33 GMT</pubDate>
<guid>http://snipplr.com/view/70668/groovy--threadedprintstringbuffer/</guid>
</item>
<item>
<title>(Groovy) Groovy - EDT Inspect and Kill All Inspection Windows - laurenceosx</title>
<link>http://snipplr.com/view/70628/groovy--edt-inspect-and-kill-all-inspection-windows/</link>
<description><![CDATA[ <p>see http://groovy.codehaus.org/gapi/groovy/inspect/swingui/ObjectBrowser.html</p> ]]></description>
<pubDate>Tue, 02 Apr 2013 01:51:12 GMT</pubDate>
<guid>http://snipplr.com/view/70628/groovy--edt-inspect-and-kill-all-inspection-windows/</guid>
</item>
<item>
<title>(Groovy) Groovy Gradle - Do SVN Commands without having SVN installed. - laurenceosx</title>
<link>http://snipplr.com/view/70619/groovy-gradle--do-svn-commands-without-having-svn-installed/</link>
<description><![CDATA[ <p>Sample SVN call from gradle: doSvnMain( 'your', 'svn', 'args', 'go', 'here' );</p> ]]></description>
<pubDate>Mon, 01 Apr 2013 02:32:20 GMT</pubDate>
<guid>http://snipplr.com/view/70619/groovy-gradle--do-svn-commands-without-having-svn-installed/</guid>
</item>
<item>
<title>(Groovy) Groovy Spring Refreshable Script Bean - findScriptResourcePath - laurenceosx</title>
<link>http://snipplr.com/view/70599/groovy-spring-refreshable-script-bean--findscriptresourcepath/</link>
<description><![CDATA[ <p>Created this to generate file:/ script path for Groovy Refreshable Spring Beans
for use in applicationContext.groovy because refresh feature wouldn't work
when Groovy script is looked up on classpath.</p> ]]></description>
<pubDate>Fri, 29 Mar 2013 13:03:17 GMT</pubDate>
<guid>http://snipplr.com/view/70599/groovy-spring-refreshable-script-bean--findscriptresourcepath/</guid>
</item>
<item>
<title>(Groovy) Groovy Gradle - isOsWindows - laurenceosx</title>
<link>http://snipplr.com/view/70576/groovy-gradle--isoswindows/</link>
<description><![CDATA[ <p>When this snippet is added to a class it provides the boolean property: osWindows</p> ]]></description>
<pubDate>Thu, 28 Mar 2013 01:50:46 GMT</pubDate>
<guid>http://snipplr.com/view/70576/groovy-gradle--isoswindows/</guid>
</item>
<item>
<title>(Groovy) Groovy - stopJetty - laurenceosx</title>
<link>http://snipplr.com/view/70553/groovy--stopjetty/</link>
<description><![CDATA[ <p>See: http://grepcode.com/file/repo1.maven.org/maven2/org.eclipse.jetty/jetty-start/7.1.1.v20100517/org/eclipse/jetty/start/Main.java#Main.stop%28int%2Cjava.lang.String%29</p> ]]></description>
<pubDate>Tue, 26 Mar 2013 09:14:01 GMT</pubDate>
<guid>http://snipplr.com/view/70553/groovy--stopjetty/</guid>
</item>
<item>
<title>(Groovy) Groovy - Freemind - getModeController() - laurenceosx</title>
<link>http://snipplr.com/view/70342/groovy--freemind--getmodecontroller/</link>
<description><![CDATA[ <p>Groovy - Freemind - getModeController()</p> ]]></description>
<pubDate>Sun, 10 Mar 2013 15:26:44 GMT</pubDate>
<guid>http://snipplr.com/view/70342/groovy--freemind--getmodecontroller/</guid>
</item>
<item>
<title>(Groovy) Groovy fileToMd5 - laurenceosx</title>
<link>http://snipplr.com/view/69931/groovy-filetomd5/</link>
<description><![CDATA[ <p>Groovy fileToMd5</p> ]]></description>
<pubDate>Thu, 14 Feb 2013 04:34:43 GMT</pubDate>
<guid>http://snipplr.com/view/69931/groovy-filetomd5/</guid>
</item>
<item>
<title>(Groovy) groovy close a JFrame window the same way as when the user clicks on the X close window button - laurenceosx</title>
<link>http://snipplr.com/view/69915/groovy-close-a-jframe-window-the-same-way-as-when-the-user-clicks-on-the-x-close-window-button/</link>
<description><![CDATA[ <p>close a JFrame window the same way as when the user clicks on the X close window button</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 03:21:19 GMT</pubDate>
<guid>http://snipplr.com/view/69915/groovy-close-a-jframe-window-the-same-way-as-when-the-user-clicks-on-the-x-close-window-button/</guid>
</item>
<item>
<title>(Groovy) Recursive delete current directory - alces</title>
<link>http://snipplr.com/view/69815/recursive-delete-current-directory/</link>
<description><![CDATA[ <p>Safe way to recursive delete directory</p> ]]></description>
<pubDate>Wed, 06 Feb 2013 23:22:33 GMT</pubDate>
<guid>http://snipplr.com/view/69815/recursive-delete-current-directory/</guid>
</item>
<item>
<title>(Groovy) Groovy Gradle create-dirs - laurenceosx</title>
<link>http://snipplr.com/view/66645/groovy-gradle-createdirs/</link>
<description><![CDATA[ <p>Groovy Gradle create-dirs</p> ]]></description>
<pubDate>Sat, 11 Aug 2012 00:48:25 GMT</pubDate>
<guid>http://snipplr.com/view/66645/groovy-gradle-createdirs/</guid>
</item>
<item>
<title>(Groovy) Groovy Embedded Apache FTP Server Example - laurenceosx</title>
<link>http://snipplr.com/view/64953/groovy-embedded-apache-ftp-server-example/</link>
<description><![CDATA[ <p>http://mina.apache.org/ftpserver/</p> ]]></description>
<pubDate>Sat, 19 May 2012 04:41:11 GMT</pubDate>
<guid>http://snipplr.com/view/64953/groovy-embedded-apache-ftp-server-example/</guid>
</item>
<item>
<title>(Groovy) Groovy Freemind RecurseNode - laurenceosx</title>
<link>http://snipplr.com/view/64174/groovy-freemind-recursenode/</link>
<description><![CDATA[ <p>Groovy Freemind RecurseNode</p> ]]></description>
<pubDate>Tue, 27 Mar 2012 11:32:40 GMT</pubDate>
<guid>http://snipplr.com/view/64174/groovy-freemind-recursenode/</guid>
</item>
</channel>
</rss>