-
Upgrade ElasticSearch on Linux
Suppose you have a system with an ElasticSearch server installed and need to upgrade it to a newer version. Below is a step-by-step guide on how to do it, but note that it only works for Elasticsearch…
-
Checkout a Specific Revision with Git
If you have a project and want to checkout a specific revision (commit), you can do it as described below. 1) Clone the project: 2) Use the git describe command to get a readable name for your commit. git…
-
Get Total Records Count with GORM Criteria
Assume you have a page with pagination that displays a table of objects (selected from the DB with GORM criteria) in your Grails application. If you want to know the total number of possible results (as if…
-
Unit Testing Web Flow in Grails
I’ve faced a problem with unit testing the web flow controllers. There’s an existing WebFlowUnitTestMixin for unit testing WebFlow in GDK, but no word on how to use it in the latest Grails 2.2.0 official documentation. I’ve…
-
Native 0mq Library Version for akka-zeromq-2.0.x
I had a chance to try the akka-zeromq module last month in order to implement a solution for inter-service communication using Scala, Akka 2.0, and ZeroMQ. The module is built as an extension to Akka and based…
-
How to Create a Remote Git Branch in IntelliJ IDEA
To create a remote Git branch in IntelliJ idea one should:
-
Changing the Grails Project Configuration from Within a Plugin
This code snippet shows how to update project configuration settings from a Grails plugin executable script. The script updates the configuration by copying settings from a default config file in the plugin’s folder into Config.groovy. This is…
Boost your business with custom software
Tell us about your business needs and we’ll suggest a solution
Thank you!
We have received your request and will get back to you within 1 business day.






