How to create Schematic library for PCB designing

This Blog is about creating Schematic library for PCB designing in Altium. Schematic designing is an essential part of PCB designing. Firstly you draw a schematic design which is just like a circuit designing on software. This Schematic generates a netlist that is...

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

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

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

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...

Display Customized Error(500) Page

When an exception is generated in server responds to client with status “500” and using this response code we display a message to enduser through UrlMapping like: "500"(controller:"error", action:"display") We can customize...

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

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

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...

svn and some important svn commands

Hello friends, This blog is to introduce subversion. It is software which is used for tracking the changes in collaborative management system. It tracks the history of a file using different versions. Each version contains new changes and the information about...

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

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

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...

Setting Session Timeout in Grails Application

Sometimes we need to change the session timeout in our grails application.to set session time out we need web.xml,initially that is not available in our application. Firstly we run command:- grails install-templates Then we need to modify...

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 in="${books}"...

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...