- JUnit Flux: http://code.google.com/p/junitflux/
- Quick JUnit: https://github.com/kompiro/quick-junit
This file contains hidden or 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
| #!/bin/bash | |
| #install Java 7 | |
| add-apt-repository -y ppa:webupd8team/java | |
| apt-get -y update | |
| apt-get -y install oracle-java7-installer | |
| #install tomcat, which uses Java 7 | |
| apt-get -y install tomcat7 | |
| sed -i 's/#JAVA_HOME/JAVA_HOME/' /etc/default/tomcat7 |
This file contains hidden or 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
| #!/bin/bash | |
| # nexusdeb builds a debian package of the Nexus repository manager. nexusdeb | |
| # downloads nexus by itself. You run it by | |
| # nexusdeb.sh <version> <maintainer> | |
| # Example: | |
| # nexusdeb.sh 2.0.5 "Denny Colt <[email protected]>" | |
| # | |
| # The script has been tested with version 2.0.5. | |
| if [ -z $1 ] |
This file contains hidden or 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
| #!/bin/bash | |
| add-apt-repository -y ppa:webupd8team/java | |
| echo "deb http://archive.canonical.com/ubuntu/ quantal partner" > /etc/apt/sources.list.d/canonical_partner.list | |
| apt-get -y update | |
| apt-get -y install oracle-java7-installer | |
| apt-get -y install keychain | |
| apt-get -y install git | |
| apt-get -y install nautilus-dropbox |
This file contains hidden or 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
| -- replace idfield, duplicatewitness and mytable with appropriate names | |
| delete from mytable where idfield in (select max(idfield) from mytable GROUP BY duplicatewitness HAVING COUNT(*) > 1); |
This file contains hidden or 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 diff --name-only master <branch> //List of the changed files |
This file contains hidden or 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
| #!/bin/sh | |
| mvn clean test > /dev/null 2> /dev/null | |
This file contains hidden or 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
| fgrep -Rl "commons.lang." . | xargs sed -i 's/apache\.commons\.lang\./apache.commons.lang3./g' $1 |