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 functools | |
import asyncio | |
import boto3 | |
class AsyncBoto3Client: | |
def __init__(self, *args, **kwargs): | |
client = boto3.client(*args, **kwargs) | |
self.__client = client | |
for name in dir(client): |
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
if (location.pathname.startsWith('/play')) { | |
(() => { | |
function downloadVideo(print = console.log) { | |
let url = | |
document | |
.querySelector('video') | |
.firstElementChild | |
.getAttribute('src'); |
NewerOlder