Skip to content
View lukeplausin's full-sized avatar
Block or Report

Block or report lukeplausin

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. AWS, JQ and bash command cheat sheet... AWS, JQ and bash command cheat sheet. How to query, cut and munge things in JSON generally.
    1
    # Count total EBS based storage in AWS
    2
    aws ec2 describe-volumes | jq "[.Volumes[].Size] | add"
    3
    # Count total EBS storage with a tag filter
    4
    aws ec2 describe-volumes --filters "Name=tag:Name,Values=CloudEndure Volume qjenc" | jq "[.Volumes[].Size] | add"
    5
    # Describe instances concisely
  2. Clean up merged git branches Clean up merged git branches
    1
    #!/bin/zsh
    2
    
                  
    3
    # Do merged git branches clutter up your local machine?
    4
    # This handy script can automatically clean them up for you.
    5
    
                  
  3. Automatically configure AWS SSO conf... Automatically configure AWS SSO configuration file for all available accounts and roles
    1
    #!/bin/bash -e
    2
    
                  
    3
    # How to use this script:
    4
    # 1. Follow these instructions to configure a single AWS account to do initial login with SSO
    5
    #    https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html