THIS PROJECT IS IN MAINTENANCE MODE. We accept pull-requests for Bug Fixes ONLY. NO NEW FEATURES ACCEPTED!
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 | |
set -e | |
set -u | |
function create_user_and_database() { | |
local database=$1 | |
echo " Creating user and database '$database'" | |
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL | |
CREATE USER $database; |
git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -D
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
# Regular Colors | |
| Value | Color | | |
| -------- | ------ | | |
| \e[0;30m | Black | | |
| \e[0;31m | Red | | |
| \e[0;32m | Green | | |
| \e[0;33m | Yellow | | |
| \e[0;34m | Blue | | |
| \e[0;35m | Purple | |
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
version: "2.1" | |
services: | |
localstack: | |
image: localstack/localstack:0.12.19.1 | |
ports: | |
- "4566:4566" | |
environment: | |
- SERVICES=dynamodb | |
- DATA_DIR=/tmp/localstack/data |
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
version: "2.1" | |
mysql: | |
image: mysql:5.7 | |
restart: always | |
ports: | |
- '3307:3306' | |
container_name: dev-mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: password |
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
version: '3.7' | |
services: | |
dynamoDB-local: | |
image: amazon/dynamodb-local:1.13.6 | |
ports: | |
- '4569:8000' | |
dynamo-admin: | |
image: aaronshaf/dynamodb-admin | |
environment: |