Skip to content

Instantly share code, notes, and snippets.

弓辰 lotem

Block or report user

Report or block lotem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lotem
lotem / cangjie5.custom.yaml
Last active Dec 19, 2015
自家用的倉頡定製檔
View cangjie5.custom.yaml
patch:
engine/translators:
- punct_translator
- table_translator@custom_phrase
- reverse_lookup_translator
- table_translator
custom_phrase:
dictionary: ""
user_dict: custom_phrase
db_class: stabledb
View fuzzy_cangjie5.schema.yaml
# Rime schema settings
# encoding: utf-8
schema:
schema_id: fuzzy_cangjie5
name: 倉頡〔通配符〕
version: "0.1"
author:
- 發明人 朱邦復先生
- 雪齋加入通配符
@lotem
lotem / cangjie_quick.schema.yaml
Created Jun 10, 2013
倉頡碼打單字,倉頡碼、速成碼混打詞句。 演示 fuzz 拼寫運算與 translator/strict_spelling: 選項。
View cangjie_quick.schema.yaml
# Rime schema settings
# encoding: utf-8
schema:
schema_id: cangjie_quick
name: 倉頡+速成
version: "0.1"
author:
- 佛振 <chen.sst@gmail.com>
description: |
@lotem
lotem / rime_deployer
Created Apr 26, 2013
使用 Squirrel 自帶的命令行工具 rime_dict_manager 和 rime_deployer
View rime_deployer
#!/bin/bash
#
# put this script in ~/Library/Rime, then deploy Rime for Squirrel:
# ./rime_deployer --build . "/Library/Input Methods/Squirrel.app/SharedSupport/"
# see other supported options:
# ./rime_deployer
DYLD_LIBRARY_PATH="/Library/Input Methods/Squirrel.app/Contents/Frameworks" "/Library/Input Methods/Squirrel.app/Contents/MacOS/rime_deployer" $@
@lotem
lotem / luna_pinyin.custom.yaml
Last active Jan 24, 2019
導入碼表示例
View luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml
# 修改字典名爲 luna_pinyin.kunki
# 其對應的用戶詞典名取句點之前部分即 luna_pinyin
patch:
translator/dictionary: luna_pinyin.kunki
@lotem
lotem / custom_phrase.txt
Last active Jul 3, 2019
Rime 自定義短語文件樣例
View custom_phrase.txt
# Rime table
# coding: utf-8
#@/db_name custom_phrase.txt
#@/db_type tabledb
#
# 用於【朙月拼音】系列輸入方案
# 【小狼毫】0.9.21 以上
#
# 請將該文件以UTF-8編碼保存爲
# Rime用戶文件夾/custom_phrase.txt
@lotem
lotem / cangjie_pinyin.dict.yaml
Created Jan 10, 2013
【倉頡拼音】輸入方案 以拼寫運算實現輔助碼的示例
View cangjie_pinyin.dict.yaml
This file has been truncated, but you can view the full file.
# Rime dictionary
# encoding: utf-8
---
name: cangjie_pinyin
version: "1.0"
sort: by_weight
use_preset_vocabulary: true
max_phrase_length: 5
@lotem
lotem / gist:4483504
Last active Oct 31, 2018 — forked from anonymous/gist:4483496
用移動硬盤同步RIME用戶詞典的樣例
View gist:4483504
# 用移動硬盤同步RIME用戶詞典的樣例
# 用於同步的分區名爲share(盤符H:),同步文件夾是 home/rimesync,Linux 用戶名爲 lotem
# 每套輸入法分別在 installation.yaml 裏設 sync_dir 和 installation_id
# 接上硬盤,Windows 和 Mac 一鍵完成同步。Linux 用 rime_dict_manager -s 同步。
➜ ~ for x in /media/share/home/rimesync/*/installation.yaml ~/.config/ibus/rime/installation.yaml; do echo $x; echo '---'; cat $x; echo '...'; done
/media/share/home/rimesync/lotem-macbook/installation.yaml
---
distribution_code_name: Squirrel
distribution_name: "鼠须管"
@lotem
lotem / user.conf
Created Nov 6, 2012
百度输入法配置文件——自定义双拼方案
View user.conf
ShuangPin :
{
ZiRanMa :
{
YinJie :
{
a="oa";
ai="ol";
an="oj";
ang="oh";
@lotem
lotem / kuankhiunn.dict.yaml
Created Oct 25, 2012
〔Rime 輸入方案〕有女同車廣韻羅馬字
View kuankhiunn.dict.yaml
# Rime dictionary
# vim: set ts=8 sw=8 noet:
# encoding: utf-8
#
# kuankhiunn - 廣韻羅馬字
#
# 基於Polyhedron、有女同車整理的《廣韻全字表》製作
# 拼寫方案採用有女同車羅馬字,佛振根據有女同車的修改意見改編
#
You can’t perform that action at this time.