Skip to content

Instantly share code, notes, and snippets.

@nathanielbd
nathanielbd / squirdle.js
Created March 5, 2022 02:28
Script to cheat in Squirdle
// input into the console
document.getElementById("guess").value = getCookie("secret_poke", document.cookie)
document.getElementsByClassName("guess_input")[1].click()
@nathanielbd
nathanielbd / double_add.py
Created March 21, 2023 10:57
Manim animation of the double-and-add algorithm for elliptic curve point multiplication
#!/usr/bin/env python
from manim import *
# usage: python3 -m manim double_add.py DoubleAdd -p
class DoubleAdd(Scene):
def construct(self):
n_bin = Text("n = 101010")
self.play(Write(n_bin))