Skip to content

Instantly share code, notes, and snippets.

.column {
font-size: 16px !important;
}
@sgur
sgur / corvusskk-egg-like-symbols-map.txt
Last active December 13, 2022 23:49
Corvus SKK のローマ字・かな変換テーブルにEGGライク(SKKFEP同等)な記号入力を追加 (日本語配列用)
a あ ア ア 0
i い イ イ 0
u う ウ ウ 0
e え エ エ 0
o お オ オ 0
ka か カ カ 0
ki き キ キ 0
ku く ク ク 0
ke け ケ ケ 0
ko こ コ コ 0
@sgur
sgur / .ctags
Last active December 11, 2022 12:35
Delphi 用 .ctags
--c-kinds=+p
--c++-kinds=+p
--fields=+liaS
--extra=+q
--jcode=utf8
--langdef=delphi
--langmap=delphi:.pas
--regex-delphi=/(\w+)\s*=\s*\(\s*\w\s*\)/\1/t,Type/
--regex-delphi=/(\w+)\s*=\s*class\s*[^;]*$/\1/c,Class/
--regex-delphi=/^constructor\s+(T[a-zA-Z0-9_]+(<[a-zA-Z0-9_, ]+>)?\.)([a-zA-Z0-9_<>, ]+)(.*)+/\1\3/n,Constructor/
@sgur
sgur / 3.6.15.patch
Last active February 24, 2022 03:32
Patch to python 3.6.15
diff -u Include/objimpl.h patch/Include/objimpl.h
--- Include/objimpl.h 2021-12-24 11:39:58.030881300 +0900
+++ patch/Include/objimpl.h 2021-12-24 11:40:27.780881300 +0900
@@ -255,7 +255,7 @@
union _gc_head *gc_prev;
Py_ssize_t gc_refs;
} gc;
- double dummy; /* force worst-case alignment */
+ long double dummy; /* force worst-case alignment */
} PyGC_Head;
@sgur
sgur / .dircolors.wsl
Last active February 11, 2022 15:21
Dircolors for WSL
# dircolors for WSL
# Usage: eval `dircolors ~/.dircolors.wsl` (bash)
# http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors
TERM Eterm
TERM ansi
TERM color-xterm
TERM con[0-9]*x[0-9]*
TERM cons25
@sgur
sgur / SKK-JISYO.lisp
Last active October 29, 2021 01:29
My own SKK-JISYO.lisp
;; okuri-ari entries.
;; okuri-nasi entries.
;; https://github.com/nathancorvussolis/corvusskk/blob/master/installer/config-sample/skk-strftime.txt
いま /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒")/
#びょうご /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒" "sec" #0)/
#びょうまえ /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒" "sec" -#0)/
#ふんご /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒" "min" #0)/
#ふんまえ /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒" "min" -#0)/
#じかんご /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒" "hour" #0)/
#じかんまえ /(skk-strftime "%Y年%#m月%#d日(%a) %#H時%#M分%#S秒" "hour" -#0)/
@sgur
sgur / .gitattributes
Last active May 12, 2021 17:59
Corvus SKK 設定ファイル
config.xml text eol=crlf
@sgur
sgur / user.js
Last active June 19, 2020 01:02
Firefox の設定 (user.js)
// アクセシビリティ機能は強制的にオフにする
user_pref("accessibility.force_disabled", 1);
// Smooth Scroll のチューニング
user_pref("general.smoothScroll.msdPhysics.enabled",true);
// WebRender を有効化
user_pref("gfx.webrender.all", true)
// 検索エンジンの不要なものを表示しない
@sgur
sgur / HowToUseFishOnMsys2.md
Last active April 10, 2018 12:16
MSYS2で fish を動作するようにするまで

1. msys2 で fish のインストール

pacman -S fish
pacman -S man

2. /usr/etc/fish/config.fish の編集

if status --is-login の条件内に以下のコードを追加 (/etc/profile と同様にパスを設定) する。

@sgur
sgur / .inputrc
Last active April 9, 2018 05:23
Bash on Windows (Trusty) 上で必要な設定ファイル類
# A ~/.inputrc for Humans
# https://www.topbug.net/blog/2017/07/31/inputrc-for-humans/
$include /etc/inputrc
"\C-p":history-search-backward
"\C-n":history-search-forward
set colored-stats On
set completion-ignore-case On