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
export PATH=$PATH:/opt/homebrew/bin | |
export ZSH="/Users/julien/.oh-my-zsh" | |
ZSH_THEME="robbyrussell" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
eval "$(direnv hook zsh)" |
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
require 'json' | |
def prompt(label, value) | |
puts "" | |
puts label | |
puts "" | |
puts value | |
puts "" | |
puts "" | |
end |
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
#!/usr/bin/env bash | |
set -e # stop on first error | |
STACK=$1 | |
DUMP=./tmp/${STACK}.pgsql | |
LOCAL_DB_NAME=$2 | |
if [[ $# -eq 0 ]] ; then | |
echo 'Usage: `sh sync.sh SCALING0_STACK_NAME LOCAL_DB_NAME`' |
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
#!/usr/bin/env bash | |
set -e # stop on first error | |
STACK=$1 | |
DUMP=$2 | |
if [[ $# -eq 0 ]] ; then | |
echo 'Usage: `sh pg_restore_scalingo.sh {STACK_NAME} {DUMP.PSQL}`' | |
exit 0 |