Hi, I'm Logan. This is where I write code.
Given at SRECon Americas 2019 (Brooklyn) by Logan McDonald
Resources from my research are presented in the order they are given in the talk. Here are my slides and all the art is by the amazing Emily Griffin. The resources are broken into the four sections of the talk:
- John Allspaw's "Monitoring Considerations" given at Monitorama Boston in 2013
- Constraint Satisfaction Theory
- CSPs
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
_PLUS_13IDMlcGk0VYyy8HcftzQ | |
_PLUS_1bdCm9wn9_PLUS_tzOVn9N_PLUS_Z1A | |
_PLUS_55QImciPavNeXuqE0sHbw | |
_PLUS_5YCk4FAlQ3Bxgxk3UOvLg | |
_PLUS_HxpTwyTmj/zm0SolE0xpw | |
_PLUS_Lwa1kWOR4QobHYM0x4IqQ | |
_PLUS_M6VKLdn5ZRBG3K7T00kXA | |
_PLUS_NzsHIWD8JVgF0Ca7Zg2hw | |
_PLUS_qZx_PLUS_HnCTwU26OCFZMUluw | |
_PLUS_rDdP98vRuk/X0FBI8Iy6g |
Given at The Lead Dev Meetup in April 2019 by Logan McDonald
- John Allspaw's "Monitoring Considerations" given at Monitorama Boston in 2013
- Constraint Satisfaction Theory
- CSPs
- "Constraint Satisfaction" by Stephen M. Kosslyn
- "Dickerson Hierarchy of Site Reliability" from Part III on Practices of the Google SRE Handbook
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
security_groups = ec2.describe_security_groups() | |
bastion_dynamic_security_group = next(d for d in security_groups['SecurityGroups'] if d['GroupName'].endswith(CLUSTER + "-bastion-dynamic")) | |
# Revoke any ip ranges that contain a description with a time limit that exceeds the limit we set | |
ip_ranges_to_revoke = get_ip_ranges_to_revoke(bastion_dynamic_security_group, time_limit=6) | |
if ip_ranges_to_revoke: | |
ip_permissions_to_revoke = bastion_dynamic_security_group['IpPermissions'] | |
ip_permissions_to_revoke[0]['IpRanges'] = ip_ranges_to_revoke | |
ec2.revoke_security_group_ingress(GroupId=bastion_dynamic_security_group['GroupId'], IpPermissions=ip_permissions_to_revoke) |
I hereby claim:
- I am loganmeetsworld on github.
- I am loganmcdonald (https://keybase.io/loganmcdonald) on keybase.
- I have a public key whose fingerprint is E008 B82E 3F6A 8EEA 3370 046D D70E FF8A B3EA 4435
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
require 'httparty' | |
require 'json' | |
require 'pry' | |
require 'colorize' | |
module NFL | |
class Arrests | |
def initialize(search, crime) | |
@crime = crime | |
@search = search |
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
/** | |
* Flamingo Sample | |
*/ | |
@import url('https://fonts.googleapis.com/css?family=Lato|Tangerine|Inconsolata|Droid+Sans'); | |
body { | |
font-family: sans-serif; | |
font-size: 14px; | |
padding: 50px; | |
background: #333; |