Skip to content

Instantly share code, notes, and snippets.

View inaniwaudon's full-sized avatar

いなにわうどん inaniwaudon

View GitHub Profile
from graphviz import Digraph
# editable
transitions = [
[0, "e", 1],
[1, "a", 2],
[1, "b", 3],
[2, "e", 4],
[3, "e", 4],
[4, "e", 1],

Keybase proof

I hereby claim:

  • I am inaniwaudon on github.
  • I am inaniwaudon (https://keybase.io/inaniwaudon) on keybase.
  • I have a public key ASC52qccD2Bg2mHeHAqrEy4TMkhqiUdymvjv--DYHIpIWgo

To claim this, I am signing this object:

@inaniwaudon
inaniwaudon / bozaro-couple.ts
Last active January 30, 2023 14:04
ぼ虹 ぼ喜多 星ぼ
const characters = [
"ふたり",
"廣",
"PA",
"星",
"ぼ",
"リョウ",
"虹",
"喜多",
"ヨヨ",
import hashlib
import sys
answer = sys.argv[1]
with open("./myouji.txt") as fp:
myouji = [x.replace("\n", "") for x in fp.readlines()]
with open("./name.txt") as fp:
names = [x.replace("\n", "") for x in fp.readlines()]
from PIL import Image, ImageDraw, ImageFont
import argparse
import numpy as np
list = "筑波大学情報学群情報メディア創成学類つくばだいがくじょうほうめでぃあそうせいがくるい"
parser = argparse.ArgumentParser()
parser.add_argument("src")
parser.add_argument("-f", "--font", default="FOT-SeuratPro-DB.otf")
args = parser.parse_args()
@inaniwaudon
inaniwaudon / CffOperator.cs
Last active January 26, 2022 15:01
cff-subsetter
using System;
public class CffOperator
{
private CffTable _table;
public CffOperator(CFFTable table)
{
_table = table;
}