This file contains hidden or 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
/** | |
* This class can be used to interact with a Amazon DynamoDB table | |
* | |
* @author Aron Steg <[email protected]> | |
* | |
* @version 0.0.1 | |
*/ | |
class AWSDynamoDB { | |
static version = [0, 0, 2]; |
This file contains hidden or 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
// ============================================================================= | |
class Timer { | |
self = null; | |
cancelled = false; | |
paused = false; | |
running = false; | |
callback = null; | |
interval = 0; | |
params = null; |
This file contains hidden or 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
# Serially download all aws-lambda functions | |
# Assumes you have ran `aws configure` or have the AWS_DEFAULT_PROFILE variable set | |
# Works with "aws-cli/1.16.72 Python/3.6.7 Linux/4.15.0-42-generic botocore/1.12.62" | |
mkdir -p lambda_functions | |
for fn in $(aws lambda list-functions --output text --query "Functions[*].FunctionName" | xargs); | |
do | |
echo "Downloading function $fn ..." | |
aws lambda get-function --function-name $fn --output text --query 'Code.Location' | xargs wget -q --show-progress -O ./lambda_functions/$fn.zip | |
done |
OlderNewer