Build Tools



git init   – initialize git repo
How to track files
git log

git log HEAD

HEAD points to the tip of current branch
git status

stage files

git add filename.ext  -add perticular filegit add .  -add everything

commit filesgit commit  -m “message to be added here”

add modified filesgit add filename.ext
to see what changes made to filename  in working directorygit statuslike(unix- diff)git diff -allgit diff filename.ext  -perticular filegit diff -colorwords filename

red-old versiongreen -new version

to see what changes made to filename  in staging index
git diff –staged

How to delete files

1- to take file out of working directory and give command

git rm filename.ext

2. -directly removegit rm filename.ext
then git commit -m “removed filename”

How to move and rename files

1- do it in working directory and then give git commandfirstFile.txt renamed to primaryFile.txt
git add primaryFile.txtgit rm firstFile.txt
done both changes in staging indexgit statuso/p renamed
Moving files to other location

git mv thirdfile.txt  NewFolder/thirdfile.txt   orgit mv thirdfile.txt  NewFolder/rename.txt


Undo changes to working repositorymake changes to working dir file index.html Now we have to revert these changes
git checkout — index.htmlgit status working dir is clean now
Undo changes to Staging indexgit  status
modified resources.html
git reset HEAD resources.html
this commoand will go to tip of branch(HEAD) and undo changes for staging index so upon execution resources.html again comes back to working directory

Edit last commited change  git commit -amend
git log -gives logs with SHAgo to perticular changegit checkout SHA code.  for that commit
git -diff
git reset HEAD resources.htmlget checkout resources.html


git revert SHACODE
it will ask to change comment
UNDO MANY COMMITSgit reset  — reset HEAD pointer and start recording changes from there
1- soft -does not change staging index or working directory
2- mixed-changes staging index to match repository-does not change working directory
3-  hard-changes staging index and working directory to match repository.








Install Maven 3.5 on windows 10 64 bit

Follow these steps,

1.check you have installed java 1.7 or above on your machine.

command to check java installed properly

c:\>> java -version


2. Download maven

Binary zip archive

3.Extract the archive and copy the \bin  folder path . Place this path in Environment variable path maven 2.png


Command to check maven installed correctly

$mvn -v


4. You can change maven local repository as below


Go to  \conf  directory and edit settings.xml

Add  your custom repo location there.


<localRepository>your local repo location</localRepository>



Note on frameworks for Web-service


part of java web services development pack

client and server libraries included

Also included in eclipse for Java EE Developers

JAX-WS 2.0 replaced JAX-RPC in Java EE 5.0


JAVA -Other options

Apache CFX

Supports Soap & restful services

works over HTTP ,JMS(java messaging services),JBI (java business integration)


Apache Axis2



Android Developer











Create First Spring Boot App

Steps to be followed

1.Create Maven project in eclipse /STS 
NEW-Others-Maven Project-
check create sample project 
-give Group ID & Artifact ID

2.Go to POM file and Add Following dependencies
<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">




3.Create Class To Start Spring Boot App

public class CourseApiClass {

 public static void main(String[] args) {, args);


4. Start Application 

Front End Technologies

Setting Up Angular Environment

Hi folks today we will learn to set up angular development environment

Tools Needed

  1. Sublime Editor
  2. Node package manager


  1. Create angular directory anywhere in your computer eg. C:\angular_root,
    then create following sub-directories scripts & css under angular_root& last create index.html
  2. Install Node to your machine, check $node -v
  3. angular_root$npm install angula
  4. angular_root$npm install http-server
  5. angular_root$npm install angular-material mdi                                                          these commands will create folder node_module in root directory and corresponding js will get downloaded there.
  6.  Now create app.js in scripts folder                                                                                           angular.module(“ng-demo”,[]);
  7. similarly update index.js<!DOCTYPE html>
    <title>Ng classifieds</title>
    <body ng-app=”ng-demo” ng-init=”message=’Hello sandip, Welcome to Angular'”>



  8. Now run  http-server                                                                                                                                     angular_root$http-server
  9. Test http://localhost:8080/







How to Install Apache on Windows

Following  are steps to install Apache server on Windows 10

1.Download Apache server

2.Extract downloaded file  on C folder


(install >.NET C++ Plugin if not there ).NET Plugin

3. Make following changes to  C:\Apache24\conf \ httpd.conf file

change Listen to Listen

serverName to ServerName localhost

4.check any process running on port 80 (if it is then stop that or change port @ Listen)

(We check this visually with windows resource manager tool

Start>>All Programs>>Accessories>>System Tools>>Resource Monitor (or Run resmon.exe, or from TaskManager performance tab))

usually in Windows 10 following process runs on port 80 “World Wide Web Publishing Service” go to services find it stop it and set manual start option.

5.Now go to C:\Apache24\bin with command prompt and execute httpd.exe browser and test @

7.That’s all .