Skip to content

Instantly share code, notes, and snippets.

View 3110's full-sized avatar
🏠
Working from home

SAITO, Tetsuya 3110

🏠
Working from home
View GitHub Profile
@3110
3110 / macskk_hiragana_mode_on_powerpoint_for_macos.json
Last active October 27, 2024 17:39
PowerPoint for macOS上でmacSKKを使うときにひらがなモード(Ctrl-j) を有効にするKarabinar-Elements設定
{
"description": "PowerPoint for macOS上でmacSKKを使うときにひらがなモード(Ctrl-j)を有効にする",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.Powerpoint"
],
"type": "frontmost_application_if"
@3110
3110 / main.cpp
Last active January 1, 2025 08:42
EchoBaseのサンプルRecordPlay.inoをPlatformIO IDE 向け M5Stack 定型コード環境で動かす
// PlatformIO IDE 向け M5Stack 定型コード環境
// https://github.com/3110/m5stack-platformio-boilerplate-code
// clang-format off
#include "main.hpp"
// clang-format on
#include <M5EchoBase.h>
#define RECORD_DURATION_SEC 3
@3110
3110 / SKK-JISYO.marusuuji
Last active March 2, 2025 14:09
SKK用丸数字辞書
;; -*- mode: fundamental; coding: utf-8 -*-
;;
;; 丸数字用辞書
;;
;; okuri-ari entries.
;; okuri-nasi entries.
まるすうじ /①/②/③/④/⑤/⑥/⑦/⑧/⑨/⑩/⑪/⑫/⑬/⑭/⑮/⑯/⑰/⑱/⑲/⑳/㉑/㉒/㉓/㉔/㉕/㉖/㉗/㉘/㉙/㉚/㉛/㉜/㉝/㉞/㉟/㊱/㊲/㊳/㊴/㊵/㊶/㊷/㊸/㊹/㊺/㊻/㊼/㊽/㊾/㊿/
1 /①/
2 /②/
3 /③/
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# generate_skk_maru_dict.py - SKK用丸数字辞書生成スクリプト
import sys
import argparse
# 丸数字のUnicode文字コードから生成(1~50)
# ①~⑳ (U+2460~U+2473)、㉑~㉟ (U+3251~U+325F)、㊱~㊿ (U+32B1~U+32BF)
CIRCLED_NUMS = ''.join([