Skip to content

Instantly share code, notes, and snippets.

View Divide-By-0's full-sized avatar
💭
Working on zk email and open education. Reach out!

Yush G Divide-By-0

💭
Working on zk email and open education. Reach out!
View GitHub Profile
import PromiseQueue from 'https://cdn.skypack.dev/p-queue';
import Serde from 'https://cdn.skypack.dev/@darkforest_eth/serde';
import { CONTRACT_PRECISION } from 'https://cdn.skypack.dev/@darkforest_eth/constants';
let moveSnarkQueue;
if (window.moveSnarkQueue === undefined) {
moveSnarkQueue = new PromiseQueue({ concurrency: 1 });
moveSnarkQueue.on('add', () => {
console.log('Adding to task to the MoveSnark Queue. Size:', moveSnarkQueue.size);
});
@Divide-By-0
Divide-By-0 / run_deepsaber.md
Last active April 2, 2022 20:58
Running DeepSaber on any Youtube Link
@Divide-By-0
Divide-By-0 / AutoWB.js
Last active July 23, 2023 22:32 — forked from ATRescue/AutoWB.js
UserScript to automatically save visited pages into the Wayback Machine, with a 50ms delay between each to avoid ratelimit.
/* This Userscript helps you preserving websites by automatically saving pages you visit, including their linked subpages and other linked URLs, into Internet Archive's Wayback Machine.
Run this UserScript using the following tools:
Desktop browsers:
* GreaseMonkey for Mozilla Firefox: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
* TamperMonkey for Google Chrome: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
* TamperMonkey for Chromium-Opera Browser: https://addons.opera.com/en/extensions/details/tampermonkey-beta/
Android browsers:
* https://addons.mozilla.org/en-US/android/addon/greasemonkey/versions/
* https://openuserjs.org/about/Tampermonkey-for-Android/
* https://play.google.com/store/apps/details?id=net.biniok.tampermonkey
@Divide-By-0
Divide-By-0 / nocturne-v1_attestation.log
Created October 29, 2023 22:11
Attestation for nocturne-v1 MPC Phase 2 Trusted Setup ceremony
Hey, I'm Divide-By-0-4804438 and I have contributed to the nocturne-v1 MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (canonaddrsigcheck)
Contributor # 34
Contribution Hash: 276a6174 7c3623dc 8078178e 90d9d285
5436f0ba 58c19896 56a7cf75 43b83783
d22d254d bdf784ad 38c3ebac c42e2854
7fd79bdd ba783db7 64c6b521 8d74d99d
@Divide-By-0
Divide-By-0 / keybase.md
Created October 30, 2023 22:01
Keybase Proof

Keybase proof

I hereby claim:

  • I am divide-by-0 on github.
  • I am yush_g (https://keybase.io/yush_g) on keybase.
  • I have a public key ASA0Dqq8rq4Lu3TGLhNr91oFy4AmjaROmpUkUrIfm-KnSQo

To claim this, I am signing this object:

@Divide-By-0
Divide-By-0 / vii.prove.email
Last active November 6, 2023 15:52
vii.prove.email
Welcome brave explorer. Your task here is as simple or hard as you can make it. The https://emailwallet.org relayer holds the secret word, and can be activated to reveal it in two ways.
1) Send a special TEST transfer to the relayer -- the amount is hidden on this page.
2) The relayer only supports certain mailserver domains. Break the mailserver by using an unsupported domain, and it will reward you in turn.
[Hint](0x638E55F942cBD6f8cb715e9C6a9d747c6F852196).
@Divide-By-0
Divide-By-0 / rsa-sha256.cpp
Created July 19, 2024 14:23
RSA-SHA256 in C++ Example for Ligetron
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <openssl/rand.h>
#include "sha256.hpp"
#include <string>
#include <iostream>
#include <cstring>
#include <vector>
#include <random>
@Divide-By-0
Divide-By-0 / emailapprover_attestation.log
Created July 24, 2024 17:53
Attestation for EmailApprover MPC Phase 2 Trusted Setup ceremony
Hey, I'm Divide-By-0-4804438 and I have contributed to the EmailApprover MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (emailapprover)
Contributor # 26
Contribution Hash: d8c149d3 fe817c41 26625b0b 4fb74910
c0a28664 6489928e b3a0b03a fcf62ada
2b09043a 26bd9270 8c7495dd d0368a35
72b158bb cc2a7f04 715b88f8 a69f36e7
@Divide-By-0
Divide-By-0 / getcommits.py
Created November 3, 2024 22:22
List All Github Organization Commit Messages from Last N Days Script
import requests
from datetime import datetime, timedelta
import os
from dotenv import load_dotenv
import time
# GitHub API configuration
GITHUB_API_URL = "https://api.github.com"
ORG_NAME = "zkemail" # Replace with your organization name
LAST_N_DAYS = 30
@Divide-By-0
Divide-By-0 / privacy-pools-ceremony_attestation.log
Created February 26, 2025 05:04
Attestation for Privacy Pools Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm Divide-By-0-4804438 and I have contributed to the Privacy Pools Ceremony.
The following are my contribution signatures:
Circuit # 1 (withdraw)
Contributor # 365
Contribution Hash: f1e9c751 4f61eb45 e0ac9a4e 74ce2eec
49e5c149 5acbe38b 8eb83fd2 e2d26df1
5cdaa479 be676dc4 ed6ca779 d925491f
ec24147c 9c44ae44 1622404c fd4fecb1