I hereby claim:
- I am wkbae on github.
- I am wkbae (https://keybase.io/wkbae) on keybase.
- I have a public key ASCqx7Fvx6LeDfoLSjG5UrFMXKLcaANzfm9032L2viJslgo
To claim this, I am signing this object:
| function semaphore(n) { | |
| let running = 0; | |
| const queue = []; | |
| return (fn) => { | |
| return new Promise((resolve) => { | |
| const task = () => { | |
| running++; | |
| resolve( | |
| fn().finally(() => { | |
| running--; |
| π Morning 140 commits βββββββββββββββββββββ 16.0% | |
| π Daytime 391 commits βββββββββββββββββββββ 44.8% | |
| π Evening 334 commits βββββββββββββββββββββ 38.3% | |
| π Night 8 commits βββββββββββββββββββββ 0.9% |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| func unlimitedBufferer(in <-chan int, out chan<- int) { | |
| var buffer []int |
I hereby claim:
To claim this, I am signing this object:
| <html> | |
| <head><title>MNIST Tester</title></head> | |
| <style> | |
| #number-pad { | |
| padding: 0; | |
| margin: 0; | |
| border-collapse: collapse; | |
| border: 1px solid #000; | |
| } | |
| #number-pad tr { |
| """ | |
| Quick brute-force password finder of an encrypted zip file. | |
| "Life's short, use Python." | |
| by WKBae (https://github.com/WKBae/) | |
| """ | |
| import zipfile | |
| from multiprocessing import Pool |
| import re | |
| duration_re = re.compile(r"^\d{2}:\d{2}:\d{2},\d{3} --> \d{2}:\d{2}:\d{2},\d{3}\n$") | |
| with open('input1.srt', 'r', encoding='utf-8') as one, open('input2.srt', 'r', encoding='utf-8') as two, open('result.srt', 'w', encoding='utf-8') as out: | |
| one_lines = [] | |
| line = one.readline() | |
| while line: | |
| while len(line) == 1: | |
| line = one.readline() |