git pull origin branch-name
git stash -u //if there are any working changes
git status
git checkout dev-branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
public class getIndexs { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
List<Integer> fooList = new ArrayList<Integer>(); |
###Exception:
Caused by: java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:407)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:623)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 31 more
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- how to create a repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<div class="panel panel-default" > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mc_gross=19.95 | |
protection_eligibility=Eligible | |
address_status=confirmed | |
payer_id=LPLWNMTBWMFAY | |
tax=0.00 | |
address_street=1+Main+St | |
payment_date=20%3A12%3A59+Jan+13%2C+2009+PST | |
payment_status=Completed | |
charset=windows-1252 | |
address_zip=95131 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from clientAccessLevel as CAL | |
inner join client as client | |
on CAL.client_id = client.id | |
inner join domain as domain | |
on CAL.domain_id = domain.id | |
inner join AccessLevelReference as accessLevelReference | |
on VAL.accessLevelReferenceId= accessLevelReference.Id | |
where client.isDelete = false | |
and domain.id = ? | |
and accessLevelReference.accessLevel != "give the constant" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<label for="datetimepicker" class="col-sm-3 control-label">Date/Time | |
:</label> | |
<div class="col-sm-6"> | |
<input type="text" size="30" maxlength="50" name="datetimepicker" | |
id="datetimepicker" required="required" class="form-control"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git pull origin master | |
//create new branch | |
git checkout -b branch name | |
//fix the bug new branch | |
// to compare the files | |
git diff | |
git diff <branch_name> -- /path/to/file/in/repo |