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
function findResourcesByType() { | |
if (($# == 0)) then | |
echo "\nUsage: findResourceByType <ResourceType>" | |
echo "\nResourceType list can be found at https://docs.aws.amazon.com/cli/latest/reference/configservice/list-discovered-resources.html#options" | |
return 1; | |
fi | |
# Fill these with the names of the profiles and regions you want to look through, space seperated | |
PROFILES=() | |
REGIONS=() | |
for o in $PROFILES; do |
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
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>method</key> | |
<string>ad-hoc</string> | |
<key>teamID</key> | |
<string>10_DIGIT_DEVELOPER_ID</string> | |
<key>provisioningProfiles</key> | |
<dict> | |
<key>MY_APP_BUNDLE_ID</key> |
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 | |
go get -u github.com/dougm/goflymake | |
go get -u github.com/acroca/go-symbols | |
go get -u github.com/alecthomas/gometalinter | |
go get -u github.com/cweill/gotests/... | |
go get -u github.com/davidrjenni/reftools/cmd/fillstruct | |
go get -u github.com/derekparker/delve/cmd/dlv | |
go get -u github.com/dominikh/go-tools/cmd/keyify | |
go get -u github.com/fatih/gomodifytags |
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
curl -k -X POST --netrc-file passfile https://url.with.auth.com |
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
#!/usr/bin/env python | |
# Find the IAM username belonging to the TARGET_ACCESS_KEY | |
# Useful for finding IAM user corresponding to a compromised AWS credential | |
# Usage: | |
# find_iam_user AWS_ACCESS_KEY_ID | |
# Requirements: | |
# | |
# Environmental variables: | |
# AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY | |
# python: |
I hereby claim:
- I am spenserpothier on github.
- I am spenserpothier (https://keybase.io/spenserpothier) on keybase.
- I have a public key whose fingerprint is 59A2 A73E FFCF 5306 C7F9 D0DD 7B30 C2DB 40F3 CFCD
To claim this, I am signing this object:
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
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
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
instances = [x['resourceId'] for x in event['requestParameters']['resourcesSet']['items'] | |
if re.search('i-([0-9]|[a-f]){8}', x['resourceId'])] |
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
Verifying that +spenserpothier is my openname (Bitcoin username). https://onename.com/spenserpothier |
NewerOlder