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, os, base64, datetime, hashlib, hmac, json | |
import requests # pip install requests | |
# ************* REQUEST VALUES ************* | |
method = 'GET' | |
service = 'execute-api' | |
host = 'api.example.com | |
region = 'us-east-1' | |
endpoint = 'https://api.example.com/user/hello' | |
request_parameters = '' |
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
--- | |
swagger: 2.0 | |
basePath: /prod | |
info: | |
title: AwsSamExample | |
bschemes: | |
- https | |
paths: | |
/: | |
x-amazon-apigateway-any-method: |
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
{ | |
"Comment": "Invoking Lambda at arbitrary time.", | |
"StartAt": "CountDownTimer", | |
"States": { | |
"CountDownTimer": { | |
"Type": "Wait", | |
"TimestampPath": "$.invocationTime", | |
"Next": "InvokeLambda" | |
}, | |
"InvokeLambda": { |
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
0x7d53C149154Ffb8D9b3825EaA566E977C434D061 |
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
{ | |
"config": { | |
"chainId": 13, | |
"homesteadBlock": 0, | |
"eip155Block": 0, | |
"eip158Block": 0 | |
}, | |
"difficulty": "200000000", | |
"gasLimit": "2100000", | |
"alloc": { |
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
# udev rule to detect android devices | |
# These rules refer to http://developer.android.com/tools/device.html | |
# Acer | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="plugdev" | |
# Archos | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", MODE="0666", GROUP="plugdev" | |
# Asus | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="plugdev" | |
# Azpen Onda |
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
#!/bin/sh | |
_DOMAIN="proxy.ssn.net" | |
_PORT=8080 | |
_IGNORE_PROXY="'*.ssn.net'" | |
_ENV_FILE_PATH="/etc/environment" | |
_APT_FILE_PATH="/etc/apt/apt.conf" | |
_MODE_MANUAL="manual" | |
_MODE_NONE="none" |