Skip to content

Instantly share code, notes, and snippets.

View djosix's full-sized avatar
🐄
Coworking

Yuan-Kui Lee djosix

🐄
Coworking
View GitHub Profile
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):
if (location.pathname.startsWith('/play')) {
(() => {
function downloadVideo(print = console.log) {
let url =
document
.querySelector('video')
.firstElementChild
.getAttribute('src');