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/python | |
import random | |
lowercase="abcdefghijklmnopqrstuvwxyz" | |
uppercase="ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
numbers="0123456789" | |
symbols="/!'@#$%&~().,;:<>" | |
length=40 | |
pwtype=lowercase+uppercase+numbers#+symbols |
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 | |
function log() { | |
ts=`date '+%d/%m/%Y %H:%M:%S'` | |
echo "[ $ts ] $1" | |
} | |
export AWS2_BIN_DIR=~/bin | |
export AWS2_INSTALL_DIR=~/Software/aws/awscli/installdir |
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 script is used for searching a tag in git. Parameters: | |
# | |
# GIT_REPO: Repository URL | |
# GIT_TAG: Tag to look for | |
GITCMD="git" | |
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 script is a pre-receive hook allowing pushes whose every file: | |
# - is smaller than 20 M | |
# - and its extension is not one of the following: | |
# - dll | |
# - exe | |
# - war | |
# - ear | |
# - jar |