Skip to content

Instantly share code, notes, and snippets.

View 00001H's full-sized avatar

00001H 00001H

  • 10:31 (UTC +08:00)
View GitHub Profile
@00001H
00001H / ucsur.py
Created January 1, 2025 13:46
Type in toki pona and it copies the UCSUR to your clipboard
import pyperclip
dic = [
("A","\U000F1900"),
("AKESI","\U000F1901"),
("ALA","\U000F1902"),
("ALASA","\U000F1903"),
("ALE","\U000F1904"),
("ANPA","\U000F1905"),
("ANTE","\U000F1906"),
("ANU","\U000F1907"),
@00001H
00001H / iwksolve.py
Last active January 7, 2024 05:39
Automatic IWL Solver
import operator,copy
from abc import abstractmethod,ABCMeta
colors = dict(
RED = "red",
BLUE = "blue",
GREEN = "green",
ORANGE = "orange",
WHITE = "white",
CYAN = "cyan",
BROWN = "brown",
@00001H
00001H / cppp.hpp
Last active September 18, 2023 13:33
A lightweight C++ enhancement library
#ifndef SCP_CPPP
#define SCP_CPPP
#include<unordered_map>
#include<unordered_set>
#include<string_view>
#include<type_traits>
#include<functional>
#include<filesystem>
#include<exception>
#include<optional>