Profile
Achievement
 
    
                laurenceosx's Recent Snippets
- All /
I was using Groovy to use Cajo to do distributed processing and after def cajo = new Cajo(); the process would never terminate on it's own until I discovered gnu.cajo.invoke.Remote.shutdown();
        
        
        
            0 
        
        
            3240 
        
                    posted 12 years ago by laurenceosx
            See:  // http://stackoverflow.com/questions/2406341/how-to-check-if-an-ip-address-is-the-local-host-on-a-multi-homed-system
        
        
        
            0 
        
        
            3214 
        
                    posted 12 years ago by laurenceosx
            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 mac...
        
        
        
            0 
        
        
            3636 
        
                    posted 12 years ago by laurenceosx
            // 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
        
        
        
            0 
        
        
            3187 
        
                    posted 12 years ago by laurenceosx
            ffmpeg - Convert Sony Cybershot MPG file to mp4 for JavaFX 2
        
        
        
            0 
        
        
            3713 
        
                    posted 12 years ago by laurenceosx
            This type of conversion is very fast because the main audio video content is just copied (not converted) to a new container type of file.
        
        
        
            1 
        
        
            3701 
        
                    posted 12 years ago by laurenceosx
            Drop this in your project dir and run it.  This will recursively kill CVS files and folders.
        
        
        
            0 
        
        
            3295 
        
                    posted 12 years ago by laurenceosx
            see http://groovy.codehaus.org/gapi/groovy/inspect/swingui/ObjectBrowser.html
        
        
        
            0 
        
        
            3335 
        
                    posted 12 years ago by laurenceosx
            Sample SVN call from gradle: doSvnMain( 'your', 'svn', 'args', 'go', 'here' );
        
        
        
            0 
        
        
            3625 
        
                    posted 12 years ago by laurenceosx
            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.
        
        
        
            0 
        
        
            3313 
        
                    posted 12 years ago by laurenceosx
            When this snippet is added to a class it provides the boolean property: osWindows
        
        
        
            0 
        
        
            3332 
        
                    posted 12 years ago by laurenceosx
            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
        
        
        
            0 
        
        
            3222 
        
                    posted 12 years ago by laurenceosx
            
            Groovy
        
            groovy close a JFrame window the same way as when the user clicks on the X close window button  
        
                    close a JFrame window the same way as when the user clicks on the X close window button
        
        
        
            0 
        
        
            1681 
        
                    posted 12 years ago by laurenceosx
            
            Groovy
        
            Groovy Swing data binding example that works on a freshly created object (online example does not)  
        
                    
        
        
        
            0 
        
        
            2602 
        
                    posted 14 years ago by laurenceosx