I hereby claim:
- I am crimson-crow on github.
- I am crimsoncrow (https://keybase.io/crimsoncrow) on keybase.
- I have a public key ASA6HW9l8RFLFTciCMonDPPXRpU3HzjzkR2C4qwesw0XsAo
To claim this, I am signing this object:
| # /// script | |
| # dependencies = [ | |
| # "requests", | |
| # ] | |
| # /// | |
| import requests | |
| from typing import Any | |
| url = "https://api.avakot.org/v1/gql" |
| # /// script | |
| # dependencies = [ | |
| # "numpy", | |
| # ] | |
| # /// | |
| import io | |
| import json | |
| import timeit | |
| from base64 import b64decode, b64encode |
| from collections import deque | |
| from collections.abc import Iterable, Iterator | |
| from typing import Optional, TypeVar, List | |
| T = TypeVar('T') | |
| class SlidingWindow: | |
| def __init__(self, window_size: int, stride: int = 1): | |
| if stride <= 0: |
| import com.google.common.reflect.TypeToken; | |
| import ninja.leaping.configurate.loader.ConfigurationLoader; | |
| import ninja.leaping.configurate.objectmapping.ObjectMappingException; | |
| import java.io.IOException; | |
| import java.util.function.Supplier; | |
| public final class ConfigurationUtils { | |
| public static <T> T loadConfig(ConfigurationLoader loader, TypeToken<T> type) throws IOException, ObjectMappingException { | |
| return loader.load().getValue(type, (Supplier<T>) () -> { |
I hereby claim:
To claim this, I am signing this object: