The Kaptain on … stuff

Posts Tagged ‘Groovy

24 Oct, 2009

Groovy reverse map sort done easy

Posted by: TheKaptain In: Development

Sorting a Map by value with Groovy is very simple, due to the added ‘sort’ method on the Map interface. [groovy language=”language="true”] def map = [a:3, b:2, c:1] map = map.sort {it.value} assert map == [c:1, b:2, a:3] [/groovy] Turns out doing a reverse sort on a Map by values is almost as easy. [groovy […]

04 Oct, 2009

Groovy CliBuilder with multiple arguments

Posted by: TheKaptain In: Development

I’ve been writing a lot of Groovy scripts lately and have developed quite a fondness for the CliBuilder along the way. There’s lots of great examples on the internet, but I could only find one place that demonstrated how to easily consume an unknown number of parameters as a List and that was a copy […]

09 Sep, 2009

A Techno-Geek’s Guide to Encyclopedic Knowledge

Posted by: TheKaptain In: Development

Do you make keeping up with technology a priority? Have you found a way to prevent drowning in the vast sea of content AND still keep abreast of everything you want to? Me neither, but here’s where I go to learn new things, find solutions and keep up with the general state of the union […]

27 Aug, 2009

VIJUG Griffon/Groovy Presentation

Posted by: TheKaptain In: Development

I had a great time tonite geeking out with Griffon in front of an audience. My thanks to everyone that attended, and especially to Manfred Moser and VIJUG for the chance to show off some Groovy and Griffon Swing code! The venue was great – very nice that the Vancouver Island Tech Park is kind […]

18 Aug, 2009

My Favorite IntelliJ Resources, Tips and Tricks

Posted by: TheKaptain In: Development

Today at work I was reminded that I didn’t learn how to use my IDE overnight, and that I’ve been greedily hoarding where I found good resources for learning how to drive IntelliJ in the fast lane. So without further ado, here’s the top places I’ve found and things I know. Links on the IntelliJ […]

14 Aug, 2009

Griffon support in latest Intellij EAP

Posted by: TheKaptain In: Development

The IDE world just started to look a little greener for Griffon programmers. Today’s latest early access version of JetBrains IntelliJ version Maia has initial support for Griffon! It appeared on the JetBrains blogroll a couple of weeks ago, and indeed may have showed up in an earlier release, but today was the first time […]