From df520c08134ce8c24e641e710d6e458da79a80ea Mon Sep 17 00:00:00 2001 From: Awin Huang Date: Mon, 19 Feb 2024 16:40:58 +0800 Subject: [PATCH] vault backup: 2024-02-19 16:40:58 --- .obsidian/workspace-AWIN-MSIGP65-2.json | 248 ++++++++++++++++++ 02. 個人:Daily/2020/12/2020-12-06(Sun).md | 4 +- 02. 個人:Daily/2020/12/2020-12-17(Thu).md | 4 +- .../Windows/{工具設定 => }/Windows 11 重灌.md | 75 +----- 05. 資料收集/Windows/_Map.canvas | 2 +- 05. 資料收集/樹莓派/_Map.canvas | 2 +- .../工具設定 => 軟體工具、設定}/Chrome.md | 0 .../{軟體工具 => 軟體工具、設定}/IPFS.md | 0 .../{軟體工具 => 軟體工具、設定}/MkDocs.md | 0 .../工具設定 => 軟體工具、設定}/Obisidian.md | 0 .../Obsidian.md => 軟體工具、設定/Obsidian 操作.md} | 0 .../工具設定 => 軟體工具、設定}/SublimeText.md | 0 .../Visual Studio Code.md | 0 .../Windows Terminal.md | 97 +++---- 05. 資料收集/軟體工具、設定/bashrc.md | 73 ++++++ .../工具設定 => 軟體工具、設定}/freefilesync.md | 0 .../{軟體工具 => 軟體工具、設定}/git/apply.md | 0 .../{軟體工具 => 軟體工具、設定}/git/submodule.md | 0 .../{軟體工具 => 軟體工具、設定}/git/tag.md | 0 .../{Windows/工具設定 => 軟體工具、設定}/vim.md | 0 .../{軟體工具 => 軟體工具、設定}/youtube-dl.md | 0 21 files changed, 381 insertions(+), 124 deletions(-) create mode 100644 .obsidian/workspace-AWIN-MSIGP65-2.json rename 05. 資料收集/Windows/{工具設定 => }/Windows 11 重灌.md (64%) rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/Chrome.md (100%) rename 05. 資料收集/{軟體工具 => 軟體工具、設定}/IPFS.md (100%) rename 05. 資料收集/{軟體工具 => 軟體工具、設定}/MkDocs.md (100%) rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/Obisidian.md (100%) rename 05. 資料收集/{軟體工具/Obsidian.md => 軟體工具、設定/Obsidian 操作.md} (100%) rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/SublimeText.md (100%) rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/Visual Studio Code.md (100%) rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/Windows Terminal.md (95%) create mode 100644 05. 資料收集/軟體工具、設定/bashrc.md rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/freefilesync.md (100%) rename 05. 資料收集/{軟體工具 => 軟體工具、設定}/git/apply.md (100%) rename 05. 資料收集/{軟體工具 => 軟體工具、設定}/git/submodule.md (100%) rename 05. 資料收集/{軟體工具 => 軟體工具、設定}/git/tag.md (100%) rename 05. 資料收集/{Windows/工具設定 => 軟體工具、設定}/vim.md (100%) rename 05. 資料收集/{軟體工具 => 軟體工具、設定}/youtube-dl.md (100%) diff --git a/.obsidian/workspace-AWIN-MSIGP65-2.json b/.obsidian/workspace-AWIN-MSIGP65-2.json new file mode 100644 index 0000000..19d4991 --- /dev/null +++ b/.obsidian/workspace-AWIN-MSIGP65-2.json @@ -0,0 +1,248 @@ +{ + "main": { + "id": "fd76501ab5551c59", + "type": "split", + "children": [ + { + "id": "8c18932a336cae58", + "type": "tabs", + "children": [ + { + "id": "d484153a8e468ac9", + "type": "leaf", + "state": { + "type": "canvas", + "state": { + "file": "05. 資料收集/Windows/_Map.canvas", + "viewState": { + "x": 357, + "y": 95.5, + "zoom": -0.40833018587665404 + } + } + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "c03b931709aac93a", + "type": "split", + "children": [ + { + "id": "262a6c92848bc73a", + "type": "tabs", + "children": [ + { + "id": "f69acad103e7f817", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical" + } + } + }, + { + "id": "bad194a4534ef74b", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + } + } + }, + { + "id": "e41d3ba9ac328959", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {} + } + } + ] + } + ], + "direction": "horizontal", + "width": 267.49999618530273 + }, + "right": { + "id": "bb4f1f6a5dddbb12", + "type": "split", + "children": [ + { + "id": "e04f7f5c2b67b828", + "type": "tabs", + "children": [ + { + "id": "71679272f2e33a87", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "05. 資料收集/Windows/_Map.canvas", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + } + } + }, + { + "id": "61119a6658ef61a6", + "type": "leaf", + "state": { + "type": "all-properties", + "state": { + "sortOrder": "frequency", + "showSearch": false, + "searchQuery": "" + } + } + }, + { + "id": "e7f5fe3d8a7d256b", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "05. 資料收集/Windows/_Map.canvas" + } + } + }, + { + "id": "bac9d59fdcd09bd8", + "type": "leaf", + "state": { + "type": "advanced-tables-toolbar", + "state": {} + } + }, + { + "id": "d24e22dd36a5a962", + "type": "leaf", + "state": { + "type": "file-properties", + "state": { + "file": "05. 資料收集/Windows/_Map.canvas" + } + } + }, + { + "id": "4a0bb3cb0b31da42", + "type": "leaf", + "state": { + "type": "quiet-outline", + "state": {} + } + } + ], + "currentTab": 5 + }, + { + "id": "ae4bf98badbfc7ee", + "type": "tabs", + "children": [ + { + "id": "18b9707a37e1188a", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true + } + } + } + ] + } + ], + "direction": "horizontal", + "width": 319.5 + }, + "left-ribbon": { + "hiddenItems": { + "switcher:開啟快速切換": false, + "graph:查看關聯圖": false, + "canvas:建立新畫布": false, + "daily-notes:開啟今天的每日筆記": false, + "templates:插入模板": false, + "command-palette:開啟命令面板": false, + "markdown-importer:開啟 Markdown 格式轉換器": false, + "random-note:開始漫遊筆記": false, + "workspaces:管理工作區配置": false, + "table-editor-obsidian:Advanced Tables Toolbar": false, + "periodic-notes:Open today": false + } + }, + "active": "d484153a8e468ac9", + "lastOpenFiles": [ + "05. 資料收集/Windows/Windows 11 重灌.md", + "05. 資料收集/軟體工具、設定/Obsidian 操作.md", + "05. 資料收集/軟體工具、設定/Obisidian.md", + "05. 資料收集/軟體工具、設定/SublimeText.md", + "05. 資料收集/軟體工具、設定/Visual Studio Code.md", + "05. 資料收集/軟體工具、設定/vim.md", + "05. 資料收集/軟體工具、設定/bashrc.md", + "05. 資料收集/軟體工具、設定/Windows Terminal.md", + "orphaned files output.md", + "attachments/Pasted image 20210722145433.png", + "attachments/Pasted image 20220908123355.png", + "attachments/Pasted image 20210818115458.png", + "attachments/Pasted image 20210422205534.png", + "attachments/Pasted image 20210722093705.png", + "attachments/Pasted image 20230504183452.png", + "attachments/Pasted image 20220506145247.png", + "attachments/Pasted image 20210125183754.png", + "attachments/para_example.png", + "attachments/Pasted image 20220815135248.png", + "10. 工作/01. Logitech/Bolide.md", + "Pasted image 20230426213611.png.md", + "Pasted image 20230418111423.png.md", + "02. 個人:Daily/2023/01/2023-01-12(週四).md", + "broken links output.md", + "empty files.md", + "02. 個人:Daily/2020/12/2020-12-22(Tue).md", + "02. 個人:Daily/2020/12/2020-12-27(Sun).md", + "02. 個人:Daily/2021/01/2021-01-14(Thu).md", + "02. 個人:Daily/2021/01/2021-01-25(Mon).md", + "02. 個人:Daily/2021/01/2021-01-28(Thu).md", + "02. 個人:Daily/2021/02/2021-02-03(Wed).md", + "02. 個人:Daily/2021/02/2021-02-04(Thu).md", + "05. 資料收集/Linux/確認日誌的完整性.md", + "05. 資料收集/Programming/Keras/categorical_crossentropy.md", + "05. 資料收集/Programming/Keras/An example that use categorical_crossentropy and softmax.md", + "05. 資料收集/Linux/journalctl.md", + "05. 資料收集/裝置設定", + "05. 資料收集/Programming/OpenCV", + "05. 資料收集/Programming/numpy", + "05. 資料收集/Programming/Keras", + "00. Inbox/自我成長.canvas", + "00. Inbox/vc-fwUpdate code trace(Meetup).canvas", + "00. Inbox/My Mindmap.canvas", + "05. 資料收集/Windows/_Map.canvas", + "05. 資料收集/Programming/C++", + "00. Inbox/CPU Performance Control.canvas", + "05. 資料收集/Linux/_Map.canvas", + "00. Inbox/雜", + "05. 資料收集/樹莓派/_Map.canvas", + "00. Inbox/暫記:以後可能會用到", + "05. 資料收集/Windows", + "00. Inbox/Side project", + "00. Inbox/給孩子的簡報", + "01. 個人/讀書筆記/20240101 - 筆記的魔力.canvas", + "未命名 1.canvas", + "未命名.canvas" + ] +} \ No newline at end of file diff --git a/02. 個人:Daily/2020/12/2020-12-06(Sun).md b/02. 個人:Daily/2020/12/2020-12-06(Sun).md index 3590663..a31e83d 100644 --- a/02. 個人:Daily/2020/12/2020-12-06(Sun).md +++ b/02. 個人:Daily/2020/12/2020-12-06(Sun).md @@ -1,2 +1,2 @@ -- 學到了Obsidian搜尋技巧[[Obsidian#搜尋]] -- 設定Obsidian插入樣板快速鍵[[Obsidian#自訂快速鍵]] +- 學到了Obsidian搜尋技巧[[Obsidian 操作#搜尋]] +- 設定Obsidian插入樣板快速鍵[[Obsidian 操作#自訂快速鍵]] diff --git a/02. 個人:Daily/2020/12/2020-12-17(Thu).md b/02. 個人:Daily/2020/12/2020-12-17(Thu).md index 341a9f7..68ed781 100644 --- a/02. 個人:Daily/2020/12/2020-12-17(Thu).md +++ b/02. 個人:Daily/2020/12/2020-12-17(Thu).md @@ -6,6 +6,6 @@ - 今天也是三樓書櫃施工的日子,我也因為針眼發作沒有去公司。到了下午的時候針眼已經消腫許多。 - 這禮拜的週計畫[[01. TODO#KongQA]]的部分都沒有做,會先把這個延後,先把[[01. TODO#RobotRunDoc Online]]做完。 - 新增2個Obsidian的快速鍵,摺疊/展開全部標題 - - ![[Obsidian#^e897a3|摺疊所有標題]] - - ![[Obsidian#^5587cd|展開所有標題]] + - ![[Obsidian 操作#^e897a3|摺疊所有標題]] + - ![[Obsidian 操作#^5587cd|展開所有標題]] - 非常開心:原來Obsidian用`![[Obsidian#自訂快速鍵]]`這種格式,就可以嵌入一個區段,而不是一個link。 #開心 \ No newline at end of file diff --git a/05. 資料收集/Windows/工具設定/Windows 11 重灌.md b/05. 資料收集/Windows/Windows 11 重灌.md similarity index 64% rename from 05. 資料收集/Windows/工具設定/Windows 11 重灌.md rename to 05. 資料收集/Windows/Windows 11 重灌.md index dd32858..0e3edec 100644 --- a/05. 資料收集/Windows/工具設定/Windows 11 重灌.md +++ b/05. 資料收集/Windows/Windows 11 重灌.md @@ -67,80 +67,7 @@ choco upgrade all -y ## `~/.bashrc` 1. 打開`~/.bashrc`。 -2. 內容如下: -```bash -export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH" - -##----- Android ----- -alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe" -alias ad='adb devices' -alias fastboot='/c/EasyAVEngine/Tools/Android/ADB/fastboot.exe' -alias fd='fastboot devices' - -##----- Logitech coding ----- -alias rrp='cd /c/Python363/lib/site-packages/RobotRun' -alias rra='cd /c/RobotRun' -alias rrd='cd /g/My\ Drive/codes/Projects/RobotRunDocs' -alias rro='cd /c/RobotRun/Output' -alias prj='cd /c/Users/awinh/OneDrive/codes/Logitech/project' -alias coderrp='cd "/c/Python363/lib/site-packages/RobotRun" ; code "/c/Python363/lib/site-packages/RobotRun"' -alias coderra='cd "/c/RobotRun"; code "/c/RobotRun"' -alias coderras='code "/d/GoogleDriveLogi/codes/Projects/RobotRunAutoServer"' -alias p3='/c/Python363/python.exe' - -##----- Awin coding ----- -alias codes='cd /c/Users/awinh/OneDrive/codes' -alias ctest='code "/g/My Drive/codes/test"' -alias jn='C:/Python310/Scripts/jupyter notebook' -alias ipy='C:/Python310/Scripts/ipython' - -##----- ELF ----- -alias hugo='~/OneDrive/文件/BLOG/Hugo/bin/0.98_extend/hugo.exe' - -##----- MISC ----- -alias sl="/c/Program\ Files/Sublime\ Text/subl.exe" -alias e.='explorer.exe .' -alias blog="cd ~/OneDrive/文件/BLOG/Hugo/Sites/blog.awin.one" -alias ffmpeg="/c/Users/awinh/OneDrive/codes/CommonLib/RobotRunCommonLib/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe" -alias ob="cd ~/OneDrive/文件/Obsidian/Main" -alias ffmpeg="/c/Users/awinh/OneDrive/PortableApps/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe" - -##----- Connection ----- -alias gods='ssh awin@192.168.1.11' -alias gorp320='ssh pi@192.168.1.20' -alias gopve='ssh root@192.168.1.21' - -##----- Git ----- -alias gs="git status" -alias gd="git diff" -alias gpull='git pull origin master' -alias gpush='git push origin master' -alias gpushmain='git push origin main' -alias gc='git clone' -alias gclogi='git clone --config user.name="Awin Huang" --config user.email=ahuang11@logitech.com $@' - -##----- Python enviroment swich ----- -alias pyv='echo PY_PYTHON=$PY_PYTHON' - -function set_py() { - echo "Original Python verison is \"$PY_PYTHON\"" - export PY_PYTHON=$1 - echo " New Python verison is \"$PY_PYTHON\"" - - if [ ! -z "$2" ] - then - py "${@:2}" - fi -} - -function py36() { - set_py "3.6.3" "$@" -} - -function py310() { - set_py "3.10" "$@" -} -``` +2. 內容如[[05. 資料收集/軟體工具、設定/bashrc|bashrc]] ## Setup Windows Terminal 1. 開啟Windows Terminal。 diff --git a/05. 資料收集/Windows/_Map.canvas b/05. 資料收集/Windows/_Map.canvas index 1d86456..0bef8e5 100644 --- a/05. 資料收集/Windows/_Map.canvas +++ b/05. 資料收集/Windows/_Map.canvas @@ -10,7 +10,7 @@ {"id":"bb0881e617ca2f52","type":"text","text":"[PowerGetActiveScheme](https://learn.microsoft.com/en-us/windows/win32/api/powersetting/nf-powersetting-powergetactivescheme)\n```c\nGUID guid, *scheme = &guid; PowerGetActiveScheme(NULL, &scheme);\n```","x":502,"y":-460,"width":346,"height":125}, {"id":"1b7a2018be9a2542","type":"text","text":"- [[設定CPU Power mode]]","x":80,"y":35,"width":250,"height":60}, {"id":"034536d7a91d7b62","x":-100,"y":320,"width":133,"height":60,"type":"text","text":"工具設定"}, - {"id":"197b4dc40754a989","x":-201,"y":460,"width":335,"height":211,"type":"text","text":"- [[Chrome]]\n- [[freefilesync]]\n- [[Obsidian]]\n- [[SublimeText]]\n- [[vim]]\n- [[Visual Studio Code]]\n- [[Windows 11 重灌]]\n- [[Windows Terminal]]"} + {"id":"197b4dc40754a989","x":-201,"y":460,"width":335,"height":211,"type":"text","text":"- [[Chrome]]\n- [[freefilesync]]\n- [[Obsidian 操作]]\n- [[SublimeText]]\n- [[vim]]\n- [[Visual Studio Code]]\n- [[Windows 11 重灌]]\n- [[Windows Terminal]]"} ], "edges":[ {"id":"5c4879a42c2db8ac","fromNode":"d34f3157e07cb50d","fromSide":"top","toNode":"0138bfb5c46d71f1","toSide":"bottom"}, diff --git a/05. 資料收集/樹莓派/_Map.canvas b/05. 資料收集/樹莓派/_Map.canvas index 67cd5f4..116eba9 100644 --- a/05. 資料收集/樹莓派/_Map.canvas +++ b/05. 資料收集/樹莓派/_Map.canvas @@ -10,7 +10,7 @@ {"id":"b77234a9cdf72aad","type":"text","text":"# 安裝 docker\n[[Docker|Docker]]","x":940,"y":-340,"width":440,"height":120}, {"id":"d0711febf5985ed5","type":"text","text":"# 安裝nginx-certbot\n教學: [iT 邦幫忙::一起幫忙解決難題,拯救 IT 人的一天](https://ithelp.ithome.com.tw/m/articles/10301801\n\nGithub: [JonasAlfredsson/docker-nginx-certbot: Automatically create and renew website certificates for free using the Let's Encrypt certificate authority.](https://github.com/JonasAlfredsson/docker-nginx-certbot)","x":940,"y":-190,"width":440,"height":240}, {"id":"b900ad17a2841b99","type":"text","text":"# 安裝 Filebrowser\n[官方安裝流程](https://filebrowser.org/installation#docker)","x":1400,"y":-340,"width":440,"height":120}, - {"id":"bc030994aafc5a3b","type":"text","text":"![[bashrc]]","x":460,"y":-37,"width":360,"height":177}, + {"id":"bc030994aafc5a3b","type":"text","text":"![[05. 資料收集/樹莓派/bashrc]]","x":460,"y":-37,"width":360,"height":177}, {"id":"f210470376a4829d","type":"text","text":"![[設定Cloudflare DDNS]]","x":460,"y":370,"width":360,"height":150}, {"id":"ef9431e16c90f57f","type":"text","text":"設定![[smb client]]","x":460,"y":540,"width":360,"height":180}, {"id":"2a7d5efcc0f2dc0e","type":"text","text":"# 安裝 Portainer\n教學: [Portainer:一款圖形化容器管理工具|方格子 vocus](https://vocus.cc/article/643e9f74fd89780001b51739)\n\n官網:[Portainer: Container Management Software for Kubernetes and Docker](https://www.portainer.io/)","x":940,"y":489,"width":440,"height":191}, diff --git a/05. 資料收集/Windows/工具設定/Chrome.md b/05. 資料收集/軟體工具、設定/Chrome.md similarity index 100% rename from 05. 資料收集/Windows/工具設定/Chrome.md rename to 05. 資料收集/軟體工具、設定/Chrome.md diff --git a/05. 資料收集/軟體工具/IPFS.md b/05. 資料收集/軟體工具、設定/IPFS.md similarity index 100% rename from 05. 資料收集/軟體工具/IPFS.md rename to 05. 資料收集/軟體工具、設定/IPFS.md diff --git a/05. 資料收集/軟體工具/MkDocs.md b/05. 資料收集/軟體工具、設定/MkDocs.md similarity index 100% rename from 05. 資料收集/軟體工具/MkDocs.md rename to 05. 資料收集/軟體工具、設定/MkDocs.md diff --git a/05. 資料收集/Windows/工具設定/Obisidian.md b/05. 資料收集/軟體工具、設定/Obisidian.md similarity index 100% rename from 05. 資料收集/Windows/工具設定/Obisidian.md rename to 05. 資料收集/軟體工具、設定/Obisidian.md diff --git a/05. 資料收集/軟體工具/Obsidian.md b/05. 資料收集/軟體工具、設定/Obsidian 操作.md similarity index 100% rename from 05. 資料收集/軟體工具/Obsidian.md rename to 05. 資料收集/軟體工具、設定/Obsidian 操作.md diff --git a/05. 資料收集/Windows/工具設定/SublimeText.md b/05. 資料收集/軟體工具、設定/SublimeText.md similarity index 100% rename from 05. 資料收集/Windows/工具設定/SublimeText.md rename to 05. 資料收集/軟體工具、設定/SublimeText.md diff --git a/05. 資料收集/Windows/工具設定/Visual Studio Code.md b/05. 資料收集/軟體工具、設定/Visual Studio Code.md similarity index 100% rename from 05. 資料收集/Windows/工具設定/Visual Studio Code.md rename to 05. 資料收集/軟體工具、設定/Visual Studio Code.md diff --git a/05. 資料收集/Windows/工具設定/Windows Terminal.md b/05. 資料收集/軟體工具、設定/Windows Terminal.md similarity index 95% rename from 05. 資料收集/Windows/工具設定/Windows Terminal.md rename to 05. 資料收集/軟體工具、設定/Windows Terminal.md index 28d2848..e8f8297 100644 --- a/05. 資料收集/Windows/工具設定/Windows Terminal.md +++ b/05. 資料收集/軟體工具、設定/Windows Terminal.md @@ -32,10 +32,45 @@ unset THEME "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ + { + "command": + { + "action": "copy", + "singleLine": false + }, + "keys": "ctrl+c" + }, + { + "command": + { + "action": "newTab" + }, + "keys": "ctrl+t" + }, + { + "command": + { + "action": "splitPane", + "split": "right" + }, + "keys": "ctrl+shift+e" + }, { "command": "paste", "keys": "ctrl+v" }, + { + "command": "toggleFullscreen", + "keys": "alt+x" + }, + { + "command": + { + "action": "splitPane", + "split": "down" + }, + "keys": "ctrl+shift+o" + }, { "command": "find", "keys": "ctrl+shift+f" @@ -47,22 +82,6 @@ unset THEME }, "keys": "ctrl+pgup" }, - { - "command": - { - "action": "copy", - "singleLine": false - }, - "keys": "ctrl+c" - }, - { - "command": - { - "action": "splitPane", - "split": "right" - }, - "keys": "ctrl+shift+e" - }, { "command": { @@ -72,29 +91,10 @@ unset THEME }, "keys": "alt+shift+d" }, - { - "command": "toggleFullscreen", - "keys": "alt+x" - }, - { - "command": - { - "action": "newTab" - }, - "keys": "ctrl+t" - }, { "command": "closePane", "keys": "ctrl+w" }, - { - "command": - { - "action": "splitPane", - "split": "down" - }, - "keys": "ctrl+shift+o" - }, { "command": { @@ -106,9 +106,15 @@ unset THEME "copyFormatting": "none", "copyOnSelect": false, "defaultProfile": "{00000000-0000-0000-ba54-000000000002}", - "initialCols": 234, - "initialPosition": "16,950", + "initialCols": 230, + "initialPosition": "50,900", "initialRows": 30, + "newTabMenu": + [ + { + "type": "remainingProfiles" + } + ], "profiles": { "defaults": {}, @@ -128,7 +134,7 @@ unset THEME }, "guid": "{41dd7a51-f0e1-4420-a2ec-1a7130b7e950}", "hidden": false, - "icon": "C:\\Users\\awinh\\OneDrive\\\u5716\u7247\\icon\\console_red.png", + "icon": "%userprofile%/OneDrive/\u5716\u7247/icon/console_red.png", "name": "Windows PowerShell(Administrator)" }, { @@ -146,23 +152,23 @@ unset THEME "commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i -l", "font": { - "face": "CaskaydiaCove NF", - "size": 12 + "face": "Fira Code", + "size": 11.0 }, "guid": "{00000000-0000-0000-ba54-000000000002}", "historySize": 9000, "icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico", "name": "Bash", - "startingDirectory": "C:\\Users\\awinh\\OneDrive\\codes" + "startingDirectory": "%SYNODRIVE_PATH%/codes" }, { - "guid": "{cb5c3884-260a-5acf-98ef-b546d271b4dd}", + "guid": "{ee3203b6-a810-5d69-a2fc-42a327122769}", "hidden": false, "name": "Developer Command Prompt for VS 2022", "source": "Windows.Terminal.VisualStudio" }, { - "guid": "{e6386983-3aa0-5a19-a174-f3c66538b7bd}", + "guid": "{bf8c5b3b-1d1e-53ff-bb67-f2b3f5a6c4eb}", "hidden": false, "name": "Developer PowerShell for VS 2022", "source": "Windows.Terminal.VisualStudio" @@ -384,7 +390,10 @@ unset THEME "white": "#C0C0C0", "yellow": "#808000" } - ] + ], + "tabWidthMode": "titleLength", + "themes": [], + "useAcrylicInTabRow": true } ``` diff --git a/05. 資料收集/軟體工具、設定/bashrc.md b/05. 資料收集/軟體工具、設定/bashrc.md new file mode 100644 index 0000000..fcdd3e8 --- /dev/null +++ b/05. 資料收集/軟體工具、設定/bashrc.md @@ -0,0 +1,73 @@ +```bash +export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH" + +##----- Android ----- +alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe" +alias ad='adb devices' +alias fastboot='/c/EasyAVEngine/Tools/Android/ADB/fastboot.exe' +alias fd='fastboot devices' + +##----- Logitech coding ----- +alias rrp='cd /c/Python363/lib/site-packages/RobotRun' +alias rra='cd /c/RobotRun' +alias rrd='cd /g/My\ Drive/codes/Projects/RobotRunDocs' +alias rro='cd /c/RobotRun/Output' +alias prj='cd /c/Users/awinh/OneDrive/codes/Logitech/project' +alias coderrp='cd "/c/Python363/lib/site-packages/RobotRun" ; code "/c/Python363/lib/site-packages/RobotRun"' +alias coderra='cd "/c/RobotRun"; code "/c/RobotRun"' +alias coderras='code "/d/GoogleDriveLogi/codes/Projects/RobotRunAutoServer"' +alias p3='/c/Python363/python.exe' + +##----- Awin coding ----- +alias codes='cd /c/Users/awinh/OneDrive/codes' +alias ctest='code "/g/My Drive/codes/test"' +alias jn='C:/Python310/Scripts/jupyter notebook' +alias ipy='C:/Python310/Scripts/ipython' + +##----- ELF ----- +alias hugo='~/OneDrive/文件/BLOG/Hugo/bin/0.98_extend/hugo.exe' + +##----- MISC ----- +alias sl="/c/Program\ Files/Sublime\ Text/subl.exe" +alias e.='explorer.exe .' +alias blog="cd ~/OneDrive/文件/BLOG/Hugo/Sites/blog.awin.one" +alias ffmpeg="/c/Users/awinh/OneDrive/codes/CommonLib/RobotRunCommonLib/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe" +alias ob="cd ~/OneDrive/文件/Obsidian/Main" +alias ffmpeg="/c/Users/awinh/OneDrive/PortableApps/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe" + +##----- Connection ----- +alias gods='ssh awin@AwinDS1513' +alias gopi3='ssh awin@awinpi3' +alias gopi4='ssh awin@awinpi4' + +##----- Git ----- +alias gs="git status" +alias gd="git diff" +alias gpull='git pull origin master' +alias gpush='git push origin master' +alias gpushmain='git push origin main' +alias gc='git clone' +alias gclogi='git clone --config user.name="Awin Huang" --config user.email=ahuang11@logitech.com $@' + +##----- Python enviroment swich ----- +alias pyv='echo PY_PYTHON=$PY_PYTHON' + +function set_py() { + echo "Original Python verison is \"$PY_PYTHON\"" + export PY_PYTHON=$1 + echo " New Python verison is \"$PY_PYTHON\"" + + if [ ! -z "$2" ] + then + py "${@:2}" + fi +} + +function py36() { + set_py "3.6.3" "$@" +} + +function py310() { + set_py "3.10" "$@" +} +``` \ No newline at end of file diff --git a/05. 資料收集/Windows/工具設定/freefilesync.md b/05. 資料收集/軟體工具、設定/freefilesync.md similarity index 100% rename from 05. 資料收集/Windows/工具設定/freefilesync.md rename to 05. 資料收集/軟體工具、設定/freefilesync.md diff --git a/05. 資料收集/軟體工具/git/apply.md b/05. 資料收集/軟體工具、設定/git/apply.md similarity index 100% rename from 05. 資料收集/軟體工具/git/apply.md rename to 05. 資料收集/軟體工具、設定/git/apply.md diff --git a/05. 資料收集/軟體工具/git/submodule.md b/05. 資料收集/軟體工具、設定/git/submodule.md similarity index 100% rename from 05. 資料收集/軟體工具/git/submodule.md rename to 05. 資料收集/軟體工具、設定/git/submodule.md diff --git a/05. 資料收集/軟體工具/git/tag.md b/05. 資料收集/軟體工具、設定/git/tag.md similarity index 100% rename from 05. 資料收集/軟體工具/git/tag.md rename to 05. 資料收集/軟體工具、設定/git/tag.md diff --git a/05. 資料收集/Windows/工具設定/vim.md b/05. 資料收集/軟體工具、設定/vim.md similarity index 100% rename from 05. 資料收集/Windows/工具設定/vim.md rename to 05. 資料收集/軟體工具、設定/vim.md diff --git a/05. 資料收集/軟體工具/youtube-dl.md b/05. 資料收集/軟體工具、設定/youtube-dl.md similarity index 100% rename from 05. 資料收集/軟體工具/youtube-dl.md rename to 05. 資料收集/軟體工具、設定/youtube-dl.md