###Remove a merged branch git branch -d BRANCH
git push origin --delete BRANCH
git checkout develop
###Remove a merged branch git branch -d BRANCH
git push origin --delete BRANCH
git checkout develop
# Run only failed test on cucumber | |
mvn test -Dcucumber.options="@target/cucumber-failed.txt" | |
# Run only a feature on cucumber | |
mvn clean test -Dcucumber.options="/path/to/feature:37" | |
or | |
mvn clean test -Dcucumber.options="--tags @NonGeoLocatedBid" |
// Init | |
new String[]{"a", "b"} | |
List<String> list = new ArrayList<String>( | |
Arrays.asList("String A", "String B", "String C") | |
); | |
Map<String, Owner> owners = new HashMap<String, Owner>() {{ | |
put("no-money", createOwnerWithoutMoney()); |
###tcpdump: tcpdump -lnnvi any -w tcpdump-xvm18.out -s 0
###To list all open ports and their processes: sudo netstat -lpAinet
###To get ips without hostnames: sudo netstat -lpnAinet
###To list only what's using tcp port 443: