https://github.com/wal-g/wal-g
- Improvements over wal-e
- written in Go
- improvements in AWS SDK
- simpler, less code
| sudo apt-get install -y tilix build-essential autoconf curl xclip chrome-gnome-shell git apt-transport-https | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
| #curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
| #echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
| #sudo apt update && sudo apt install --no-install-recommends yarn | |
| # Check out https://apt.syncthing.net/ probably has instructions like: |
https://github.com/wal-g/wal-g
| alias nr="npm run" | |
| _npm_scripts() { | |
| # check package.json file in current directory | |
| if [ ! -f ./package.json ]; then | |
| return | |
| fi | |
| local scripts="$(node -e 'const { scripts } = require(`./package.json`); if (!scripts) process.exit(); let a = Object.entries(scripts); for (let s in scripts) { console.log(s); }' | grep -E ^$2)" | |
| local -a toks |