- Golang SDK
- 下载:
| [ | |
| { "code": "aa", "name": "Afar" }, | |
| { "code": "ab", "name": "Abkhazian" }, | |
| { "code": "ae", "name": "Avestan" }, | |
| { "code": "af", "name": "Afrikaans" }, | |
| { "code": "ak", "name": "Akan" }, | |
| { "code": "am", "name": "Amharic" }, | |
| { "code": "an", "name": "Aragonese" }, | |
| { "code": "ar", "name": "Arabic" }, | |
| { "code": "as", "name": "Assamese" }, |
| [ | |
| { | |
| "code": "aa", | |
| "name": "Afar", | |
| "native": "Afar" | |
| }, | |
| { | |
| "code": "ab", | |
| "name": "Abkhazian", | |
| "native": "Аҧсуа" |
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| server { | |
| listen 80; | |
| server_name domain.com.br; | |
| location / { | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_pass http://127.0.0.1:8181; |
| server { | |
| ## [Default Nginx Configuration] | |
| # .htaccess 8.1 | |
| charset utf-8; | |
| # .htaccess 3. | |
| location = /favicon.ico { log_not_found off; access_log off; } | |
| location = /robots.txt { log_not_found off; access_log off; } | |
| #!/bin/bash | |
| # This script will help you to set Hiawatha Server. | |
| # Tested on Devuan 8 32/64bit. Debian Jessie supported as well. | |
| # Script author ZEROF <zerof at backbox dot org> | |
| # If you like Linux and security join http://backbox.org | |
| # Script version 0.6c | |
| # This script is distributed under a DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE. | |
| # http://www.wtfpl.net/txt/copying/ | |
| clear | |
| function banner () |
| # 中西文切換鍵的默認設置寫在 default.yaml 裏面 | |
| # 以下的 default.custom.yaml 在全局範圍重定義該組快速鍵 | |
| # | |
| # 可用的按鍵有 Caps_Lock, Shift_L, Shift_R, Control_L, control_R | |
| # Mac 系統上的鼠鬚管不能區分左、右,因此只有對 Shift_L, Control_L 的設定起作用 | |
| # | |
| # 已輸入編碼時按切換鍵,可以進一步設定輸入法中西文切換的形式。 | |
| # 可選的臨時切換策略有三: | |
| # inline_ascii 在輸入法的臨時西文編輯區內輸入字母、數字、符號、空格等,回車上屏後自動復位到中文 | |
| # commit_text 已輸入的候選文字上屏並切換至西文輸入模式 |
| # default.custom.yaml | |
| # 全局範圍識別輸入串爲 rime + 任意數字序列,以及形如 rimeime-1.2.3 的常用西文短語 | |
| # 也可將本組 patch 寫入 <輸入方案ID>.custom.yaml 使這組規則僅在一款輸入方案中有效 | |
| # | |
| # 第一例,輸入 rime 之後,再輸入任意一個數字,則立即識別爲西文輸入 | |
| # 再加上 default.yaml 原有的 email 規則,識別包含 @ 字符的郵箱,於是可以一氣呵成 [email protected] | |
| # 第二例,輸入到 rimeime 時,立即識別爲西文輸入,並可跟隨任意位數字及指定的符號 | |
| patch: | |
| recognizer/patterns/rime123: "^rime[0-9]+$" |
| # 將反查詞典改爲粵拼。 | |
| # 注意【速成】支持全碼、簡碼混合輸入,反查出來的實爲倉頡全碼。 | |
| patch: | |
| reverse_lookup/dictionary: jyutping | |
| reverse_lookup/tips: 〔粵拼〕 | |
| reverse_lookup/preedit_format: [] |