2022年12月31日 星期六

fcitx5 rime 耶魯粵語拼音

輸入法設定檔案

$ vi ~/.local/share/fcitx5/rime/default.custom.yaml

patch:
  schema_list:
    - schema: yale    # 耶魯粵語拼音
    - schema: luna_pinyin_tw       # 朙月拼音 臺灣正體模式

字音檔

# cp yale.schema.yaml /usr/share/rime-data/

2022年7月11日 星期一

apt-get update NO_PUBKEY


1.
--allow-unauthenticated



2.
deb [trusted=yes] http://www.deb-multimedia.org jessie main




Reference:

https://ubuntuqa.com/zh-tw/article/11390.html

2022年7月10日 星期日

Change default terminal in Qtile

The default configuration includes the shortcut Super+Enter to open a new terminal (selected from a hardcoded list)


test_terminals += [
"roxterm",
"sakura",
"hyper",
"alacritty",
"terminator",
"termite",
"gnome-terminal",
"konsole",
"xfce4-terminal",
"lxterminal",
"mate-terminal",
"kitty",
"yakuake",
"tilda",
"guake",
"eterm",
"st",
"urxvt",
"xterm",
"x-terminal-emulator",
]

$ sudo update-alternatives --config x-terminal-emulator
$ sudo mv /usr/bin/xterm /usr/bin/xterm.bak

2019年5月5日 星期日

SenML Labels

     +---------------+-------+------------+------------+------------+
     |          Name | Label | CBOR Label | JSON Type  | XML Type   |
     +---------------+-------+------------+------------+------------+
     |     Base Name | bn    |         -2 | String     | string     |
     |     Base Time | bt    |         -3 | Number     | double     |
     |     Base Unit | bu    |         -4 | String     | string     |
     |    Base Value | bv    |         -5 | Number     | double     |
     |      Base Sum | bs    |         -6 | Number     | double     |
     |  Base Version | bver  |         -1 | Number     | int        |
     |          Name | n     |          0 | String     | string     |
     |          Unit | u     |          1 | String     | string     |
     |         Value | v     |          2 | Number     | double     |
     |  String Value | vs    |          3 | String     | string     |
     | Boolean Value | vb    |          4 | Boolean    | boolean    |
     |    Data Value | vd    |          8 | String (*) | string (*) |
     |           Sum | s     |          5 | Number     | double     |
     |          Time | t     |          6 | Number     | double     |
     |   Update Time | ut    |          7 | Number     | double     |
     +---------------+-------+------------+------------+------------+




References :
rfc8428 (2018)

draft-jennings-senml-10 (2012)