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 subprocess, urllib, random | |
class NoBlocks(Exception): pass | |
def getblocks(): | |
r = urllib.urlopen("http://{?REDACTED?}/grab").read() | |
if '<html' in r.lower(): raise NoBlocks | |
return r.split() | |
import sys | |
if len(sys.argv) > 1: |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Permissions1", | |
"Effect": "Allow", | |
"Action": [ | |
"polly:SynthesizeSpeech", | |
"s3:HeadBucket", | |
"polly:DescribeVoices" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.