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
service: sls-strapi | |
provider: | |
name: aws | |
runtime: nodejs12.x | |
profile: <your-aws-profile> | |
logRetentionInDays: ${self:custom.vars.logRetentionInDays, 1} | |
environment: | |
ADMIN_JWT_SECRET: "Just using dummy" |
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
# my_sls_scraper/extensions/s3cache.py | |
import boto3 | |
import gzip | |
import json | |
import logging | |
import os | |
from botocore.exceptions import ClientError | |
from botocore.stub import Stubber | |
from time import time |
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
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
const headers = new Headers({ | |
'Content-Type': 'application/x-www-form-urlencoded', | |
'Referer': 'http://tdt4237.idi.ntnu.no:5017/categories/add', | |
'Origin': 'http://tdt4237.idi.ntnu.no:5017', |
NewerOlder