sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
* company-box Package managemnt | |
** Add Melpa | |
#+begin_src emacs-lisp | |
(eval-and-compile | |
(customize-set-variable | |
'package-archives '(("org" . "https://orgmode.org/elpa/") | |
("gnu" . "https://elpa.gnu.org/packages/") | |
("melpa" . "https://melpa.org/packages/"))) | |
(package-initialize) | |
(unless (package-installed-p 'use-package) |
/ | |
__ // | |
-\= \=\ // | |
--=_\=---//=-- | |
-_==/ \/ //\/-- | |
==/ /O O\==-- | |
_ _ _ _ /_/ \ ] /-- | |
/\ ( (- \ / ] ] ]==- | |
(\ _\_\_\-\__/ \ (,_,)-- | |
(\_/ \ \- |
@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 |