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
#!/bin/sh | |
usage() { | |
echo >&2 | |
echo "A lightweight wrapper around the AWS CLI for interacting with AWS App Runner." >&2 | |
echo "Provides feedback during operations." >&2 | |
echo >&2 | |
echo "Usage: $0 <command> [options...]" >&2 | |
echo >&2 | |
echo "pause Pauses a running service" >&2 |
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
#!/bin/bash | |
OLD="$1"; shift | |
NEW="$1"; shift | |
RESPONSE=$(eval "aws ssm describe-parameters") | |
# Get the parameter descriptions (since they aren't included in `get-parameters-by-path`): | |
PARAMS=$(echo $RESPONSE | jq -c --arg path $OLD '.Parameters | map({Name, Description, Type}) | .[] | select(.Name | startswith($path))') |
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
// | |
// UIColor+Hex.swift | |
// Gist | |
// | |
// Created by Alexander Havermale on 5/26/17. | |
// Copyright © 2017 Alex Havermale. All rights reserved. | |
// | |
import UIKit |