The intent is to define terse, standards-supported names for AWS regions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Strict Mode - http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
set -euo pipefail | |
IFS=$'\n\t' | |
retry_command_or_timeout() { | |
local retry_command=${1} | |
local max_retries=${2} | |
local sleep_seconds=5 |
Today I learned how to setup linters and formaters for various languages in VIM.
First we need to install the [ALE][ale] (Asynchronous Lint Engine) plugin. This
plugin provides a common platform for different linters in VIM. I install it
using [vim-plug][vim-plug] plugin manager, but one can install it manually or
with another plugin manager without much hassle. The example in this TIL use
vim-plug. Put Plug 'w0rp/ale'
in your vimrc setup and call vim-plug to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: registry | |
--- | |
apiVersion: v1 | |
kind: Secret | |
type: Opaque | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |