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
import asyncio | |
import httpx | |
import time | |
start_time = time.time() | |
async def get_pokemon(client, url): | |
resp = await client.get(url) |
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
import asyncio | |
import httpx | |
import time | |
import csv | |
start_time = time.time() | |
async def get_predict(url, params, headers): | |
# cria uma nova conexão ao invés de usar uma existente como tava antes |
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
Edit in JSFiddle | |
Result | |
HTML | |
CSS | |
JavaScript | |
Resources | |
<!-- This snippet uses Font Awesome 5 Free as a dependency. You can download it at fontawesome.io! --> | |
<body> | |
<div class="container"> |
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
curl --location 'https://cognito-idp.sa-east-1.amazonaws.com/' \ | |
--header 'X-Amz-Target: AWSCognitoIdentityProviderService.InitiateAuth' \ | |
--header 'Content-Type: application/x-amz-json-1.1' \ | |
--data-raw '{ | |
"AuthFlow": "USER_PASSWORD_AUTH", | |
"AuthParameters": { | |
"PASSWORD": "mysafepassw@rd", | |
"USERNAME": "[email protected]" | |
}, | |
"ClientId": "3hgver6a6mj336cnbefus3ta1p" |
OlderNewer