A tab completion script that works for Bash. Relies on the BSD md5
command on Mac and md5sum
on Linux, so as long as you have one of those two commands, this should work.
$ gradle [TAB]
" VSVIM | |
syntax on | |
set ignorecase | |
set smartcase | |
set hlsearch | |
set wrap | |
set number | |
set laststatus=2 | |
set autoindent | |
set smartindent |
All commands are run as root.
apt install build-essential glances python3-pip
# use py3sensors because pysensors doesn't work on Python 3.x
pip3 install https://bitbucket.org/gleb_zhulik/py3sensors/get/0cf96f4e2cfe.zip
#!/bin/bash | |
set -x | |
export SHA1=`echo ${CIRCLE_SHA1} | cut -c1-7` | |
export CONFIG_YML=$1 | |
shift | |
export SERVICE=`./ecspresso deploy --config=$CONFIG_YML --dry-run | grep Service | awk '{print $2}'` | |
echo "deploying" | |
time ./ecspresso deploy --config=$CONFIG_YML $@ |