Created
March 30, 2016 20:20
-
-
Save filipenf/96e55bc14212398e8a6db252e19dcb5c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function retry-ssh() { | |
ssh $@ | |
while [ $? -ne 0 ]; do | |
sleep 3; | |
ssh $@; | |
done | |
} | |
function ansiblify() { | |
echo $1 | tr '.-' '_' | |
} | |
function cleanBarCode { | |
echo $1 | tr -d '. ' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment