Skip to content

Instantly share code, notes, and snippets.

View lapthorn's full-sized avatar

Alan Lapthorn lapthorn

View GitHub Profile
@lapthorn
lapthorn / crash.log.filtered
Created July 18, 2019 17:05
terraform 0.12upgrade crash.log filtered
2019/07/18 17:21:26 [INFO] Terraform version: 0.12.4
2019/07/18 17:21:26 [INFO] Go runtime version: go1.12.4
2019/07/18 17:21:26 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/07/18 17:21:26 [INFO] CLI command args: []string{"0.12upgrade"}
2019/07/18 17:21:26 [DEBUG] command: asking for input: "Would you like to upgrade the module in the current directory?"
2019/07/18 17:21:36 [DEBUG] checking for provider in "."
2019/07/18 17:21:36 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2019/07/18 17:21:36 [DEBUG] found provider "terraform-provider-archive_v1.2.0_x4"
2019/07/18 17:21:36 [DEBUG] found provider "terraform-provider-aws_v2.19.0_x4"
2019/07/18 17:21:36 [DEBUG] found provider "terraform-provider-template_v2.1.0_x4"
@lapthorn
lapthorn / pomodoro
Created July 8, 2015 13:29
pomodoro
#!/bin/bash
SEC_IN_MIN=60
DELAY="$1"
echo pomodoro
sleep $((10*${SEC_IN_MIN}))
echo 15mins left
# say 'Keep on trucking!'
@lapthorn
lapthorn / cdn_bash_aliases
Last active December 8, 2015 22:37
Useful bash aliases for testing the Akamai CDN
# Useful bash aliases for debugging Akamai proxy responses
alias curla='curl -H '\''Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces,akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no'\'''
alias curlaixg='curl -I -X GET -H '\''Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces,akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no'\'''
alias curlixg='curl -I -X GET'
alias curlmyip='curl http://www.lapthorn.com/curlmyip'
alias wgeta='wget -S --header='\''Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces,akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no'\'''