I hereby claim:
- I am animesh-chouhan on github.
- I am animeshchouhan (https://keybase.io/animeshchouhan) on keybase.
- I have a public key whose fingerprint is D507 1587 041D F3B8 EE2E 7F6B 4ABC C33B B666 FA24
To claim this, I am signing this object:
const N = Math.sqrt(document.querySelector("#queens-grid").children.length) | |
// Parse the grid into 2D color array | |
var arr = Array.from(Array(N), () => new Array(N)); | |
for (let i = 0; i < N; i++) { | |
for (let j = 0; j < N; j++) { | |
arr[i][j] = parseInt(document.querySelector("#queens-grid").children[i * N + j].classList[1].split("-")[2]) | |
} | |
} |
import re, wget, requests | |
from concurrent.futures import ThreadPoolExecutor | |
r = requests.get("https://arpitbhayani.me/papershelf") | |
ids = re.findall(r"/d/(.*)/view", r.text) | |
urls = [f"https://drive.usercontent.google.com/u/0/uc?id={id}&export=download" for id in ids] | |
with ThreadPoolExecutor() as executor: | |
executor.map(wget.download, urls) |
I hereby claim:
To claim this, I am signing this object: