Instantly share code, notes, and snippets.

View luna_pinyin_simp.custom.yaml
# encoding: utf-8
patch:
schema/dependencies/@next: stroke
engine/translators/@next: reverse_lookup_translator
recognizer/patterns/reverse_lookup: "`[a-z]*'?$"
reverse_lookup:
dictionary: stroke
enable_completion: true
prefix: "`"
View stenotype_zhung.txt
https://www.evernote.com/shard/s64/sh/00db69f5-cb6e-44df-ab36-03200d3a35fa/673b24375c29312300e4cb698675afa5
中州話打字速記法
#stenotype
zmBo/ 字母表
b 不 p 普 m 母 f 父 v 無
B 比 P 皮 M 米 F 非 V 未
View luna_pinyin.schema.yaml
# Rime schema: luna_pinyin
# _import: future.schema.yaml
---
# no more need to create the patched file
_patch: 'luna_pinyin.custom.yaml:patch'
_import: luna_pinyin.prototype.yaml # replace the root node
---
View bopomofo_tw.custom.yaml
# Use a custom dictionary.
patch:
translator/dictionary: terra_pinyin.mine
View test-node-marisa-trie.js
var marisa = require('./index.js');
var keyset = marisa.createKeyset();
keyset.push_back("a");
keyset.push_back("app");
keyset.push_back("apple");
var trie = marisa.createTrie();
trie.build(keyset);
View cangjie5.custom.yaml
# vim: set sw=2 sts=2 et:
# 用注音反查倉頡碼
# 註:不支持用空格鍵輸入第一聲
patch:
schema/dependencies:
- bopomofo
reverse_lookup:
dictionary: terra_pinyin
prism: bopomofo
View jyutping.custom.yaml
# encoding: utf-8
# vim: set sw=2 sts=2 et:
#
# 在粵拼中啓用臺灣正體字形
# 修改 reset: 爲 0~2 的值以指定默認字形
patch:
engine/filters:
- simplifier@zh_simp
- simplifier@zh_tw
View middle_chinese_lookup.schema.yaml
# Rime schema
# encoding: utf-8
schema:
schema_id: middle_chinese_lookup
name: 廣韻查詢
version: "2.2"
author:
- Polyhedron
- 雪齋
View test.js
/**
* Modify the parts you need to get it working.
*/
var should = require('should');
var request = require('../node_modules/request');
var io = require('socket.io-client');
var serverUrl = 'http://localhost';
View active.md

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Sat, 22 Dec 2012 23:34:58 GMT till Sun, 22 Dec 2013 23:34:58 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
  .filter((user) -> user.followers > 229)