$ poetry add git+https://github.com/th-yoo/niquests-ratelimiter.git
HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /th-yoo/niquests-ratelimiter.git/info/refs?service=git-upload-pack (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1018)')))
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
from __future__ import annotations | |
from pprint import pprint | |
from var_dump import var_dump | |
from fastapi import FastAPI, WebSocket, Request, HTTPException, WebSocketDisconnect | |
from fastapi.responses import HTMLResponse, PlainTextResponse | |
from fastapi.staticfiles import StaticFiles | |
app = FastAPI() |
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
<?php | |
/** | |
* this class shows how to override default PHP handler to catch undefined index errors | |
* and throw it as native exceptions, much more convenient way to work with object | |
* oriented programs. | |
* | |
* @author Moisés Maciá <[email protected]> | |
* @see http://codeup.net | |
*/ |
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 strict' | |
// (node -v) => 5.2.0 | |
const stream = require('stream'); | |
class StreamPromise { | |
constructor(stream) { | |
this._promises = []; | |
this._add(stream); | |
this._cur = stream; |