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
############################ | |
# Load Balancer | |
############################ | |
<VirtualHost *:80> | |
ServerName atomsfat.net | |
<Location "/manage-balancer"> | |
SetHandler balancer-manager | |
AuthType Basic | |
AuthName "System challenge" |
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
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_25/bin/java" 2 | |
sudo update-alternatives --set java /usr/lib/jvm/jdk1.8.0_25/bin/java | |
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0_25/bin/javac" 2 | |
sudo update-alternatives --set javac /usr/lib/jvm/jdk1.8.0_25/bin/javac | |
/usr/lib/mozilla/plugins | |
sudo ln -s /opt/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so | |
sudo ln -s /opt/java/jdk1.7.0_25/jre/lib/amd64/libnpjp2.so |
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
/etc/profile | |
export GROOVY_HOME='/opt/groovy/groovy-1.8.0' | |
export PATH=$PATH:/opt/grails:$GROOVY_HOME/bin | |
export GRAILS_HOME='/opt/grails/grails-1.3.4' | |
export JAVA_HOME='/opt/java/jdk1.6.0_25' | |
export NODE_PATH=/opt/node:/opt/node/lib/node_modules | |
export GRADLE_HOME=/opt/gradle/gradle-1.0-milestone-6 | |
export PATH=$PATH:$GRADLE_HOME/bin | |
alias psg='ps -fea | grep $@' |
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
#ignore changes: | |
git reset --hard | |
#delete remote branch | |
git push origin :newfeature | |
#delete local branch | |
git branch -d the_local_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
#switch config: | |
grails -Dgrails.env=development switch-config clickonmx | |
#make war: | |
grails -Dgrails.env=development war target/cooldeals-lat-0.3.2.war | |
#running test: | |
grails test-app class-name -integration | |
#no interactive console | |
grails run-app --non-interactive |
NewerOlder