Various and sundry tips for making git
and GitHub usage more pleasant with
optional rainbows and sunshine.
- Use the gist command line utility for working with gists.
Various and sundry tips for making git
and GitHub usage more pleasant with
optional rainbows and sunshine.
I hereby claim:
To claim this, I am signing this object:
{% set comma = joiner(",") %} | |
{% set lbracket = "[" %} | |
{% set rbracket = "]" %} | |
{% set quote = '"' %} | |
{ | |
"advertise_addr": "{{ hostvars[inventory_hostname]['ansible_eth1']['ipv4']['address'] }}", | |
"bind_addr": "{{ hostvars[inventory_hostname]['ansible_eth1']['ipv4']['address'] }}", | |
"bootstrap": false, | |
"server": true, |
""" | |
Implementation for rebalance, add, remove, stop rebalance with extra Nyan Cat power! | |
NB: `pip install nyanbar` system-wide for this to work | |
""" | |
import time | |
import os | |
import sys | |
import util_cli as util | |
import socket |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.
package main | |
import ( | |
"log" | |
"os" | |
"strconv" | |
"time" | |
"github.com/hashicorp/consul/api" | |
) |
#!/bin/bash | |
if ! [ -z "$VAULT_TOKEN" ]; then | |
SRCTOKEN="$VAULT_TOKEN" | |
else | |
if [ -f "$HOME/.vault-token" ]; then | |
SRCTOKEN=$(cat "$HOME/.vault-token") | |
fi | |
fi |
#!/bin/sh | |
# | |
# microvault | |
# A tiny file storage based Vault server with TLS support running | |
# at 127.0.0.1:8200 that is fully ready to use when executed | |
# | |
# shellcheck disable=SC1090,SC2009 | |
set -e |