Update
This commit is contained in:
4
.obsidian/community-plugins.json
vendored
4
.obsidian/community-plugins.json
vendored
@@ -5,9 +5,9 @@
|
||||
"todoist-sync-plugin",
|
||||
"obsidian-columns",
|
||||
"obsidian-tasks-plugin",
|
||||
"obsidian-git",
|
||||
"oz-image-plugin",
|
||||
"periodic-notes",
|
||||
"obsidian-kanban",
|
||||
"obsidian-mind-map"
|
||||
"obsidian-mind-map",
|
||||
"obsidian-git"
|
||||
]
|
||||
2
.obsidian/daily-notes.json
vendored
2
.obsidian/daily-notes.json
vendored
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"folder": "01. 個人/01. Daily",
|
||||
"format": "YYYY-MM-DD(ddd)",
|
||||
"template": "04. 資料收集/99. templates/日記"
|
||||
"template": "05. 資料收集/99. templates/日記"
|
||||
}
|
||||
8
.obsidian/plugins/obsidian-git/data.json
vendored
8
.obsidian/plugins/obsidian-git/data.json
vendored
@@ -2,19 +2,19 @@
|
||||
"commitMessage": "vault backup: {{date}}",
|
||||
"autoCommitMessage": "vault backup: {{date}}",
|
||||
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
|
||||
"autoSaveInterval": 10,
|
||||
"autoSaveInterval": 3,
|
||||
"autoPushInterval": 0,
|
||||
"autoPullInterval": 0,
|
||||
"autoPullOnBoot": true,
|
||||
"autoPullOnBoot": false,
|
||||
"disablePush": false,
|
||||
"pullBeforePush": true,
|
||||
"disablePopups": false,
|
||||
"listChangedFilesInMessageBody": true,
|
||||
"listChangedFilesInMessageBody": false,
|
||||
"showStatusBar": true,
|
||||
"updateSubmodules": false,
|
||||
"syncMethod": "merge",
|
||||
"customMessageOnAutoBackup": false,
|
||||
"autoBackupAfterFileChange": false,
|
||||
"autoBackupAfterFileChange": true,
|
||||
"treeStructure": false,
|
||||
"refreshSourceControl": true,
|
||||
"basePath": "",
|
||||
|
||||
1445
.obsidian/plugins/obsidian-git/main.js
vendored
1445
.obsidian/plugins/obsidian-git/main.js
vendored
File diff suppressed because it is too large
Load Diff
2
.obsidian/plugins/obsidian-git/manifest.json
vendored
2
.obsidian/plugins/obsidian-git/manifest.json
vendored
@@ -4,5 +4,5 @@
|
||||
"description": "Backup your vault with Git.",
|
||||
"isDesktopOnly": false,
|
||||
"js": "main.js",
|
||||
"version": "2.4.1"
|
||||
"version": "2.8.0"
|
||||
}
|
||||
|
||||
5
.obsidian/plugins/obsidian-git/styles.css
vendored
5
.obsidian/plugins/obsidian-git/styles.css
vendored
@@ -8,6 +8,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type='git-view'] .view-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.loading>svg {
|
||||
animation: 2s linear infinite loading;
|
||||
transform-origin: 50% 50%;
|
||||
@@ -16,6 +20,7 @@
|
||||
|
||||
.obsidian-git-center {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
|
||||
5
.obsidian/snippets/obsidian.css
vendored
5
.obsidian/snippets/obsidian.css
vendored
@@ -194,7 +194,7 @@ a.external-link {
|
||||
}
|
||||
|
||||
.nav-folder-title::before {
|
||||
content: '💼';
|
||||
content: '📁';
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
@@ -207,8 +207,7 @@ a.external-link {
|
||||
}
|
||||
|
||||
.nav-file-title::before {
|
||||
/*content: '📄';*/
|
||||
content: '\E801';
|
||||
content: '📄';
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
|
||||
64
.obsidian/workspace.json
vendored
64
.obsidian/workspace.json
vendored
@@ -13,24 +13,50 @@
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "00. Inbox/00. Inbox/猴子都會的AI繪圖軟體安裝教學.md",
|
||||
"file": "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md",
|
||||
"mode": "source",
|
||||
"source": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "67d6babe83bb7f0b",
|
||||
"id": "d6d91c541006ee95",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "kanban",
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "00. Inbox/02. Kanban TODO - Me.md"
|
||||
"file": "00. Inbox/01. TODO.md",
|
||||
"mode": "source",
|
||||
"source": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1b1f377d09410f18",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "01. 個人/01. Daily/2021/01/2021-01-17(Sun).md",
|
||||
"mode": "preview",
|
||||
"source": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "7457240a4e7a5f8a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "01. 個人/01. Daily/2022-10-18(週二).md",
|
||||
"mode": "source",
|
||||
"source": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
"currentTab": 3
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
@@ -88,7 +114,7 @@
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "00. Inbox/02. Kanban TODO - Me.md",
|
||||
"file": "01. 個人/01. Daily/2022-10-18(週二).md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
@@ -105,7 +131,7 @@
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "00. Inbox/02. Kanban TODO - Me.md"
|
||||
"file": "01. 個人/01. Daily/2022-10-18(週二).md"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -131,22 +157,22 @@
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 243
|
||||
"width": 319.5
|
||||
},
|
||||
"ribbon": {
|
||||
"mostRecentAction": ""
|
||||
},
|
||||
"active": "67d6babe83bb7f0b",
|
||||
"active": "7457240a4e7a5f8a",
|
||||
"lastOpenFiles": [
|
||||
"00. Inbox/02. Kanban TODO - Logitech.md",
|
||||
"00. Inbox/02. Kanban TODO - Me.md",
|
||||
"04. Programming/演算法.md",
|
||||
"00. Inbox/00. Inbox/猴子都會的AI繪圖軟體安裝教學.md",
|
||||
"04. Programming/FFMPEG/FFMpeg.md",
|
||||
"04. Programming/FFMPEG/01. Setup.md",
|
||||
"04. Programming/FFMPEG/00. Introduction.md",
|
||||
"00. Inbox/01. TODO.md",
|
||||
"03. 專注Study/C++/lambda.md",
|
||||
"04. Programming/OpenCV.md"
|
||||
"00. Inbox/00. Inbox/Coding style.md",
|
||||
"01. 個人/01. Daily/2021/01/2021-01-17(Sun).md",
|
||||
"03. 專注Study/Android/Android programming.md",
|
||||
"01. 個人/01. Daily/2021/05/2021-05-22(週六).md",
|
||||
"01. 個人/01. Daily/2019/2019-09-12(週四).md",
|
||||
"01. 個人/01. Daily/2020/05/2020-05-16(週六).md",
|
||||
"01. 個人/01. Daily/2021/09/2021-09-02(週四).md",
|
||||
"01. 個人/01. Daily/2020/05/2020-05-19(週二).md",
|
||||
"01. 個人/01. Daily/2021/09/2021-09-09(週四).md",
|
||||
"02. 工作/01. Logitech/TestCam.md"
|
||||
]
|
||||
}
|
||||
8
00. Inbox/00. Inbox/Coding style.md
Normal file
8
00. Inbox/00. Inbox/Coding style.md
Normal file
@@ -0,0 +1,8 @@
|
||||
## Common Rule
|
||||
### LowerCamel case
|
||||
Variables and functions start with lower camel case. e.g.
|
||||
```cpp
|
||||
int myName = 0;
|
||||
void doSomething(int argNum1);
|
||||
```
|
||||
|
||||
61
01. 個人/01. Daily/2022-10-17(週一).md
Normal file
61
01. 個人/01. Daily/2022-10-17(週一).md
Normal file
@@ -0,0 +1,61 @@
|
||||
時間:20:13:42
|
||||
|
||||
### TAG
|
||||
|
||||
|
||||
### All TODOs
|
||||
```tasks
|
||||
not done
|
||||
path does not include 2021
|
||||
path does not include 2022/01
|
||||
path does not include 2022/02
|
||||
path does not include 2022/03
|
||||
path does not include 2022/04
|
||||
path does not include 02. PARA/04. Archives(歸檔)
|
||||
path does not include 001. Kong
|
||||
group by folder
|
||||
group by filename
|
||||
group by heading
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Doing TODOs
|
||||
```tasks
|
||||
not done
|
||||
has start date
|
||||
happens before tomorrow
|
||||
path does not include 2021
|
||||
path does not include 2022/01
|
||||
path does not include 2022/02
|
||||
path does not include 2022/03
|
||||
path does not include 2022/04
|
||||
path does not include 02. PARA/04. Archives(歸檔)
|
||||
path does not include 001. Kong
|
||||
group by folder
|
||||
group by filename
|
||||
group by heading
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 新增TODO
|
||||
#### 私事
|
||||
|
||||
#### 公事
|
||||
|
||||
### 今日回顧
|
||||
#職場
|
||||
今天終於聽到台灣的裁員消息,是CP&G那邊的人,也挺資深的,少徐大幾年而已。依照徐大的說法,他跟錯老闆與做事沒有價值。進一步詢問,他做的是FPGA的工作,也就是用FPGA來驗證鍵盤滑鼠,我說這看起來不像是沒有價值的事情阿,徐大說有價值,但是現階段沒有必須性。恩,好吧。總之,他可以在一個月內找其他部門依靠,不然就只能離職了。
|
||||
|
||||
不得不抱怨一下和徐大講話真的是有點累,徐大在看訊息好像都看最後一行似的,永遠都只會回最後一行的問題,其他問題都會被忽略。要是多個問題就要一個一個問,速度就會變得很慢。另外,徐大野很喜歡先說一聲Hi,然後等你回應再說他的需求,這變成你沒法在第一時間去處理事情,又多了一見懸宕的事,而且可能在你回應之後,他也無法馬上回應,一來一往就耗掉很多時間。
|
||||
|
||||
#自律
|
||||
今天上班不算很認真,一直拖到下午才開始寫FFMPEG的encode class,明天要正常一點。
|
||||
|
||||
律定一下自己,把以下這些事習慣化:
|
||||
- 讀一篇summit
|
||||
- 背單字
|
||||
- 看書
|
||||
- 寫日記
|
||||
先四個就好!
|
||||
58
01. 個人/01. Daily/2022-10-18(週二).md
Normal file
58
01. 個人/01. Daily/2022-10-18(週二).md
Normal file
@@ -0,0 +1,58 @@
|
||||
時間:21:38:53
|
||||
|
||||
### TAG
|
||||
|
||||
|
||||
### All TODOs
|
||||
```tasks
|
||||
not done
|
||||
path does not include 2021
|
||||
path does not include 2022/01
|
||||
path does not include 2022/02
|
||||
path does not include 2022/03
|
||||
path does not include 2022/04
|
||||
path does not include 02. PARA/04. Archives(歸檔)
|
||||
path does not include 001. Kong
|
||||
group by folder
|
||||
group by filename
|
||||
group by heading
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Doing TODOs
|
||||
```tasks
|
||||
not done
|
||||
has start date
|
||||
happens before tomorrow
|
||||
path does not include 2021
|
||||
path does not include 2022/01
|
||||
path does not include 2022/02
|
||||
path does not include 2022/03
|
||||
path does not include 2022/04
|
||||
path does not include 02. PARA/04. Archives(歸檔)
|
||||
path does not include 001. Kong
|
||||
group by folder
|
||||
group by filename
|
||||
group by heading
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 新增TODO
|
||||
#### 私事
|
||||
|
||||
#### 公事
|
||||
|
||||
### 今日回顧
|
||||
睿睿忘記帶聯絡簿去學校。
|
||||
|
||||
下午跟徐大開會,他要把CameraView的一部分code抽出去變成library。這部份在工程上是很合理的。但我的心裡上卻隱約有點不太舒服,說不上來為什麼。
|
||||
想一想,或許是因為......我覺得......我沒有受重視的感覺吧。雖然徐大會口頭上說:你精心刻的東西怎麼樣阿,這樣的好東西我們應該讓它可以被看到阿,之類的。
|
||||
但我總覺的徐大會有意無意的忽略我做的東西,也許是還沒發現其用處,不知道該怎麼用它處理他吧,我不知道,就是一種感覺,不是很正面的。
|
||||
另外一點還是關於部門的定位讓我很沒有安全感吧,應該說,我對於我在Karthik面前沒有曝光度這點讓我感到沒有安全感,我不覺的Karthik把我看作他的人馬,我目前只是依附在徐大之下而已。是不是應該大膽一點做些什麼來增加曝光度呢?會不會引起反效果呢? #職場
|
||||
|
||||
媽媽打電話來問罷罷的保單,爸爸手部的脂肪瘤要開刀,有比較有效的自費凝膠可以用,所以醫生問說爸爸是不是有實支實付的保單可以請領,很可惜爸爸沒有保這個。
|
||||
明天要記得問一下爸爸的開刀時間。 #家庭
|
||||
|
||||
這兩天都有寫日記,但是都沒有聽summit,明天開始要聽summit,然後背單字。 #自律
|
||||
1030
04. Programming/Python/Poetry.md
Normal file
1030
04. Programming/Python/Poetry.md
Normal file
File diff suppressed because it is too large
Load Diff
@@ -326,3 +326,6 @@
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## 參考
|
||||
- [VSCode 是什么](https://geek-docs.com/vscode/vscode-tutorials/what-is-vscode.html)
|
||||
191
05. 資料收集/Tool Setup/Software/Windows 11 Setup.md
Normal file
191
05. 資料收集/Tool Setup/Software/Windows 11 Setup.md
Normal file
@@ -0,0 +1,191 @@
|
||||
### Install tools
|
||||
#### 先安裝
|
||||
- 手動安裝[Google Drive](https://www.google.com/drive/download/),以取得本檔案。
|
||||
|
||||
#### 自動安裝
|
||||
1. 安裝[Chocolatey](https://chocolatey.org/),用Administrator身份打開powershell,輸入下列指令:
|
||||
```
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
```
|
||||
2. 用安裝常用的工具
|
||||
```
|
||||
choco install 7zip vscode hxd sublimetext4 androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta --yes
|
||||
```
|
||||
|
||||
列表:
|
||||
- 7zip
|
||||
- vscode
|
||||
- hxd
|
||||
- [sublimetext4](https://community.chocolatey.org/packages/sublimetext4/4.0.0.412100)
|
||||
- androidstudio
|
||||
- [intellijidea-community](https://chocolatey.org/packages/intellijidea-community)
|
||||
- git
|
||||
- winmerge
|
||||
- [freefilesync](https://chocolatey.org/packages/freefilesync)
|
||||
- [freedownloadmanager](https://chocolatey.org/packages/FreeDownloadManager)
|
||||
- [gsudo](https://community.chocolatey.org/packages/gsudo)
|
||||
- [firacode](https://community.chocolatey.org/packages/FiraCode)
|
||||
- [cascadiacode](https://community.chocolatey.org/packages/cascadiacode)
|
||||
- [sourcecodepro](https://community.chocolatey.org/packages/SourceCodePro)
|
||||
- [delta](https://community.chocolatey.org/packages/delta)
|
||||
|
||||
#### 手動安裝
|
||||
1. Google drive
|
||||
2. Google drive(Logitech)
|
||||
3. Python 3.6.3
|
||||
4. Python 3.9
|
||||
6. Visual Studio 2017
|
||||
7. Visual Studio 2019
|
||||
8. Office 365
|
||||
9. Lightroom
|
||||
10. [Enpass](https://www.enpass.io/)
|
||||
11. [ShareX](https://getsharex.com/)
|
||||
12. [win32diskimager](https://sourceforge.net/projects/win32diskimager/)
|
||||
13. [卡巴斯基](https://www.kaspersky.com.tw/)
|
||||
14. 字型
|
||||
- [Caskaydia](\\diskstation\share\Tools\字型\Caskaydia Cove Nerd Font\)
|
||||
|
||||
#### Portable App
|
||||
1. Aegisub portable
|
||||
2. Audacity 2.3.3
|
||||
3. Cheat Engine 7.0
|
||||
4. cmder v1.3.12
|
||||
5. ConEmu
|
||||
6. ConvertZZ.1.0.0.3
|
||||
7. CrystalDiskMark 6.0.1 x64
|
||||
8. EzMeta
|
||||
9. ffmpeg-2020-09-20-full_build
|
||||
10. FileZillaPortable
|
||||
11. Geek Uninstaller 1.4.7
|
||||
12. HxDPortable
|
||||
13. ImgBurnPortable
|
||||
14. IntelliJ IDEA
|
||||
15. JDownloader 2.0
|
||||
16. PhraseExpress
|
||||
17. Process Explorer 16.21
|
||||
18. Q-Dir 9.01
|
||||
19. Rufus
|
||||
20. Sandboxie
|
||||
21. [Speccy](https://www.ccleaner.com/speccy)
|
||||
22. [ThunderbirdPortable](https://portableapps.com/apps/internet/thunderbird_portable)
|
||||
23. [WindowGrid 1.3.11](http://windowgrid.net/)
|
||||
24. [wiztree_3_35_portable](https://wiztreefree.com/download)
|
||||
|
||||
### Upgrade
|
||||
#### Upgrade by Chocolately
|
||||
```
|
||||
choco upgrade all -y
|
||||
```
|
||||
|
||||
### Setup
|
||||
#### Setup doskey in **Command Prompt**
|
||||
1. 切換到`Document`資料夾。
|
||||
2. 建立`cmdinit.cmd`,內容如下:
|
||||
```
|
||||
@echo off
|
||||
doskey sl="C:\Program Files\Sublime Text 3\sublime_text.exe"
|
||||
doskey ll=dir
|
||||
doskey rrp="cd C:\Python363\lib\site-packages\RobotRun" $T C:
|
||||
doskey rra=cd "G:\My Drive\codes\Projects\RobotRunApplications" $T G:
|
||||
doskey gpull=git pull origin master
|
||||
doskey gpush=git push origin master
|
||||
doskey gs=git status
|
||||
doskey gd=git diff
|
||||
doskey e.=explorer.exe .
|
||||
```
|
||||
|
||||
#### Setup bashrc in **Git bash**
|
||||
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"'
|
||||
|
||||
##----- 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"
|
||||
|
||||
##----- 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" "$@"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
#### Setup Windows Terminal
|
||||
|
||||
1. 開啟Windows Terminal。
|
||||
2. 按`ctrl + ,`打開設定,之後參考[[Windows Terminal]]。
|
||||
|
||||
#### 恢復右鍵選單
|
||||
- 以admin身份打開PowerShell,執行 `reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve`
|
||||
- 要恢復Windows 11的右鍵選單則是執行:`reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f`
|
||||
|
||||
##### 來源
|
||||
- [How to open the full right-click menu by default on Windows 11](https://www.xda-developers.com/how-to-open-full-right-click-menu-by-default-windows-11/)
|
||||
|
||||
#### Setup WSL2
|
||||
- [[安裝筆記] Windows 10 安裝 Linux 子系統 (WSL2) | Kenmingの鮮思維](http://www.kenming.idv.tw/note_window10_install_wsl2/)
|
||||
- [[安裝筆記] Windows 10 WSL 2 安裝 Docker Desktop (含更改 Docker Image 路徑) | Kenmingの鮮思維](http://www.kenming.idv.tw/win10_wsl2_install_docker-desktop/)
|
||||
|
||||
#### 其他細節
|
||||
- [【教學】Windows 11 系統優化](https://ofeyhong.pixnet.net/blog/post/225581177)
|
||||
-
|
||||
@@ -27,133 +27,346 @@ unset THEME
|
||||
|
||||
## Settings.json
|
||||
```json
|
||||
// This file was initially generated by Windows Terminal 1.6.10571.0
|
||||
// It should still be usable in newer versions, but newer versions might have additional
|
||||
// settings, help text, or changes that you will not see unless you clear this file
|
||||
// and let us generate a new one for you.
|
||||
|
||||
// To view the default settings, hold "alt" while clicking on the "Settings" button.
|
||||
// For documentation on these settings, see: https://aka.ms/terminal-documentation
|
||||
// This file was initially generated by Windows Terminal 1.2.2381.0
|
||||
// It should still be usable in newer versions, but newer versions might have additional
|
||||
// settings, help text, or changes that you will not see unless you clear this file
|
||||
// and let us generate a new one for you.
|
||||
|
||||
// To view the default settings, hold "alt" while clicking on the "Settings" button.
|
||||
// For documentation on these settings, see: https://aka.ms/terminal-documentation
|
||||
{
|
||||
"$help": "https://aka.ms/terminal-documentation",
|
||||
"$schema": "https://aka.ms/terminal-profiles-schema",
|
||||
|
||||
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
|
||||
|
||||
// You can add more global application settings here.
|
||||
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
|
||||
|
||||
// If enabled, selections are automatically copied to your clipboard.
|
||||
"actions":
|
||||
[
|
||||
{
|
||||
"command":
|
||||
{
|
||||
"action": "prevTab"
|
||||
},
|
||||
"keys": "ctrl+pgup"
|
||||
},
|
||||
{
|
||||
"command":
|
||||
{
|
||||
"action": "copy",
|
||||
"singleLine": false
|
||||
},
|
||||
"keys": "ctrl+c"
|
||||
},
|
||||
{
|
||||
"command":
|
||||
{
|
||||
"action": "splitPane",
|
||||
"split": "right"
|
||||
},
|
||||
"keys": "ctrl+shift+e"
|
||||
},
|
||||
{
|
||||
"command": "find",
|
||||
"keys": "ctrl+shift+f"
|
||||
},
|
||||
{
|
||||
"command": "paste",
|
||||
"keys": "ctrl+v"
|
||||
},
|
||||
{
|
||||
"command":
|
||||
{
|
||||
"action": "splitPane",
|
||||
"split": "auto",
|
||||
"splitMode": "duplicate"
|
||||
},
|
||||
"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":
|
||||
{
|
||||
"action": "nextTab"
|
||||
},
|
||||
"keys": "ctrl+pgdn"
|
||||
}
|
||||
],
|
||||
"copyFormatting": "none",
|
||||
"copyOnSelect": false,
|
||||
|
||||
// If enabled, formatted data is also copied to your clipboard
|
||||
"copyFormatting": false,
|
||||
|
||||
// Start position
|
||||
"initialCols": 205,
|
||||
"initialCols": 234,
|
||||
"initialRows": 30,
|
||||
"initialPosition": "15,400", // x,y
|
||||
|
||||
// A profile specifies a command to execute paired with information about how it should look and feel.
|
||||
// Each one of them will appear in the 'New Tab' dropdown,
|
||||
// and can be invoked from the commandline with `wt.exe -p xxx`
|
||||
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings
|
||||
"initialPosition": "16,950", // x,y
|
||||
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
|
||||
"profiles":
|
||||
{
|
||||
"defaults":
|
||||
{
|
||||
// Put settings here that you want to apply to all profiles.
|
||||
},
|
||||
"defaults": {},
|
||||
"list":
|
||||
[
|
||||
{
|
||||
// Make changes here to the powershell.exe profile.
|
||||
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
|
||||
"name": "Windows PowerShell",
|
||||
"commandline": "powershell.exe",
|
||||
"hidden": false
|
||||
},
|
||||
{
|
||||
"guid": "{41dd7a51-f0e1-4420-a2ec-1a7130b7e950}",
|
||||
"name": "Windows PowerShell(Administrator)",
|
||||
"commandline": "gsudo.exe powershell.exe",
|
||||
"hidden": false,
|
||||
"colorScheme": "Solarized Dark",
|
||||
"fontFace": "Fira Code",
|
||||
"icon" : "C:\\Users\\awinh\\OneDrive\\圖片\\icon\\console_red.png"
|
||||
"name": "Windows PowerShell"
|
||||
},
|
||||
{
|
||||
"colorScheme": "Solarized Dark",
|
||||
"commandline": "gsudo.exe powershell.exe",
|
||||
"font":
|
||||
{
|
||||
"face": "Fira Code"
|
||||
},
|
||||
"guid": "{41dd7a51-f0e1-4420-a2ec-1a7130b7e950}",
|
||||
"hidden": false,
|
||||
"icon": "C:\\Users\\awinh\\OneDrive\\\u5716\u7247\\icon\\console_red.png",
|
||||
"name": "Windows PowerShell(Administrator)"
|
||||
},
|
||||
{
|
||||
// Make changes here to the cmd.exe profile.
|
||||
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
|
||||
"name": "Command Prompt",
|
||||
"commandline": "cmd.exe",
|
||||
"hidden": false
|
||||
"hidden": false,
|
||||
"name": "Command Prompt"
|
||||
},
|
||||
{
|
||||
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
|
||||
"name": "Azure Cloud Shell",
|
||||
"source": "Windows.Terminal.Azure",
|
||||
"hidden": false,
|
||||
"name": "Azure Cloud Shell",
|
||||
"source": "Windows.Terminal.Azure"
|
||||
},
|
||||
{
|
||||
"guid": "{00000000-0000-0000-ba54-000000000002}",
|
||||
"name" : "Bash",
|
||||
"commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i -l",
|
||||
"icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico",
|
||||
"startingDirectory" : "D:\\GoogleDrive\\codes",
|
||||
"font":
|
||||
{
|
||||
"face": "CaskaydiaCove NF",
|
||||
"size": 12
|
||||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Add custom color schemes to this array.
|
||||
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
|
||||
"schemes": [],
|
||||
|
||||
// Add custom keybindings to this array.
|
||||
// To unbind a key combination from your defaults.json, set the command to "unbound".
|
||||
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings
|
||||
"keybindings":
|
||||
"schemes":
|
||||
[
|
||||
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
|
||||
// These two lines additionally bind them to Ctrl+C and Ctrl+V.
|
||||
// To learn more about selection, visit https://aka.ms/terminal-selection
|
||||
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
|
||||
{ "command": "paste", "keys": "ctrl+v" },
|
||||
|
||||
// Press Ctrl+Shift+F to open the search box
|
||||
{ "command": "find", "keys": "ctrl+shift+f" },
|
||||
|
||||
// Press Alt+Shift+D to open a new pane.
|
||||
// - "split": "auto" makes this pane open in the direction that provides the most surface area.
|
||||
// - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
|
||||
// To learn more about panes, visit https://aka.ms/terminal-panes
|
||||
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" },
|
||||
// Full screen
|
||||
{ "command": "toggleFullscreen", "keys": "alt+x" },
|
||||
// Open new default tab
|
||||
{ "command": "newTab", "keys": "ctrl+t" },
|
||||
// Close current pane
|
||||
{ "command": "closePane", "keys": "ctrl+w" },
|
||||
// Split pane in vertical
|
||||
{ "command": { "action": "splitPane", "split": "vertical"}, "keys": "ctrl+shift+E" },
|
||||
// Split pane in horizontal
|
||||
{ "command": { "action": "splitPane", "split": "horizontal"}, "keys": "ctrl+shift+O" },
|
||||
// Goto next tab
|
||||
{ "command": "nextTab", "keys": "ctrl+pagedown" },
|
||||
// Goto previous tab
|
||||
{ "command": "prevTab", "keys": "ctrl+pageup" },
|
||||
{
|
||||
"background": "#0C0C0C",
|
||||
"black": "#0C0C0C",
|
||||
"blue": "#0037DA",
|
||||
"brightBlack": "#767676",
|
||||
"brightBlue": "#3B78FF",
|
||||
"brightCyan": "#61D6D6",
|
||||
"brightGreen": "#16C60C",
|
||||
"brightPurple": "#B4009E",
|
||||
"brightRed": "#E74856",
|
||||
"brightWhite": "#F2F2F2",
|
||||
"brightYellow": "#F9F1A5",
|
||||
"cursorColor": "#FFFFFF",
|
||||
"cyan": "#3A96DD",
|
||||
"foreground": "#CCCCCC",
|
||||
"green": "#13A10E",
|
||||
"name": "Campbell",
|
||||
"purple": "#881798",
|
||||
"red": "#C50F1F",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#CCCCCC",
|
||||
"yellow": "#C19C00"
|
||||
},
|
||||
{
|
||||
"background": "#012456",
|
||||
"black": "#0C0C0C",
|
||||
"blue": "#0037DA",
|
||||
"brightBlack": "#767676",
|
||||
"brightBlue": "#3B78FF",
|
||||
"brightCyan": "#61D6D6",
|
||||
"brightGreen": "#16C60C",
|
||||
"brightPurple": "#B4009E",
|
||||
"brightRed": "#E74856",
|
||||
"brightWhite": "#F2F2F2",
|
||||
"brightYellow": "#F9F1A5",
|
||||
"cursorColor": "#FFFFFF",
|
||||
"cyan": "#3A96DD",
|
||||
"foreground": "#CCCCCC",
|
||||
"green": "#13A10E",
|
||||
"name": "Campbell Powershell",
|
||||
"purple": "#881798",
|
||||
"red": "#C50F1F",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#CCCCCC",
|
||||
"yellow": "#C19C00"
|
||||
},
|
||||
{
|
||||
"background": "#282C34",
|
||||
"black": "#282C34",
|
||||
"blue": "#61AFEF",
|
||||
"brightBlack": "#5A6374",
|
||||
"brightBlue": "#61AFEF",
|
||||
"brightCyan": "#56B6C2",
|
||||
"brightGreen": "#98C379",
|
||||
"brightPurple": "#C678DD",
|
||||
"brightRed": "#E06C75",
|
||||
"brightWhite": "#DCDFE4",
|
||||
"brightYellow": "#E5C07B",
|
||||
"cursorColor": "#FFFFFF",
|
||||
"cyan": "#56B6C2",
|
||||
"foreground": "#DCDFE4",
|
||||
"green": "#98C379",
|
||||
"name": "One Half Dark",
|
||||
"purple": "#C678DD",
|
||||
"red": "#E06C75",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#DCDFE4",
|
||||
"yellow": "#E5C07B"
|
||||
},
|
||||
{
|
||||
"background": "#FAFAFA",
|
||||
"black": "#383A42",
|
||||
"blue": "#0184BC",
|
||||
"brightBlack": "#4F525D",
|
||||
"brightBlue": "#61AFEF",
|
||||
"brightCyan": "#56B5C1",
|
||||
"brightGreen": "#98C379",
|
||||
"brightPurple": "#C577DD",
|
||||
"brightRed": "#DF6C75",
|
||||
"brightWhite": "#FFFFFF",
|
||||
"brightYellow": "#E4C07A",
|
||||
"cursorColor": "#4F525D",
|
||||
"cyan": "#0997B3",
|
||||
"foreground": "#383A42",
|
||||
"green": "#50A14F",
|
||||
"name": "One Half Light",
|
||||
"purple": "#A626A4",
|
||||
"red": "#E45649",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#FAFAFA",
|
||||
"yellow": "#C18301"
|
||||
},
|
||||
{
|
||||
"background": "#002B36",
|
||||
"black": "#002B36",
|
||||
"blue": "#268BD2",
|
||||
"brightBlack": "#073642",
|
||||
"brightBlue": "#839496",
|
||||
"brightCyan": "#93A1A1",
|
||||
"brightGreen": "#586E75",
|
||||
"brightPurple": "#6C71C4",
|
||||
"brightRed": "#CB4B16",
|
||||
"brightWhite": "#FDF6E3",
|
||||
"brightYellow": "#657B83",
|
||||
"cursorColor": "#FFFFFF",
|
||||
"cyan": "#2AA198",
|
||||
"foreground": "#839496",
|
||||
"green": "#859900",
|
||||
"name": "Solarized Dark",
|
||||
"purple": "#D33682",
|
||||
"red": "#DC322F",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#EEE8D5",
|
||||
"yellow": "#B58900"
|
||||
},
|
||||
{
|
||||
"background": "#FDF6E3",
|
||||
"black": "#002B36",
|
||||
"blue": "#268BD2",
|
||||
"brightBlack": "#073642",
|
||||
"brightBlue": "#839496",
|
||||
"brightCyan": "#93A1A1",
|
||||
"brightGreen": "#586E75",
|
||||
"brightPurple": "#6C71C4",
|
||||
"brightRed": "#CB4B16",
|
||||
"brightWhite": "#FDF6E3",
|
||||
"brightYellow": "#657B83",
|
||||
"cursorColor": "#002B36",
|
||||
"cyan": "#2AA198",
|
||||
"foreground": "#657B83",
|
||||
"green": "#859900",
|
||||
"name": "Solarized Light",
|
||||
"purple": "#D33682",
|
||||
"red": "#DC322F",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#EEE8D5",
|
||||
"yellow": "#B58900"
|
||||
},
|
||||
{
|
||||
"background": "#000000",
|
||||
"black": "#000000",
|
||||
"blue": "#3465A4",
|
||||
"brightBlack": "#555753",
|
||||
"brightBlue": "#729FCF",
|
||||
"brightCyan": "#34E2E2",
|
||||
"brightGreen": "#8AE234",
|
||||
"brightPurple": "#AD7FA8",
|
||||
"brightRed": "#EF2929",
|
||||
"brightWhite": "#EEEEEC",
|
||||
"brightYellow": "#FCE94F",
|
||||
"cursorColor": "#FFFFFF",
|
||||
"cyan": "#06989A",
|
||||
"foreground": "#D3D7CF",
|
||||
"green": "#4E9A06",
|
||||
"name": "Tango Dark",
|
||||
"purple": "#75507B",
|
||||
"red": "#CC0000",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#D3D7CF",
|
||||
"yellow": "#C4A000"
|
||||
},
|
||||
{
|
||||
"background": "#FFFFFF",
|
||||
"black": "#000000",
|
||||
"blue": "#3465A4",
|
||||
"brightBlack": "#555753",
|
||||
"brightBlue": "#729FCF",
|
||||
"brightCyan": "#34E2E2",
|
||||
"brightGreen": "#8AE234",
|
||||
"brightPurple": "#AD7FA8",
|
||||
"brightRed": "#EF2929",
|
||||
"brightWhite": "#EEEEEC",
|
||||
"brightYellow": "#FCE94F",
|
||||
"cursorColor": "#000000",
|
||||
"cyan": "#06989A",
|
||||
"foreground": "#555753",
|
||||
"green": "#4E9A06",
|
||||
"name": "Tango Light",
|
||||
"purple": "#75507B",
|
||||
"red": "#CC0000",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#D3D7CF",
|
||||
"yellow": "#C4A000"
|
||||
},
|
||||
{
|
||||
"background": "#000000",
|
||||
"black": "#000000",
|
||||
"blue": "#000080",
|
||||
"brightBlack": "#808080",
|
||||
"brightBlue": "#0000FF",
|
||||
"brightCyan": "#00FFFF",
|
||||
"brightGreen": "#00FF00",
|
||||
"brightPurple": "#FF00FF",
|
||||
"brightRed": "#FF0000",
|
||||
"brightWhite": "#FFFFFF",
|
||||
"brightYellow": "#FFFF00",
|
||||
"cursorColor": "#FFFFFF",
|
||||
"cyan": "#008080",
|
||||
"foreground": "#C0C0C0",
|
||||
"green": "#008000",
|
||||
"name": "Vintage",
|
||||
"purple": "#800080",
|
||||
"red": "#800000",
|
||||
"selectionBackground": "#FFFFFF",
|
||||
"white": "#C0C0C0",
|
||||
"yellow": "#808000"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user