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 | |
#Warsync - a tool for speeding up rsync of war files by unzipping them on the source and target and then rsyncing the diffs | |
echo "Usage: $0 source.war destinationserver" | |
CURRENTDIR=$PWD | |
WARFILE="$CURRENTDIR/$1" | |
REMOTEHOST=$2 | |
CURRENTUSER=$USER | |
REMOTEHOME="/home/$CURRENTUSER" | |
WARFILENAME=`basename $1` | |
echo "source is $WARFILE target is $TARGET" |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder