Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
tmpfile=$(mktemp)
cat input-day1 > "$tmpfile"
for num1 in $(< "$tmpfile" )
do
sed -ri "/^$num1$/d" "$tmpfile"
for num2 in $(< "$tmpfile" )
do
if [ $num1 -eq $num2 ]
@umglurf
umglurf / gist:220a329cee787105b696534e42602fc5
Created May 24, 2019 04:54
terraform kubernetes 0.12 lifecycle ignore_changes debug
2019/05/24 06:54:21 [INFO] Terraform version: 0.12.0
2019/05/24 06:54:21 [INFO] Go runtime version: go1.12.4
2019/05/24 06:54:21 [INFO] CLI args: []string{"/home/haavardm/bin/terraform0.12", "plan", "-no-color"}
2019/05/24 06:54:21 [DEBUG] Attempting to open CLI config file: /home/haavardm/.terraformrc
2019/05/24 06:54:21 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/05/24 06:54:21 [INFO] CLI command args: []string{"plan", "-no-color"}
2019/05/24 06:54:21 [DEBUG] New state was assigned lineage "3d0e6548-e413-bf3c-ddd3-2719bfe95ece"
2019/05/24 06:54:21 [DEBUG] checking for provider in "."
2019/05/24 06:54:21 [DEBUG] checking for provider in "/home/haavardm/bin"
2019/05/24 06:54:21 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
@umglurf
umglurf / keybase.md
Created October 17, 2018 05:37
Keybase proof

Keybase proof

I hereby claim:

  • I am umglurf on github.
  • I am umglurf (https://keybase.io/umglurf) on keybase.
  • I have a public key ASAPllraKB4cpcjuYMbBnJomJbEB6Y7Y1H_lyDb-zi21Qgo

To claim this, I am signing this object: