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 | |
INKSCAPE="/usr/bin/inkscape" | |
OPTS="--without-gui --export-background-opacity=0" | |
if [ -z $1 ]; then | |
echo "File not found" | |
exit 0 | |
fi |
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
JHIPSTER_LOCATION=/mnt/dados/projetos/generator-jhipster | |
mkdir -p ${JHIPSTER_LOCATION} | |
cd ${JHIPSTER_LOCATION} | |
git checkout master | |
git pull jhipster master | |
git push | |
git checkout develop | |
git merge master develop | |
git push |
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
JHIPSTER_LOCATION=/mnt/dados/projetos/generator-jhipster-ci | |
mkdir -p ${JHIPSTER_LOCATION} | |
cd ${JHIPSTER_LOCATION} | |
git checkout master | |
git pull jhipster master | |
git push | |
npm link |
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
if [ -z $1 ]; then | |
echo "Version not informed. E.G: './update-gradle.sh 2.8'" | |
exit 0 | |
fi | |
GRADLE_VERSION=$1 | |
GRADLE_FILE=gradle-${GRADLE_VERSION}-bin | |
GRADLE_LOCATION=/opt/gradle |
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 | |
# Upload a file informed to gist.github.com. Before use, install gist 'gem install gist' - https://github.com/defunkt/gist and login with gist --login | |
if [ -z $1 ]; then | |
echo "File not informed. E.G: 'gist-upload file1.txt'" | |
exit 0 | |
fi | |
FILE=$1 | |
BASENAME=$(basename -- $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
mkdir -p ~/.nvm | |
cd ~/.nvm | |
git pull origin master | |
git checkout `git describe --abbrev=0 --tags` |
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
JAVA_HOME=/usr/java/latest | |
export JAVA_HOME | |
M2_HOME=/opt/apache-maven-3.2.3 | |
export M2_HOME | |
GRADLE_HOME=/opt/gradle/latest | |
export GRADLE_HOME |
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
ANDROID_SDK=/opt/android-sdk-linux | |
export ANDROID_SDK | |
PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools | |
export PATH |
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 | |
/mnt/dados/programs/cloud9/server.js -p 45789 -w . |
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 | |
INKSCAPE="/usr/bin/inkscape" | |
OPTS="--without-gui --export-background-opacity=0" | |
if [ -z $1 ]; then | |
echo "File not found" | |
exit 0 | |
fi |
OlderNewer