Blog
Edit an incorrect commit message in Git
6 Nov, 14

Edit an incorrect commit message in Git

Amending the commit message :- git commit --amend This command will open your editor, You can change the commit message of the most recent commit.Commit message can directly change from command line using below command :- git commit --amend -m "New commit...
Transaction isolation levels in database
31 Oct, 14

Transaction isolation levels in database

I was recently studying about transaction isolation levels in database. First of all, let us see the definition of transaction isolation level. Definition: Every transaction specify an isolation level that defines the level at which one transaction must be isolated...
HTML5 Form Validation
30 Oct, 14

HTML5 Form Validation

HTML5 brought a bunch of new features to webpages, the most useful features it brings is the functionality that you would normally use JavaScript for. An very good example of how HTML5 can help us with forms is client side form validation. Prior to HTML5 we would...
Object Life-Cycle In Hibernate
29 Oct, 14

Object Life-Cycle In Hibernate

Hello friends, I am again in your service with this important blog. In this blog I will explain the various state of hibernate persisting object. In provided image you will see all the states in GUI format which gives you a rough idea. You see there are three state of...
lucene solr 4: up and running
20 Oct, 14

lucene solr 4: up and running

Solr: This is the Lucene based search api. Solr is open source enterprise search platform and written in Java, It provides the fast search with simple search, hit highlighting, faceted search, near real-time indexing, dynamic clustering, database integration, rich...
Freedom KL02z and 20×4 LCD
19 Oct, 14

Freedom KL02z and 20×4 LCD

If till now you have used only libraries for 20×4 LCD then it will be more difficult to shifted to the another microcontroller if library is not available for new microcontroller. That time you need to know basic working of LCD. After that you can use this LCD...
Test GPU’s performance on Linux
17 Oct, 14

Test GPU’s performance on Linux

I recently downloaded Playstation 1 Emulator:PCSX on my PC and few PS roms like Tekken, Spider-man etc. and these games worked smoothly giving around 50-60 fps at 1366*768 resolution. I wondered whether my integrated graphics card can run PS2 rom games as smoothly as...
How to handle brightness in ubuntu 14.04
13 Oct, 14

How to handle brightness in ubuntu 14.04

How to fix the Brightness problem in ubuntu 14.4? It is very simple follows these steps 1. Open a terminal and create the following configuration file, if it does not exist: sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf 2. Now we need to edit this file. You can...
Fetch most starred repository from github
13 Oct, 14

Fetch most starred repository from github

Last week I worked a task to print most starred repositories and its last commit message. I want to share my experience with you. To achieve this I implemented an API named jcabi-github. Its an Object Oriented Github API which provide a solution to use github API in...
Grails Logical Delete Plugin
9 Oct, 14

Grails Logical Delete Plugin

I was looking at recently updated plugins and got to know about grails Logical Delete Plugin. The name in itself was very interesting and i thought i should give it a shot. You can find the sample project here. Please checkout working demo of code on heroku by...
Loops in GSP
8 Oct, 14

Loops in GSP

Loops are one of the most important and useful part of every programming language. Grails provides various loops in controller and view. Following are the loops in GSP: each: each tag is used to iterate over each element of a list. <g:each...
Read Xml File In Java Using SAX Parser
6 Oct, 14

Read Xml File In Java Using SAX Parser

In this blog, I will show you how to read an XML file via Java SAX parser. SAX Parsers are faster than DOM parser because it doesn’t load complete XML into memory and read xml document sequentially. SAXParser are little bit confusing in start but if you are working on...