IAM Policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1517398919242",| { | |
| "twilio": { | |
| "collected_data": { | |
| "collect_is_parent_guardian": { | |
| "answers": { | |
| "is_parent_guardian": { | |
| "confirm_attempts": 0, | |
| "answer": "Yes", | |
| "filled": true, | |
| "type": "Twilio.YES_NO", |
| from scapy.all import * | |
| def spoof_reply(pkt): | |
| """ | |
| Craft a valid ICMP echo-reply based on an intercepted | |
| ICMP echo-request | |
| """ | |
| if (pkt[2].type == 8): | |
| #check if the ICMP is a request |
| from datetime import datetime, timedelta | |
| import json | |
| import boto | |
| def get_kinesis_data_iterator(stream_name, minutes_running): | |
| # Connect to Kinesis | |
| kinesis = boto.connect_kinesis() | |
| # Get data about Kinesis stream for Tag Monitor | |
| kinesis_stream = kinesis.describe_stream(stream_name) |
To remove a submodule you need to:
| -- Remove the history from | |
| rm -rf .git | |
| -- recreate the repos from the current content only | |
| git init | |
| git add . | |
| git commit -m "Initial commit" | |
| -- push to the github remote repos ensuring you overwrite history | |
| git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git |