crontab -e
// this command in crontab will be executed at 10 PM everyday
* 22 * * * python test.py
// this command in crontab will be executed at every 5 minutes
*/5 * * * * python test.py
crontab -l
//the alert message can check as below
vim /var/spool/mail/ping-chen.lin
這是我的工作酸甜苦辣,與大家分享,希望彼此都有收穫:) This is my working experience in my life. It is good to share with you :)
Tuesday, July 21, 2015
Thursday, July 9, 2015
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
Subscribe to:
Posts (Atom)