https://github.com/wal-g/wal-g
- Improvements over wal-e
- written in Go
- improvements in AWS SDK
- simpler, less code
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 |
https://github.com/wal-g/wal-g
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: |
; Ensures a consistent starting directory. | |
SetWorkingDir %A_ScriptDir% | |
; ----------------------------------------------------------- | |
; Sane Navigation Shortcuts with Alt | |
; | |
; An easier and more consistent way to send PgUp/PgDown/ | |
; Home/End for laptops with no dedicated keys for these | |
; functions. | |
; |
sudo apt-get install -y tilix build-essential autoconf curl xclip chrome-gnome-shell git | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
(then) | |
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 |
Install chocolately, always use powershell admin mode: | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
Then allow choco install w/o having to confirm everything: | |
choco feature enable -n allowGlobalConfirmation | |
Then install stuff: |
sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other |
{ | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"dist": true, | |
"**/node_modules": true, | |
"doc/schema": true, |
sudo apt-get install -y tilix build-essential autoconf curl xclip git vim | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/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-get update && sudo apt-get install yarn -y | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list |
sudo apt-get install -y build-essential autoconf curl xclip git vim | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.9/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-get update && sudo apt-get install yarn -y | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list |