Skip to content

Instantly share code, notes, and snippets.

@josh-hernandez-exe
josh-hernandez-exe / dropmix_mix_count.py
Last active April 10, 2018 06:04
Count the number of musically distinct mixes that can be generated in Dropmix without considering tempo or key.
import collections
import functools
import itertools
import operator
"""
Constants that will change over the life of the game
The current values are based off the following google sheet as of 2018/04/08 19:40 UTC
DropMix Card Checklist (Public)
https://docs.google.com/spreadsheets/d/13TjEBCW5Wv4xJgGVXGV7PfVNAuc3D07ADE-694NH1Ig/edit?usp=sharing
@josh-hernandez-exe
josh-hernandez-exe / secp256k1-make-public-keys.md
Last active August 31, 2023 13:24
`secp256k1` specified key generation in different languages

Making secp256k1 public keys with a given private key in different languages and different libraries

Using Bouncy Castle in C#

using System;
using System.Collections;
using System.Linq;
using System.Text;

using Org.BouncyCastle.Asn1.Sec;