Remove swap
swapoff -a
vim /etc/fstab
#! /bin/bash | |
# Script to automate creating new OpenVPN clients | |
# The client cert and key, along with the CA cert is | |
# zipped up and placed somewhere to download securely | |
# | |
# H Cooper - 05/02/11 | |
# | |
# Usage: new-openvpn-client.sh <common-name> | |
# Set where we're working from |
Total Productive Maintenance | |
- Ordenação: nomeação correta | |
- Sistematizar: blocos de código no lugar certo | |
- Limpeza: nada de comentários | |
- Padronização: time fazendo o mesmo | |
- Disciplina: faça as regras acima |
#!/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) |
# Ubuntu 20.04 - Basic installs | |
0. The begin | |
sudo apt-get update && sudo apt-get -y upgrade && sudo apt install curl wget git vim | |
1. zsh + ohmyz | |
sudo apt-get install zsh | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | |
vim ~/.bashrc |