Skip to content

Instantly share code, notes, and snippets.

@ShikiOkasaka
ShikiOkasaka / ibus-anthy.patch
Created November 5, 2013 18:33
A sketchy patch for ibus-anthy for just using the ordinary left and right shift keys as the left and right thumb shift keys. cf. https://github.com/fujiwarat/ibus-anthy
diff --git Makefile.am Makefile.am
index 54dab96..858b6b6 100644
--- Makefile.am
+++ Makefile.am
@@ -35,6 +35,7 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
autogen.sh \
ibus-anthy.spec.in \
+ ibus-anthy.spec \
python-config.py \
@ShikiOkasaka
ShikiOkasaka / gist:4493fd5dae5dd1a45142f40d7271ecfc
Created August 28, 2016 04:30
Patch for KeyboardJP.c for using '゜' to input "ぁぃぅぇぉ".
case KEY_HANDAKU:
if (last[0] == KEY_H) {
if (count <= 5) {
report[count++] = KEY_BACKSPACE;
report[count++] = KEY_P;
report[count++] = last[1];
}
} else if (memchr(vowelSet + 1, last[0], 5)) {
// Convert {あ゜|い゜|う゜|え゜|お゜} to {ぁ|ぃ|ぅ|ぇ|ぉ}
if (count <= 5) {
@ShikiOkasaka
ShikiOkasaka / ansi-x6004.html
Last active December 18, 2016 03:33
ANSI/新JIS配列 #JIS配列改
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<link rel='license' href='http://creativecommons.org/publicdomain/zero/1.0/'>
<title>ANSI/新JIS 配列</title>
<style>
body {
margin: 4px;
font-family: sans-serif;
@ShikiOkasaka
ShikiOkasaka / new-stickney.html
Last active December 19, 2016 22:41
ANSI/New Stickney 配列。(まだ評価中のもの)
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<link rel='license' href='http://creativecommons.org/publicdomain/zero/1.0/'>
<title>ANSI/New Stickney 6 配列(案)</title>
<style>
body {
margin: 4px;
font-family: sans-serif;
@ShikiOkasaka
ShikiOkasaka / new-stickney7.html
Created January 3, 2017 09:58
ANSI/New Stickney 7 配列(案)
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<link rel='license' href='http://creativecommons.org/publicdomain/zero/1.0/'>
<title>ANSI/New Stickney 7 配列(案)</title>
<style>
body {
margin: 4px;
font-family: sans-serif;
KanaK KanaK 4 後置型かな漢字変換
a あ ア ア 0 訓令式
i い イ イ 0
u う ウ ウ 0
e え エ エ 0
o お オ オ 0
ka か カ カ 0
ki き キ キ 0
ku く ク ク 0
ke け ケ ケ 0
;;;
;;; Copyright (c) 2003-2013 uim Project http://code.google.com/p/uim/
;;;
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;; 1. Redistributions of source code must retain the above copyright
;;; notice, this list of conditions and the following disclaimer.
This file has been truncated, but you can view the full file.
あ /亜/吾/唖/娃/阿/
あ― /会/合/在/明/有/空/編/逢/遭/開/飽/
ああ /嗚呼/
あい /哀/姶/娃/愛/挨/曖/相/藍/隘/
あい― /愛/
あいいれな― /相容れな/
あいお /秋穂/
あいおい /相生/
あいか /哀歌/
あいかぎ /合鍵/
@ShikiOkasaka
ShikiOkasaka / katuyou.dic
Created April 1, 2017 08:43
梅棹式表記法で漢字に変換することが許容される動詞の候補(mazegaki.dicより)
あ― /会/合/在/明/有/空/編/逢/遭/開/飽/
い― /云/入/往/忌/煎/良/要/言/謂/
う― /伐/売/得/憂/打/撃/浮/生/産/膿/討/
え― /得/獲/笑/選/
お― /圧/居/折/押/推/於/織/置/負/追/逐/
か― /刈/勝/化/噛/掻/描/書/欠/狩/科/穫/苅/買/貸/飼/駆/
が― /賀/
き― /伐/切/利/効/斬/聞/聴/訊/
ぎ― /切/
く― /喰/汲/組/繰/酌/食/
@ShikiOkasaka
ShikiOkasaka / dousi.mdic
Last active April 9, 2017 16:34
梅棹式表記用のまぜがき辞書(restrained.dic)です。(https://github.com/uim/uim-doc-ja/wiki/UimTutcode 用) ‐ 参考: 『日本語と事務革命』 梅棹式表記法のための日本語入力システムをかんがえる, http://shiki.esrille.com/2017/04/blog-post.html
あ― /会/合/在/明/有/空/編/遭/開/
い― /入/忌/煎/要/言/射/行/鋳/
う― /売/得/打/撃/浮/生/産/討/
え― /得/獲/笑/
お― /折/押/推/織/置/負/追/
か― /刈/勝/嗅/描/書/欠/狩/買/貸/飼/交/
き― /切/利/効/斬/着/聞/聴/
く― /組/繰/酌/食/
け― /消/蹴/
こ― /乞/凝/恋/混/請/超/越/込/