Android release Couchbase not working with Proguard because of Jackson

I used Couchbase Lite in my android application, and compiled it for release, using build signed APK. My Gradle has minifyEnabled=true for release target, and when I run the release APK it threw an exception. There is a document of Couchbase heresaying we should not minify. Couchbase Lite for Android might not build correctly with ProGuard. If you get build errors that mention ProGuard, you can disable it by changing the build.

Find duplicated property in Neo4j

Today I got a critical problem with the duplicated property in Neo4j. We index that property to query for the node, and it is duplicated then give us the wrong node. Below is the Cypher use to find which node and which value of that property duplicated and how many time I found that Neo4j also support unique constraint but in Enterprise Edition only. Neo4j helps enforce data integrity with the use of constraints.

Difference between Hibernate and MyBatis

Hibernate and MyBatis both are Object Relational Mapping (ORM) frameworks which allow us to access relational databases from object-oriented languages. But what is the difference between them. In my opinion, the most difference is the control over SQL. Hibernate allow you to CRUD using object entity MyBatis should be used for fetching data using complicated SQL Hibernate Example Pojo Class Mapping Configuration File How to Use MyBatis Example The mapper interface definition The definition of BlogMapper.

Listen to the sound of the world for concentrating at work

Sometimes it’s quite noisy at the office or your workplace and you want to put your headphone on and listen to other things than the noise. But what to listen? I can’t listen to the music because it makes me neglected. I found out a website called Defonicthat has quite a lot of natural sound which can help you from blocking disturbing noises and concentrating on your works. It also has mobile applications you can download and use offline.

Git clone using SSH

Today I try to clone my GitHub repository through SSH instead of https as usual. Create an pair of SSH key using Puttygen and put to ~.ssh\ folder (Windows C:\User~.ssh) id_rsa id_rsa.pub Copy the content of pub file to create a new Deploy key in Repository Settings. <img class="alignnone size-full wp-image-42" src="http://itungnt.com/wp-content/uploads/2016/01/githubssh.jpg" alt="githubssh" width="1061" height="633" /> Choose Allow write access if you want to allow push Now you can do Git clone through SSH git clone git@github.