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 | |
echo "Looking for $1" | |
OUT="$(docker ps | awk '{if( $2==container ) print $1}'-v container=$1)" | |
if [ ${#OUT} -eq 0 ] | |
then | |
echo "Unable to locate a container running the image $1" | |
exit 1 | |
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
syntax on | |
set tabstop=4 | |
set number | |
set cursorline | |
set hlsearch | |
set ignorecase | |
set nowrap | |
set autoindent | |
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 exports the specified mysql database and deletes | |
# any backups older than a specified number of days. | |
# | |
# Created by Lee Jones | |
# http://leejon.es | |
# |
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
alias git_push_release="git checkout master && git push && git push --tags && git checkout develop" | |
alias git_release="git checkout master && git pull && git checkout develop && bump | xargs git flow release start" | |
alias git_hotfix="git checkout master && git pull && bump --build && bump | xargs git flow hotfix start" | |
alias git_next_version='bump -p && echo -e "## $(bump)\n\n$(cat versionlog.md)" > versionlog.md && git commit -am bump && 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
/github subscribe {repo} issues pulls deployments commits commits:all releases comments branches reviews |