High Altitude Oolong
2021/12/25
›
ref: Inotify Watches Limit 就是在 /etc/sysctl.d/ 下新增一個 10-idea.conf fs.inotify.max_user_watches = 524288 然後 run sudo sysctl -p --system
2021/12/23
systemd service delay 40 sec
›
單純的只是要比原來的啟動時間(dep) delay 40 sec 的話。 有很多作法,timer, target. 最後這個最簡單: How to add startup delay? create a systemd startup script that del...
2021/12/21
sshd ClientAliveInterval, ClientAliveMax
›
sshd 的 config file (sshd_config),有兩項設定: ClientAliveInterval ClientAliveMax 是用來偵測/決定 Client 是不是存在的設定。 如果沒有收到任何 Client送來的封包,超過 ClientAlive...
2021/12/16
memo: 移除非ascii 字元
›
Remove non-printable ASCII characters from a file with this Unix command 就是用 tr option 是 non-printerable char code tr -cd '\11\...
2021/12/14
official docker support nvidia
›
真的變得這麼簡單? 基本就照 這一篇 的說明,把 install command copy-paste 就可以了。 就是... 加入 nvidia-docker 的 apt repo apt install nvidia-docker2,重新啟動docker。就可以了。...
2021/11/22
build static-linked git from source
›
因為要在自己的 target board 上 run,一個一個找 so copy 太麻煩,所以 build 一版 statis linked version 好了。 先是 configure,新的要自己 build 了,clone 下來後,我選 2.28.1.. make c...
2021/11/17
memo : diff -qr 比較兩個 folder 的不同
›
-q : 顯示不同就可以,不用把 file diff 印出來 -r : recursive
‹
›
首頁
查看網路版