GistID:
Categories of things I comment on in PR:
- Access modifiers
GistID:
Categories of things I comment on in PR:
" GistID: 77a7bd2a9092f6c87a691762d56a02f6 | |
set number | |
syntax on | |
filetype plugin indent on | |
" show existing tab with 2 spaces width | |
set tabstop=2 | |
" " when indenting with '>', use 2 spaces width | |
set shiftwidth=2 | |
" " On pressing tab, insert 2 spaces |
# GistID: 7c626b801ddf4f5744e0f7c15388345d | |
# see https://sanctum.geek.nz/arabesque/vi-mode-in-tmux/ | |
set-window-option -g mode-keys vi | |
# https://www.johnhawthorn.com/2012/09/vi-escape-delays/ | |
set -s escape-time 0 | |
# https://unix.stackexchange.com/a/35932/275026 | |
# Start windows and panes at 1, not 0 |
GistID: 542f7e36d786c83f389a916313b07945
Steps to setup (or fetch local) terraform state for azurerm provider:
terraform init -backend-config="access_key=<access key to Azure Storage Account>"
terraform workspace new (if creating new Workspace) or select (if selecting an existing one) <workspace name>
terraform plan
Pass in variables to terraform plan
for things like database credentials:
terraform plan -var 'login=mylogin' -var 'login-password=mypassword'
GistID: ae7484b3f9e3edd077015865878b4bb5
GistID: ee3fa110ce61f0d9c7df6e002593a717
Prerequisite:
Steps:
find . -name 'NamespaceToKeep.NamespaceToDeleted*' -exec rename 's/NamespaceToKeep.NamespaceToDeleted/NamespaceToKeep/' '{}' \; |