Skip to content

Instantly share code, notes, and snippets.

View liamsomerville's full-sized avatar

Liam Somerville liamsomerville

  • Scotland
View GitHub Profile
@liamsomerville
liamsomerville / IRgobag.csv
Created June 12, 2022 15:13
IR personal go bag
Category Item
Food Dried Fruit
Energy Bars
Beef Jerky
Water Bottle
Medication Prescription Medications
Pain relief
hayfever
Caffine Tablets
First Aid Eye drops,
#encourage my lazieness
alias subl='open -a "Sublime Text 2"'
alias sha1="openssl sha1 "
alias sha256="openssl dgst -sha256"
alias gcd="git clone "$1" && cd "$(basename "$1" .git)""
}
#fat thumbs
alias cd..="cd .."
alias cls="clear"
### Keybase proof
I hereby claim:
* I am liamsomerville on github.
* I am liamsomerville (https://keybase.io/liamsomerville) on keybase.
* I have a public key ASCH4TuM00nT7WVPDVwadsnlARG5P1u3cQdjlWpfAafRoQo
To claim this, I am signing this object:
@liamsomerville
liamsomerville / AWS Route53
Last active December 18, 2018 12:47
List and Tidy up AWS Route53 hosted zones
aws route53 list-hosted-zones |grep 'Name'|cut -c 21- |sed 's/[",]//g' |sed 's/.$//'
#list the zones and get their hosted-zone id's
aws route53 list-hosted-zones
#get the dns records for a zone
aws route53 list-resource-record-sets --hosted-zone-id <ZONE-ID> | grep Name
@liamsomerville
liamsomerville / s3buckets
Last active July 24, 2017 10:06
Strip dates from s3 bucket list
#Get bucket list and remove dates
aws s3 ls | cut -c 21-
### Keybase proof
I hereby claim:
* I am liamsomerville on github.
* I am liamsomerville (https://keybase.io/liamsomerville) on keybase.
* I have a public key whose fingerprint is C5AC 15B3 C6C7 C853 AFC2 34BE 910B F9B0 2DF2 2287
To claim this, I am signing this object: