Told you, we love sharing!
First of all, I want to apologize for writing this post so late. Last Saturday, November 29, 2014 - IntelliGrape organized New Delhi Cassandra Users Meetup. This was the first meetup from this group, where we presented two sessions: * Cassandra Core Concepts and Design Internals by Salil (slides) * DataStax Java...
Recently, I was trying to install RhoMobile suite on my ubuntu11.10 machine. And faced some issues for installing 'rhosync' package. This blog tells how to fix these issues (as they worked for me). I am assuming ruby and gem are already installed on your machine. Note: if you are on older version of ruby please upgrade to...
In this post, we will learn how to use javascript as MongoDB shell script to export (fields of) a collection. If you just want to execute MongoDB commands then look at the another post there.. OK, so let's focus back to the objective of this post. Generally, to export data from a MongoDB collection, we use the...
MongoDB uses javascript interface for the shell commands. We can really use this feature in a great way - by writing the MongoDB (shell) commands in a javascript (.js file) and execute in single go. In this blog, I am going to show an example for the same: [javascript] print('===== My Demo Script ====='); ...
Perhaps, you know it before or just skipped it after going through Java API. But I really found it very helpful at this point. Recently, I had a requirement in an open-source project, where users can iterate through the objects saved in collections (esp. List). But the problem was, we really didn’t want users to directly or...
This post is just to talk about Screen Sessions in Linux (esp. ubuntu) using command "byobu". What is Byobu? Byobu is a Japanese term for decorative, multi-panel screens. As an open source project, Byobu is an elegant enhancement of plain GNU Screen. Where can it be used? You SSH to some remote machine and Run some...
This post is for people who are already familiar with Git and work on multiple branches (esp. feature branches). By practice, feature branches are the branches created from a root branch (master or any other as per your branching model) and once feature is complete/tested - they are merged back into the same root branch. Working in...
This post is all about enabling codecs (like encodeAsURL, decodeURL, etc) in your Grails Unit tests. I am assuming that you are already familiar with writing unit tests. Scenario: In our application code, if we have something like below: [groovy] String serviceUrl = "http://example.com/service" String...
Usually, when we deal with databases, we don't face such kind of situation because we query database to get result-set in required order. But let's say you have a List of objects that you want to sort on the basis of two fields. Let's discuss it with an example. I have a list of Tasks (with date and priority fields). I want to sort...