Few useful git commands

To delete the branch from remote: git push origin --delete <branchName> To delete the branch locally: git branch -D <branchName> For aborting the merge, follow the sequence: git merge --abort git reset --merge To revert the last commit (which has not been...

SOLID STATE ELECTRICITY METROLOGY

WHAT IS ELECTRICAL ENERGY ? Kinetic Energy of the generator or Chemical Energy of the cell is converted into Electrical Energy which flows through the circuit and is converted back into Light, Heat, and kinetic Energy. Energy flows from source to load. ELECTRICAL...

Integrate PostgreSQL with Grails

In my current Grails project I am using PostgreSQL database so I just wanted to share the method to integrate PostgreSQL with Grails project. Step 1: Install PostgreSQL on Linux To install postgreSql use this command:- sudo apt-get install postgresql The default...

Add marker and lines on Google Map

Working with Google Map and add marker and lines on Map. This tutorial is explaining how to start with Google Map. 1) First create a account on developer console and create project and generate public key. 2) Create a html page. <!DOCTYPE html> <html>...

Handle JSON request in Grails

Handle JSON request in Grails In controller we get request parameters by using params. But whenever a JSON request comes on controller we can’t get its parameters on the params. To get JSON request parameters we have to use...