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
Gist for other projects |
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
# Gist for various files related to Neoteroi |
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
""" | |
Use this script to debug an application served by Uvicorn. | |
""" | |
# Nota bene: to debug an application that configures an event loop before calling uvicorn.run, | |
# it is possible to replace `uvicorn.run` with the following code fragment. | |
# This is necessary for example, when data access layer and business logic | |
# are configured before starting the application. | |
# See https://github.com/encode/uvicorn/pull/446#issuecomment-540484961 |
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
{ | |
"info": { | |
"_postman_id": "e5e56cc1-5903-495f-81f3-999e84f1e682", | |
"name": "Application Insights", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Track Event", | |
"request": { |
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
""" | |
aiohttp shooting | |
""" | |
import os | |
import asyncio | |
import aiohttp | |
import time | |
url = "https://example/isalive" |
