Skip to content

Instantly share code, notes, and snippets.

View bhaprayan's full-sized avatar
🎯
Human Learning

Shuby Deshpande bhaprayan

🎯
Human Learning
View GitHub Profile
@bhaprayan
bhaprayan / deriv.py
Last active June 8, 2020 16:17
computing derivatives
"""
function call example:
ret = deriv(dz17, z15, z16, "+")
dz15 += ret[0]
dz16 += ret[1]
"""
def sigdx(x):
return x * (1 - x)
@bhaprayan
bhaprayan / scramble.py
Created January 16, 2020 05:14
generate scrambled email as input to Jeff Donahue's script
"""
created this as a helper script to generate a scrambled email address using Jeff Donahue's script.
later realized it's simpler to run one iteration of the script, and use that to bootstrap the actual input. oh well :/
"""
import random
email = "Enter Email here"
y = list(range(len(email)))
x = email

Keybase proof

I hereby claim:

  • I am bhaprayan on github.
  • I am bhaprayan (https://keybase.io/bhaprayan) on keybase.
  • I have a public key whose fingerprint is C645 14DB 265F B748 56D6 2BFA 211C C7AC A673 0FCB

To claim this, I am signing this object: