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
@ian128K
ian128K / bash_colours
Last active Jun 17, 2019
Shell script colours
View bash_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 Nov 23, 2012
Rime输入法特殊符号输入。
View <SCHEMA_ID>.custom.yaml
#只弄了我需要的,自己有需求的可以添加,我还另外改了几个标点符号,便于我自己使用
#建议直接复制进你的custom文档。
#欲使用本文件,你需要把文字候选数设置为7个,当然你也可以改变选择特殊符号的按键。
#作者E-mail:xuqiankun_66@qq.com
# Rime specific symbol settings
# encoding: utf-8无BOM
patch:
"punctuator/half_shape":
@gkzhong
gkzhong / README
Created Aug 25, 2012
在Rime五筆輸入方案中添加繁體輸出
View README
一,安裝簡體->繁體映射碼表:(該項目由opencc維護:http://code.google.com/p/opencc)
文件1:http://code.google.com/p/rimeime/source/browse/trunk/misc/opencc/data/simp_to_trad_characters.ocd
文件2:http://code.google.com/p/rimeime/source/browse/trunk/misc/opencc/data/simp_to_trad_phrases.ocd
安裝位置:共享資料目錄
如:/Library/Input Methods/Squirrel.app/Contents/SharedSupport/opencc
二,添加opencc簡繁配置文件:
詳見:zhs2zht.ini
安裝位置:共享資料目錄
如:/Library/Input Methods/Squirrel.app/Contents/SharedSupport/opencc
@piscisaureus
piscisaureus / pr.md
Created Aug 13, 2012
Checkout github pull requests locally
View pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@staltz
staltz / introrx.md
Last active Oct 18, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
You can’t perform that action at this time.