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
from typing import Optional, List | |
from flask import Flask | |
from soco import discover, SoCo | |
app = Flask(__name__) | |
@app.route("/normalize") | |
def normalize_volume(devices: Optional[List[SoCo]]=None) -> str: |
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
import boto3 | |
BUCKET_NAME = "my-bucket" | |
s3 = boto3.resource("s3") | |
bucket = s3.Bucket(BUCKET_NAME) | |
bucket.objects.delete() | |
bucket.object_versions.delete() |
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
""" | |
A short Python code snippet that notifies you once a slot opens up | |
on the WhatsApp mac beta. | |
Make sure to install the TestFlight app beforehand, so you don't miss | |
you chance when a slot opens up. | |
""" | |
import os | |
from datetime import datetime | |
from time import sleep | |
import requests |
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
2020-06-15T08:46:09.1208507Z ##[group]Run make testacc | |
2020-06-15T08:46:09.1208817Z [36;1mmake testacc [0m | |
2020-06-15T08:46:09.1308362Z shell: /bin/bash -e {0} | |
2020-06-15T08:46:09.1308488Z ##[endgroup] | |
2020-06-15T08:46:09.1612955Z ==> Checking that code complies with gofmt requirements... | |
2020-06-15T08:46:09.2371024Z TF_ACC=1 go test "./helm" -v -timeout 120m -parallel=4 | |
2020-06-15T08:46:16.8242685Z === RUN TestAccDataRepository_basic | |
2020-06-15T08:46:23.2248188Z --- PASS: TestAccDataRepository_basic (6.40s) | |
2020-06-15T08:46:23.2248527Z === RUN TestProvider | |
2020-06-15T08:46:23.2248782Z --- PASS: TestProvider (0.00s) |