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 | |
find . -name '*.go' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \; |
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 | |
# This deploy script uses rsync with the following configuration: | |
# | |
# - Connection variables are read from .deploy.env. That file should set host, username and www_path environment variables. | |
# - Ignore local files (don't copy them) specified in .deployignore | |
# - All remote files not existing locally are deleted, except for the remote /share directory. | |
# | |
# set host, username and www_path in this non-source-controlled file (use ssh keys to avoid passwords) |
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 -s | |
cd /opt | |
wget http://download.springsource.com/release/ECLIPSE/indigo/SR2/eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz | |
tar -xzf eclipse<tab> | |
rm eclipse-java-<tab> | |
chown -R root:root eclipse | |
chmod -R +r eclipse | |
chmod +x `sudo find eclipse -type d` |