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 add-apt-repository ppa:groovy-dev/grails | |
sudo apt-get update | |
sudo apt-get install grails-ppa | |
#to add grails 2.0.x | |
sudo apt-get install grails 2.0.x | |
#to add grails 1.3.9 | |
sudo apt-get install grails-1.3.9 |
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
wget -c http://www.java.net/download/jdk7/archive/b136/binaries/jdk-7-ea-bin-b136-linux-x64-31_mar_2011.tar.gz | |
sudo tar zxvf jdk-7-ea-bin-b136-linux-x64-31_mar_2011.tar.gz -C /usr/local | |
sudo update-alternatives --install /usr/bin/java java /usr/local/jdk1.7.0/bin/java 1 --slave /usr/local/man/man1/java.1 java.1 /usr/local/jdk1.7.0/man/man1/java.1 | |
sudo update-alternatives --install /usr/bin/javac javac /usr/local/jdk1.7.0/bin/javac 1 --slave /usr/local/man/man1/javac.1 javac.1 /usr/local/jdk1.7.0/man/man1/javac.1 |
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 apt-get update | |
sudo apt-get install grails |
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
#!/bin/bash | |
echo "Appending message to changelog: $1" | |
debchange "$1" | |
git add debian/changelog | |
echo "Commit changes to Git: $i" | |
git commit -m "$1" |
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 su - | |
add-apt-repository ppa:groovy-dev/griffon | |
apt-get update | |
#install griffon 0.9.3 stable release | |
apt-get install griffon-0.9.3 | |
#install griffon 0.9.2 stable release | |
apt-get install griffon-0.9.2 |
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 su - | |
$ apt-get remove --purge groovy groovy-1.8.1 | |
$ apt-get update | |
$ apt-get install groovy | |
$ apt-get install groovy-1.7 | |
$ apt-get install groovy-1.9 | |
$ update-alternatives --list groovy | |
================================= |
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
tar zcvf - /home/dude | ssh dude@backupserver "cat > /backup/dude.tar.gz" |
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
#using git-completion script | |
source ~/bin/git-completion.sh | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]$(__git_ps1 " \[\033[00;31m\](%s)\[\033[00m\]")\$ ' |
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
mvn deploy:deploy-file | |
-DgroupId=zzzzz | |
-DartifactId=yyyyy | |
-Dversion=2.2.0 | |
-Dpackaging=jar | |
-Dfile=target/grails-plugin-xxx-2.2.0.jar | |
-DrepositoryId=my-private-release-repository | |
-Durl=dav:https://myrepo/release/ |
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
#!/bin/bash | |
ARCHIVE_FOLDER="$1" | |
PACKAGE="$2" | |
VERSION="$3" | |
RELEASE="$4" | |
PRIORITY="$5" | |
if [ -z "$ARCHIVE_FOLDER" -o -z "$PACKAGE" -o -z "$VERSION" -o -z "$RELEASE" -o -z "$PRIORITY" ]; then | |
echo "Usage: prepare-debian-package <archive folder> <package> <version> <release> <priority>" |
OlderNewer