Blog Archives

My first steps in learning German

I haven’t learned a new language for quite a time. I even forgot how much I like it and how entertaining it is. Everywhere I go, I try to learn at least basic sentences, grammar and numerals. It worked best

Tagged with: , ,
Posted in Uncategorized

Git branching model

Before I started working with git, I’ve been involved in setup of release process for our application. We were using svn as a versioning system. When I moved to git (on my laptop only), I had in mind all steps

Tagged with:
Posted in Uncategorized

It’s all about dynamic

In previous post I mentioned about the visitor pattern and how to use it in Java. I also use groovy in my projects and there’s a much better way to solve the problem with processing collections. I have found a

Tagged with: ,
Posted in Uncategorized

Visitor pattern in Java

This is a really nice and simple pattern. Imagine having a collection of objects. Let’s have a class Feature with single method String getName(). Of course the class hierarchy grows in time and here come two additional features: BooleanFeature and

Tagged with: ,
Posted in Uncategorized

Speed up development in groovy

To take full advantage of groovy it’s good to know additional methods extending standard java objects. I often visit groovy jdk, to see what actually is new in groovy. Operations on collections really speed up the work. In jdk you

Tagged with:
Posted in Uncategorized

Intellij Language Injection

Pressing Alt+Enter in Intellij in random places is sometimes beneficial. Today I’ve found a feature which has been built in Intellij since version 6. So, Alt+Enter on String and I could inject a language… Nothing popped up in my mind.

Tagged with: ,
Posted in Uncategorized

How to compile & run JavaFX using Intellij

As recently I use Intellij most of the time due to fabulous Groovy support, I would like to use it also to play with JavaFX. There’s no planned support yet, so I played around with javafxc and javafx tools. In

Tagged with: ,
Posted in Uncategorized

Using the syntaxhighlighter with the Pyrmont theme

I had a problem with displaying correctly formatted code with this theme. The syntaxhighlighter decorates each token with <code> tag. It works fine unless something else defines style for code also. The theme does that. As the plugin is my

Posted in Uncategorized