<?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/language/groovy</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 00:59:45 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>(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) Jar with dependencies task for build.gradle - alces</title>
<link>http://snipplr.com/view/70371/jar-with-dependencies-task-for-buildgradle/</link>
<description><![CDATA[ <p>Custom task using gradle java plugin for build runnable jar file with full dependencies set</p> ]]></description>
<pubDate>Tue, 12 Mar 2013 23:51:12 GMT</pubDate>
<guid>http://snipplr.com/view/70371/jar-with-dependencies-task-for-buildgradle/</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) Print maven version for all Hudson jobs - alces</title>
<link>http://snipplr.com/view/70274/print-maven-version-for-all-hudson-jobs/</link>
<description><![CDATA[ <p>Ant or JDK versions printing makes via the same way. Use 'antName' or 'jdk' instead 'mavenName' string.</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 01:47:18 GMT</pubDate>
<guid>http://snipplr.com/view/70274/print-maven-version-for-all-hudson-jobs/</guid>
</item>
<item>
<title>(Groovy) Save all images from RSS feed - alces</title>
<link>http://snipplr.com/view/70244/save-all-images-from-rss-feed/</link>
<description><![CDATA[ <p>Gets "src" attributes from all "img" tags in RSS entries descriptions</p> ]]></description>
<pubDate>Mon, 04 Mar 2013 23:41:21 GMT</pubDate>
<guid>http://snipplr.com/view/70244/save-all-images-from-rss-feed/</guid>
</item>
<item>
<title>(Groovy) Groovy - Make Embedded Tomcat 7 Start Faster - laurenceosx</title>
<link>http://snipplr.com/view/70210/groovy--make-embedded-tomcat-7-start-faster/</link>
<description><![CDATA[ <p>Groovy - Make Embedded Tomcat 7 Start Faster
This is basically a jar exclusion filter for servlet 3.x jar scanning.</p> ]]></description>
<pubDate>Sat, 02 Mar 2013 11:41:02 GMT</pubDate>
<guid>http://snipplr.com/view/70210/groovy--make-embedded-tomcat-7-start-faster/</guid>
</item>
<item>
<title>(Groovy) Groovy way to replace regexp matches - alces</title>
<link>http://snipplr.com/view/70115/groovy-way-to-replace-regexp-matches/</link>
<description><![CDATA[ <p>Example of working with regexp sub-matches via Groovy way</p> ]]></description>
<pubDate>Wed, 27 Feb 2013 18:46:27 GMT</pubDate>
<guid>http://snipplr.com/view/70115/groovy-way-to-replace-regexp-matches/</guid>
</item>
<item>
<title>(Groovy) CBC World News RSS parser - alces</title>
<link>http://snipplr.com/view/70114/cbc-world-news-rss-parser/</link>
<description><![CDATA[ <p>Reads CBC news RSS with fancy-prints its in table, splitting news description by image &amp; text.</p> ]]></description>
<pubDate>Wed, 27 Feb 2013 17:42:24 GMT</pubDate>
<guid>http://snipplr.com/view/70114/cbc-world-news-rss-parser/</guid>
</item>
<item>
<title>(Groovy) Find cyclic dependencies of hudson maven jobs - alces</title>
<link>http://snipplr.com/view/69952/find-cyclic-dependencies-of-hudson-maven-jobs/</link>
<description><![CDATA[ <p>Compares up &amp; down-stream jobs of every hudson jobs for finding  dependency-loops</p> ]]></description>
<pubDate>Fri, 15 Feb 2013 19:41:09 GMT</pubDate>
<guid>http://snipplr.com/view/69952/find-cyclic-dependencies-of-hudson-maven-jobs/</guid>
</item>
</channel>
</rss>