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:
#!/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:
To claim this, I am signing this object:
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
instances = [x['resourceId'] for x in event['requestParameters']['resourcesSet']['items'] | |
if re.search('i-([0-9]|[a-f]){8}', x['resourceId'])] |
Verifying that +spenserpothier is my openname (Bitcoin username). https://onename.com/spenserpothier |
[alias] | |
lg = log --format=\"%h - %C(cyan)%s%Creset %C(dim white)(%ar) [%an - %ae]%Creset%n%w(72,4,4)%b\" |
$ cucumber | |
Using the default profile... | |
Feature: Manage Articles | |
In order to make a blog | |
As an author | |
I want to create and manage Articles | |
Scenario: Articles List # features/manage_articles.feature:6 | |
Given I have articles titled Pizza, Breadsticks # features/step_definitions/article_steps.rb:1 | |
When I go to the list of articles # features/step_definitions/web_steps.rb:48 |
#!/bin/zsh | |
ls -1 -d */ | while read i | |
do | |
cd "$i" | |
if [ -d .git ] | |
then | |
{ | |
ncommits=$(eval 'git log --oneline --author="Spenser" --since="`date -v monday`" | wc -l' 2> /dev/null ) | |
} || { |
# Replace REPLACEME in fileB with the contents of fileA with " " prepended to each line, save to fileC | |
awk 'NR==FNR { a[n++]=" "$0; next } | |
/REPLACEME/ {for (i=0; i<n; ++i) print a[i]; next } | |
1' fileA fileB > fileC |
curl -k -X POST --netrc-file passfile https://url.with.auth.com |