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
### Keybase proof | |
I hereby claim: | |
* I am lgtml on github. | |
* I am lgtml_rwg (https://keybase.io/lgtml_rwg) on keybase. | |
* I have a public key ASCoMSe8DMVvPDLYRUIfNghOZs4h_JMp4PpHEONer8m1swo | |
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
import sys | |
import time | |
import re | |
from ssllabsscanner import resultsFromCache,newScan | |
from junit_xml import TestSuite,TestCase | |
def passing_grade(grade): | |
if re.match("A", grade): | |
return True | |
return False |
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
### Keybase proof | |
I hereby claim: | |
* I am lgtml on github. | |
* I am leighmartell (https://keybase.io/leighmartell) on keybase. | |
* I have a public key whose fingerprint is 6A59 237E E6BC 11EC D319 99DC 35EC 9B2A 6262 2B99 | |
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
Goal: multiplayer [hangman](https://en.wikipedia.org/wiki/Hangman_%28game%29) | |
Picking an incorrect letter advances the hangman state. The hangman has 6 body state: head, body, left leg, right leg, left arm, right arm. Once all body parts are drawn, the game is over. | |
For GoInstant, this means that clients will be submitting letter choices. Once the game is finished, the room cannot be updated (enforced by the trigger). | |
# Phase 0: client | |
listens to a bunch of keys: | |
- `/body` integer from 0 to 6. 6 is YOU LOSE. |
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
import urllib2 | |
import json | |
from supervisor import childutils | |
import sys | |
import socket | |
class PagerDutyNotifier(object): | |
def __init__(self, pd_service_key): | |
self.pd_service_key = pd_service_key |