框選起來後,按下
Ctrl + /
ps.解除的方式就重複一次上述指令
這是我的工作酸甜苦辣,與大家分享,希望彼此都有收穫:) This is my working experience in my life. It is good to share with you :)
Monday, May 25, 2015
Wednesday, May 13, 2015
vim 指令大全
一般模式
編輯模式
指令模式
- 上: k, 下: j, 左: h, 右: l
- 復原(回到上一步動作): u
- 重做(執行下一步動作): ctrl + r
- 進入編輯模式: a, i, o
- 剪下整行: dd
- 貼上整行: yy
- 剪下一個字: x
- 跳到行首: ^
- 跳到行尾: $
- 跳到第一行: gg
- 跳到最後一行: shift + g
- 查看檔案路徑: :f
- 更新目前檔案: :e
- 開出水平新視窗: :vs [檔名]
- 設定看見(不見)行數: :set nu (:set nonu)
- 設定對期: :set ai (:set noai)
- 暫時離開: :!
- 觀看terminal下的指令: :! [指令] e.g., :! grep -nr myBook *
- 再多視窗之間轉跳: ctrl + w 在按w
- 把現在這行指標之後的文字消除並進入編輯模式: ctrl + c
編輯模式
- 1...
指令模式
- 2...
Sunday, May 10, 2015
Git command sets
This summary is not available. Please
click here to view the post.
Monday, May 4, 2015
Slot time & SIFS for IEEE 802.11 a/b/g/n/ac
802.11a @ 5 GHz
slot time = 9 us, SIFS = 16 us
802.11b @ 2.4 GHz
slot time = 20 us, SIFS = 10 us
802.11g @ 2.4 GHz
slot time = 9 us, SIFS = 10 us
802.11n
@ 2.4 GHz
slot time = 9 us(short) or 20 us(long), SIFS = 10 us
@ 5 GHz
slot time = 9 us, SIFS = 16 us
802.11ac @ 5 GHz
slot time = 9 us, SIFS = 16 us
slot time = 9 us, SIFS = 16 us
802.11b @ 2.4 GHz
slot time = 20 us, SIFS = 10 us
802.11g @ 2.4 GHz
slot time = 9 us, SIFS = 10 us
802.11n
@ 2.4 GHz
slot time = 9 us(short) or 20 us(long), SIFS = 10 us
@ 5 GHz
slot time = 9 us, SIFS = 16 us
802.11ac @ 5 GHz
slot time = 9 us, SIFS = 16 us
Frame Tx Time Calculation for IEEE 802.11a/b/g/n/ac
1. IEEE 802.11b @ 20 MHz
TXTIME = PreambleLength + PLCPHeaderTime + Ceiling(((LENGTH+PBCC) × 8) / DATARATE)
TXTIME = TPREAMBLE + TSIGNAL + TSYM × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS)
= 16 us + 4 us + 4 us × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS)
3. IEEE 802.11g @ 20 MHz
TXTIME = TPREAMBLE + TSIGNAL + TSYM × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS)
+ Signal Extension
= 16 us + 4 us + 4 us × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS) + 6 us
4. IEEE 802.11n @ 20 MHz
4.1 HT-mixed mode with short Guard Interval (GI)
TXTIME = TLEG_PREAMBLE + TL_SIG + THT_PREAMBLE + THT_SIG + TSYM × Ceiling (TSYMS × NSYM / TSYM) + SignalExtension
4.2 HT-mixed mode with normal GI
TLEG_PREAMBLE + TL_SIG + THT_PREAMBLE + THT_SIG + TSYM × NSYM + SignalExtension
4.3 HT-greenfield with short GI
TXTIME = TGF_HT_PREAMBLE + THT_SIG + TSYMS × NSYM + SignalExtension
4.4 HT-greenfield with normal GI
TXTIME = TGF_HT_PREAMBLE + THT_SIG + TSYM × NSYM + SignalExtension
5. IEEE 802.11ac @ 20 MHz
TXTIME = PreambleLength + PLCPHeaderTime + Ceiling(((LENGTH+PBCC) × 8) / DATARATE)
- PreambleLength = 144 us if using "Long Preamble"
= 72 us if using "Short Preamble" - PLCPHeaderTime = 48 us if using "Long Preamble"
= 24 us if using "Short Preamble" - LENGTH is number of bytes for Transmission Frame
- PBCC = 1 if using PBCC, otherwise is 0.
- DATARATE is data rate in bps for 802.11 (e.g., 1, 2, 5.5, 11 Mbps)
TXTIME = TPREAMBLE + TSIGNAL + TSYM × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS)
= 16 us + 4 us + 4 us × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS)
3. IEEE 802.11g @ 20 MHz
TXTIME = TPREAMBLE + TSIGNAL + TSYM × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS)
+ Signal Extension
= 16 us + 4 us + 4 us × Ceiling ((16 + 8 × LENGTH + 6)/NDBPS) + 6 us
4. IEEE 802.11n @ 20 MHz
4.1 HT-mixed mode with short Guard Interval (GI)
TXTIME = TLEG_PREAMBLE + TL_SIG + THT_PREAMBLE + THT_SIG + TSYM × Ceiling (TSYMS × NSYM / TSYM) + SignalExtension
4.2 HT-mixed mode with normal GI
TLEG_PREAMBLE + TL_SIG + THT_PREAMBLE + THT_SIG + TSYM × NSYM + SignalExtension
4.3 HT-greenfield with short GI
TXTIME = TGF_HT_PREAMBLE + THT_SIG + TSYMS × NSYM + SignalExtension
4.4 HT-greenfield with normal GI
TXTIME = TGF_HT_PREAMBLE + THT_SIG + TSYM × NSYM + SignalExtension
5. IEEE 802.11ac @ 20 MHz
Subscribe to:
Posts (Atom)