因為ssh_config有Include /etc/ssh/ssh_config.d/*.conf,所以要修改/etc/ssh/sshd_config.d底下的檔案
因為ssh_config有Include /etc/ssh/ssh_config.d/*.conf,所以要修改/etc/ssh/sshd_config.d底下的檔案
先安裝racadm,在輸入service tag後的軟體下載頁面適用於 Microsoft Windows Server(R) 的 Dell EMC iDRAC 工具,v11.0.0.0
Dell-iDRACTools-Web-WINX64-11.3.0.0-609_A00
1 | 查IP |
在作業系統打開iDrac網頁
nvidia-tririon-inference-server-model-analyzer
Ubuntu 22.04
trition inference server version : 23.08
在git clone下來的model_analyzer資料夾下啟動docker
1 | docker run -it --gpus all \ |
假設現在所在路徑$(pwd)是/home/user/model_inference
啟動docker後會發現quick-start所在的的路徑會跟host主機一模一樣,因此下面的指令可以直接用跟host一模一樣的路徑去執行
1 | model-analyzer profile \ |
onnx execution_accelerators?
依照官網下在binary檔進行安裝,apt下載的版本是比較舊的
依照rclone config的指示進行設定
https://rclone.org/drive/#making-your-own-client-id
填入 JSON 金鑰檔案的完整路徑,例如:
1 | /home/username/.config/rclone/service-account.json |
或使用 ~ 代表家目錄:
1 | ~/rclone-service-account.json |
jenhaoyang: 從哪裡取得service-account.json
GitHub Copilot: # 如何取得 Service Account JSON 金鑰檔案
Service Account JSON 金鑰檔案需要從 Google Cloud Platform (GCP) 建立和下載。以下是完整步驟:
rclone 在個人帳戶不要使用service account,因為沒辦法打開GSuite來設定權取Google drive API的權限
如果使用service account,必須把資料夾分享給service account的gmail帳號,因為他不能直接存取我們的google drive。另外也檢查的時候也必須要指定顯示與我們共用的資料夾,不然會看不到東西。
1 | rclone ls google-remote: --drive-shared-with-me |
https://ivonblog.com/posts/rclone-linux/
--daemon啟用背景執行--drive-shared-with-me也記得要加1 | rclone mount remote:path/to/files /path/to/local/mount --drive-shared-with-me --daemon |
rclone copy gdrive:backups/photos_backup /home/user/photos_restored
這是一個針對下載大量照片的 rclone copy 建議指令範本:
1 | rclone copy --transfers=32 --checkers=64 --fast-list --progress remote:path/to/photos /local/path/to/photos |
--transfers=N
16 或 32 開始測試,如果您的網路頻寬和 CPU 效能允許,可以逐步增加,例如 64 或更高。需要注意的是,過高的數值可能會導致記憶體耗盡或被雲端服務商限速。--checkers=N
--transfers 的兩倍。例如,如果您設定 --transfers=32,可以將 --checkers 設定為 64。這有助於檢查程序快速完成,讓傳輸程序盡快開始。--fast-list
--progress (-P)
--order-by string
--order-by "size,mixed,75",這會讓 rclone 優先處理 75% 的小檔案和 25% 的大檔案,有助於保持傳輸管道飽和。--no-traverse
--checksum (-c)
--transfers=32 和 --checkers=64 作為起點。--progress 參數,觀察傳輸速度和穩定性。--transfers 和 --checkers 的數值。rateLimitExceeded 或 timeout),或者速度不升反降,表示數值設定得太高,需要調降。--transfers 參數,速度也無法提升,甚至可能因觸發限制而變得更慢。--transfers 和 --checkers 會消耗更多的記憶體和 CPU 資源。請確保您的電腦有足夠的資源來應付。rclone rcd –rc-web-gui –rc-web-gui-update –rc-no-auth
rclone的服務設定檔放在~/.config/systemd/user/底下
https://rclone.org/commands/rclone_rcd/
https://gist.github.com/kabili207/2cd2d637e5c7617411a666d8d7e97101
1 | {"t":{"$date":"2025-06-04T08:11:32.830Z"},"s":"I", "c":"CONTROL", "id":20697, "ctx":"-","msg":"Renamed existing log file","attr":{"oldLogPath":"/home/iisi/.fiftyone/var/lib/mongo/log/mongo.log","newLogPath":"/home/iisi/.fiftyone/var/lib/mongo/log/mongo.log.2025-06-04T08-11-32"}} |
解法
https://docs.voxel51.com/user_guide/config.html#configuring-a-mongodb-connection
用自建的mongo db
啟動MongoDB deamon
1 | sudo systemctl start mongod |
You can achieve this by adding the following entry to your ~/.fiftyone/config.json file:
environment variable
1 | export FIFTYONE_DATABASE_URI=mongodb://[username:password@]host[:port] |
下面這兩行要放在最外面的 CMakeLists.txt 中,這樣才能在build資料夾啟動ctest
1 | include(CTest) |
參考:
https://stackoverflow.com/a/76447033/22299707
launch.json
1 | { |
參考:
https://github.com/esweet431/box2d-lite/blob/vs-launch/CMakePresets.json
1 | char const* buffer; // const modifies char |
範例
1 | find_package(Threads REQUIRED) |
1 | include(GoogleTest) |
參考:
https://cmake.org/cmake/help/latest/module/FetchContent.html#integrating-with-find-package
https://cmake.org/cmake/help/v3.31/module/GoogleTest.html#command:gtest_add_tests