Skip to content

Instantly share code, notes, and snippets.

View tkusano's full-sized avatar

Takayuki KUSANO tkusano

View GitHub Profile
@tkusano
tkusano / golddisc.md
Last active March 12, 2025 16:18
日本ゴールドディスク大賞 アニメーション・アルバム・オブ・ザ・イヤー の歴史

第1回 日本ゴールドディスク大賞

1986年1月21日~1987年1月20日

https://www.golddisc.jp/award/01/

邦楽部門

ベスト・アルバム・オブ・ザ・イヤー (アニメ部門)

@tkusano
tkusano / update-messages-po.py
Last active November 2, 2024 15:02
update messages.po for bluesky-social/social-app
#! /usr/bin/env python3
from pathlib import Path
import re
import sys
RE_MSG = re.compile("(\\#\\~ )?(msgctxt|msgid) \"(.*)\"")
def extract_idx(block: str) -> tuple[bool, str]:
@tkusano
tkusano / remake-anime.tsv
Last active July 4, 2024 15:19
リメイクTVアニメとオリジナル作品の一覧
放送年 タイトル オリジナル放送年 オリジナルタイトル 備考
1963 鉄腕アトム ---- ---- ----
1963 鉄人28号 ---- ---- ----
1965 オバケのQ太郎 ---- ---- ----
1966 おそ松くん ---- ---- ----
1966 ロボタン ---- ---- ----
1968 怪物くん ----- ---- ----
1968 妖怪人間ベム ----- ---- ----
1968 巨人の星 ---- ---- ----
1969 どろろ ---- ---- ----
@tkusano
tkusano / url-test-case.md
Created March 7, 2024 07:06
URL with non US-ASCII and percent-encoded URLs test cases for Bluesky
--- src/locale/locales/ja/messages.po 2023-12-14 22:23:18.941911910 +0900
+++ messages.po.new 2023-12-15 00:07:35.060946295 +0900
@@ -15,7 +15,7 @@
#: src/view/shell/desktop/RightNav.tsx:160
msgid "{0, plural, one {# invite code available} other {# invite codes available}}"
-msgstr ""
+msgstr "{0, plural, other {# 個の招待コードが利用可能}}"
#: src/view/com/modals/Repost.tsx:44
--- messages.po.orig 2023-12-14 11:27:05.419249133 +0900
+++ messages.po 2023-12-14 21:07:39.292591801 +0900
@@ -27,7 +27,7 @@
#: src/view/shell/desktop/RightNav.tsx:143
msgid "{invitesAvailable, plural, one {Invite codes: # available} other {Invite codes: # available}}"
-msgstr ""
+msgstr "{invitesAvailable, plural, other {招待コード: # 個利用可能}}"
#: src/view/screens/Settings.tsx:407
@tkusano
tkusano / message.po
Created December 14, 2023 08:18
src/locale/locales/ja/message.po for bluesky/social-app
msgid ""
msgstr ""
"POT-Creation-Date: 2023-11-22 17:10-0800\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: @lingui/cli\n"
"Language: jp\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"

Keybase proof

I hereby claim:

  • I am tkusano on github.
  • I am tkusano (https://keybase.io/tkusano) on keybase.
  • I have a public key ASC_kjg3OiBuWCwKlWizMnhv6RwFZm_LbW4kBtYcfNxhfQo

To claim this, I am signing this object:

@tkusano
tkusano / Coco_Hayashi_recordings.sparql
Last active May 21, 2022 04:42
林鼓子がレコーディングした曲の一覧
PREFIX arl: <https://arl.jp/data/>
PREFIX arlc: <https://arl.jp/class/>
PREFIX arlp: <https://arl.jp/prop/>
PREFIX schema: <https://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?relDate ?relGName ?rec ?recNameS WHERE {
?relGroup rdfs:label ?relGroupName ;
arlp:date ?relGroupDate ;
@tkusano
tkusano / group-by-cv.py
Last active August 7, 2020 04:15
ディズニー ツイステッドワンダーランドのキャスト(声優)
#! /usr/bin/python3
import pprint
def group_by_cv(f):
cv = dict()
role = ''
for line in f.readlines():
line = line.strip()
if len(line) == 0: