vault backup: 2023-04-23 19:22:06
This commit is contained in:
22
.obsidian/workspace.json
vendored
22
.obsidian/workspace.json
vendored
@@ -34,9 +34,21 @@
|
|||||||
},
|
},
|
||||||
"pinned": true
|
"pinned": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "6f777563cad3c213",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md",
|
||||||
|
"mode": "source",
|
||||||
|
"source": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 1
|
"currentTab": 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
@@ -94,7 +106,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "00. Inbox/01. TODO.md",
|
"file": "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@@ -119,7 +131,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "00. Inbox/01. TODO.md"
|
"file": "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -170,14 +182,14 @@
|
|||||||
"periodic-notes:Open today": false
|
"periodic-notes:Open today": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "3b4577823cedf427",
|
"active": "6f777563cad3c213",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"00. Inbox/01. TODO.md",
|
||||||
"04. Programming/Python/tkinter.md",
|
"04. Programming/Python/tkinter.md",
|
||||||
"00. Inbox/Habit Tracker.md",
|
"00. Inbox/Habit Tracker.md",
|
||||||
"05. 資料收集/仰臥起坐.md",
|
"05. 資料收集/仰臥起坐.md",
|
||||||
"04. Programming/Python/matplotlib.md",
|
"04. Programming/Python/matplotlib.md",
|
||||||
"00. Inbox/想要的鏡頭.md",
|
"00. Inbox/想要的鏡頭.md",
|
||||||
"00. Inbox/01. TODO.md",
|
|
||||||
"01. 個人/01. Daily/2023-04-17(週一).md",
|
"01. 個人/01. Daily/2023-04-17(週一).md",
|
||||||
"attachments/Pasted image 20230418111538.png",
|
"attachments/Pasted image 20230418111538.png",
|
||||||
"attachments/Pasted image 20230418111512.png",
|
"attachments/Pasted image 20230418111512.png",
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
### 備份
|
||||||
|
- `C:\Users\awinh\.config`
|
||||||
|
- `C:\Users\awinh\.ssh`
|
||||||
|
- `C:\Users\awinh\.bash_profile`
|
||||||
|
- `C:\Users\awinh\.bashrc`
|
||||||
|
- `C:\Users\awinh\.gitconfig`
|
||||||
|
- `C:\Users\awinh\.vimrc`
|
||||||
|
- `C:\RobotRunTestDB`
|
||||||
|
|
||||||
### Install tools
|
### Install tools
|
||||||
#### 先安裝
|
#### 先安裝
|
||||||
- 手動安裝[Google Drive](https://www.google.com/drive/download/),以取得本檔案。
|
- 手動安裝[Google Drive](https://www.google.com/drive/download/),以取得本檔案。
|
||||||
@@ -7,6 +16,7 @@
|
|||||||
```
|
```
|
||||||
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'))
|
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. 用安裝常用的工具
|
2. 用安裝常用的工具
|
||||||
```
|
```
|
||||||
choco install 7zip adobereader vscode hxd sublimetext4 microsoft-windows-terminal androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta --yes
|
choco install 7zip adobereader vscode hxd sublimetext4 microsoft-windows-terminal androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta --yes
|
||||||
@@ -105,24 +115,43 @@ doskey e.=explorer.exe .
|
|||||||
```bash
|
```bash
|
||||||
export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH"
|
export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH"
|
||||||
|
|
||||||
|
##----- Android -----
|
||||||
alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe"
|
alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe"
|
||||||
alias sl="/c/Program\ Files/Sublime\ Text/subl.exe"
|
alias ad='adb devices'
|
||||||
alias fastboot='/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools/fastboot.exe'
|
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 rrp='cd /c/Python363/lib/site-packages/RobotRun'
|
||||||
alias rra='cd /c/RobotRun'
|
alias rra='cd /c/RobotRun'
|
||||||
alias rrd='cd /g/My\ Drive/codes/Projects/RobotRunDocs'
|
alias rrd='cd /g/My\ Drive/codes/Projects/RobotRunDocs'
|
||||||
alias rro='cd /c/RobotRun/Output'
|
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 coderrp='cd "/c/Python363/lib/site-packages/RobotRun" ; code "/c/Python363/lib/site-packages/RobotRun"'
|
||||||
alias coderra='cd "/c/RobotRun"; code "/c/RobotRun"'
|
alias coderra='cd "/c/RobotRun"; code "/c/RobotRun"'
|
||||||
alias coderras='code "/d/GoogleDriveLogi/codes/Projects/RobotRunAutoServer"'
|
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 ctest='code "/g/My Drive/codes/test"'
|
||||||
alias ad='adb devices'
|
alias jn='C:/Python310/Scripts/jupyter notebook'
|
||||||
alias fd='fastboot devices'
|
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 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 -----
|
##----- Connection -----
|
||||||
alias gods='ssh awin@192.168.1.11'
|
alias gods='ssh awin@192.168.1.11'
|
||||||
alias gorp320='ssh pi@192.168.1.20'
|
alias gorp320='ssh pi@192.168.1.20'
|
||||||
|
alias gopve='ssh root@192.168.1.21'
|
||||||
|
|
||||||
##----- Git -----
|
##----- Git -----
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
@@ -151,8 +180,8 @@ function py36() {
|
|||||||
set_py "3.6.3" "$@"
|
set_py "3.6.3" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
function py39() {
|
function py310() {
|
||||||
set_py "3.9" "$@"
|
set_py "3.10" "$@"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
70
attachments/.bashrc
Normal file
70
attachments/.bashrc
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
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"
|
||||||
|
|
||||||
|
##----- 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" "$@"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user