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
How many tenants can a user in Azure Active Directory belong to? | |
What are characteristics of Azure Paired Regions? | |
Azure Information protection == ~Macie | |
Network Security Group == Security Group | |
Application Gateway == Application Load Balancer | |
Azure Support Plans | |
Service Trust Portal == Artifact | |
Resource Group == ~Tags | |
App Services?? | |
Azure Firewall |
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
s3 = boto3.client('s3') | |
## Reading a JSON file in memory | |
with tempfile.TemporaryFile() as data: | |
s3.download_fileobj(bucket_name, 'tests/s3/key.json', data) | |
data.seek(0) | |
status = json.loads(data.read().decode('utf-8'))['status'] | |
## Reading a CSV file in memory | |
with tempfile.TemporaryFile() as package_file: |
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
https://sdadadsazxzxvwr6t3676jnvcxzvcz.s3-ap-southeast-1.amazonaws.com/model.txt |
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
name: Serverless Delete example | |
on: | |
delete: | |
branches: | |
- actions-** | |
# Specify what jobs to run | |
jobs: | |
deploy: |
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
steps: | |
- uses: actions/checkout@v1 | |
- name: Set Branch name to $STAGE env var | |
run: | | |
BRANCH="$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')" | |
echo "BRANCH is $BRANCH" | |
echo "::set-env name=STAGE::$BRANCH" |
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
name: Simple Serverless | |
# Triggers | |
on: | |
push: | |
branches: | |
- master | |
# Jobs | |
jobs: |
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", | |
"Id": "VPCe and SourceIP", | |
"Statement": [{ | |
"Sid": "VPCe and SourceIP", | |
"Effect": "Deny", | |
"Principal": "*", | |
"Action": "s3:*", | |
"Resource": [ | |
"${aws_s3_bucket.test_endpoint.arn}/*" |
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
https://models-to-download-randomwordsstringedtogether.s3-ap-southeast-1.amazonaws.com/yolov3.weights |
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
https://drive.google.com/file/d/1BZCKj_e_SXxlvg4rKUC0EI4BJXYssTVL/view?usp=sharing | |
https://s3-ap-southeast-1.amazonaws.com/p40.123456/tf-bert-large-cased-ner.zip |
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
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 62 | |
model name : Intel(R) Xeon(R) Processor @ 2.50GHz | |
stepping : 4 | |
microcode : 0x1 | |
cpu MHz : 2500.010 | |
cache size : 33792 KB | |
physical id : 0 |