Skip to content

Instantly share code, notes, and snippets.

View lotem's full-sized avatar

居戎氏 lotem

  • Beijing, China
View GitHub Profile
@d2207197
d2207197 / bopomofo.schema.yaml
Last active August 29, 2015 14:03
squirrel 設定檔 ,改用 dvorak
# Rime schema
# encoding: utf-8
schema:
schema_id: bopomofo
name: 注音
version: "1.6"
author:
- 佛振 <chen.sst@gmail.com>
description: |
@zcunlin
zcunlin / weasel.custom.yaml
Last active December 16, 2015 17:59 — forked from aben/Solarized_Rock.yaml
所有的颜色都来自solarized:http://ethanschoonover.com/solarized
#weasel.custom.yaml
patch:
"preset_color_schemes/Solarized_Lite":
author: "五磅兔 zcunlin@foxmail.com, based on Aben's 曬經石\solarized_Rock, original artwork by ethanschoonover‘s solarized"
back_color: 0xe3f6fd #底色
border_color: 0xd5e8ee #边框色
candidate_text_color: 0x837b65 #候选项颜色
comment_text_color: 0xd28b26 #编码提示颜色
hilited_back_color: 0xd5e8ee #编码底色
hilited_candidate_back_color: 0x98a12a #首选项高亮背景色
@LEOYoon-Tsaw
LEOYoon-Tsaw / cangjie6.schema.yaml
Last active December 17, 2015 11:59
帶拼音和粵拼的【蒼頡檢字法】方案
# Rime schema
# encoding: utf-8
schema:
name: "蒼頡檢字法"
schema_id: cangjie6
author:
- "發明人 朱邦復先生、沈紅蓮女士"
dependencies:
- luna_pinyin
@LEOYoon-Tsaw
LEOYoon-Tsaw / kuankhiunn.dict.yaml
Last active December 17, 2015 12:58
基於Polyhedron、有女同車整理的《廣韻全字表》製作 拼寫方案採用有女同車羅馬字,佛振根據有女同車的修改意見改編 雪齋在此基礎上寫出反算廣韻漢字聲韻調算法 以倉頡五代或拼音輸入均可反查廣韻,正常輸入卽默認爲反查模式 顯示結果爲:「聲母〖介音〗韻母【聲調】」 韻母皆舉平以賅上去入,脣音無開合,分重紐 聲母可選是否區分輕重脣音,聲調可選是否區分陰陽
# Rime dictionary
# encoding: utf-8
#
# kuankhiunn - 廣韻羅馬字
#
# 基於Polyhedron、有女同車整理的《廣韻全字表》製作
# 拼寫方案採用有女同車羅馬字,佛振根據有女同車的修改意見改編
#
---
@richorama
richorama / talk.md
Created February 28, 2014 17:29
Nodejs + LevelDB Talk

Intro into level db

https://code.google.com/p/leveldb/

  • It's a database, it's by google, and is what supports IndexDB in the chrome browser
  • It's also been used to store data in riak
  • It lives in your process (a bit like sqlite)
  • Inspired by Big Table, but designed to work on mobile devices
  • There is great support for leveldb in the node.js
  • Node is a great tool for sticking technologies together
@aben
aben / Solarized_Rock.yaml
Last active July 30, 2017 00:20
Solarized scheme for squirrel
solarized_rock:
name: "曬經石/Solarized Rock"
author: "Aben <tntaben@gmail.com>, based on Ethan Schoonover's Solarized color scheme"
corner_radius: 7 #圓角
border_height: 0
border_width: 0
back_color: 0x362b00 #背景色
candidate_text_color: 0x969483 #候選字顏色
hilited_candidate_back_color: 0x8236d3 #高亮候選字背景色
hilited_candidate_text_color: 0xffffff #高亮候選字顏色
@NemoAlex
NemoAlex / gist:2879405
Created June 6, 2012 02:07
Squirrel 配色方案修改
更新:建议编辑 ~/Library/Rime/squirrel.custom.yaml 文件,而不要在 squirrel.yaml 上做改动
新版本加入了对边距宽高的订制,感谢作者
patch:
us_keyboard_layout: true
style/horizontal: false
style/font_face: "Helvetica Neue"
style/font_point: 21
style/corner_radius: 4
style/border_height: 4
@nameoverflow
nameoverflow / weasel.custom.yaml
Last active October 20, 2019 06:33
小狼毫高仿 Win10 内置输入法
patch:
preset_color_schemes/metro:
back_color: 0xffffff
border_color: 0x444444
hilited_back_color: 0xffffff
hilited_candidate_back_color: 0x444444
hilited_candidate_text_color: 0xffffff
hilited_text_color: 0x000000
name: "metro"
text_color: 0x000000
@ian128K
ian128K / bash_colours
Last active March 8, 2021 18:26
Shell script colours
## Colours and font styles
## Syntax: echo -e "${FOREGROUND_COLOUR}${BACKGROUND_COLOUR}${STYLE}Hello world!${RESET_ALL}"
# Escape sequence and resets
ESC_SEQ="\x1b["
RESET_ALL="${ESC_SEQ}0m"
RESET_BOLD="${ESC_SEQ}21m"
RESET_UL="${ESC_SEQ}24m"
# Foreground colours
@XuQK
XuQK / <SCHEMA_ID>.custom.yaml
Created November 23, 2012 03:18
Rime输入法特殊符号输入。
#只弄了我需要的,自己有需求的可以添加,我还另外改了几个标点符号,便于我自己使用
#建议直接复制进你的custom文档。
#欲使用本文件,你需要把文字候选数设置为7个,当然你也可以改变选择特殊符号的按键。
#作者E-mail:xuqiankun_66@qq.com
# Rime specific symbol settings
# encoding: utf-8无BOM
patch:
"punctuator/half_shape":