Skip to content

Instantly share code, notes, and snippets.

@todd-dsm
todd-dsm / import-kms-keyring.sh
Last active June 2, 2020 17:27
import a pre-existing google_kms_key_ring
#!/usr/bin/env bash
# PURPOSE: solves an annoyance importing a google_kms_key_ring. This soaked up
# more minutes than it should have. the fix is pretty simple.
# -----------------------------------------------------------------------------
# NOTE: only run this once
# -----------------------------------------------------------------------------
# If you're in a GCP Organization AND you're creating a
# google_kms_key_ring inside of a dynamically-generated project THEN
# you don't need to run/worry about this.
# -----------------------------------------------------------------------------
@tlberglund
tlberglund / git-loglive
Last active September 26, 2024 20:40
Log Live Git Command
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*
sleep 1
done