sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| @echo off | |
| echo - This scripts automates process of installing Windows Subsystem for Linux (WSL) | |
| REM Due some limitations, this script has to be can't be executed under PowerShell | |
| Get-ChildItem >nul 2>&1 | |
| if %errorLevel% == 0 ( | |
| echo # Swich to CMD | |
| cmd /c start "" %0 | |
| exit 0 | |
| ) |
| #!/bin/bash | |
| RANCHER_SERVER_NAME=$(docker ps -a --format "{{.Image}} {{.Names}}" | grep -i "rancher/rancher" | cut -d' ' -f2) | |
| TODAY_DATE=$(date +%Y%m%d) | |
| RANCHER_COPY_NAME=rancher-data-${TODAY_DATE} | |
| CREDENTIALS_PATH=~/secrets | |
| BACKUP_PATH=~/backup | |
| RANCHER_BACKUP_FILE=rancher-data-backup-${TODAY_DATE}.tar.gz | |
| USE_GDRIVE=0 | |
| if [ "$1" = "--gdrive" ]; then |
| #!/usr/bin/env bash | |
| # | |
| # Bootstrap script for setting up a new OSX machine | |
| # | |
| # This should be idempotent so it can be run multiple times. | |
| # | |
| # Some apps don't have a cask and so still need to be installed by hand. These | |
| # include: | |
| # | |
| # - Twitter (app store) |
| # Install Homebrew | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew doctor | |
| # Tap sources we need | |
| brew tap homebrew/dupes | |
| brew tap homebrew/versions | |
| brew tap homebrew/homebrew-php | |
| brew tap caskroom/versions |