vault backup: 2023-04-23 19:22:06
This commit is contained in:
@@ -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
|
||||
#### 先安裝
|
||||
- 手動安裝[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'))
|
||||
```
|
||||
|
||||
2. 用安裝常用的工具
|
||||
```
|
||||
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
|
||||
export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH"
|
||||
|
||||
##----- Android -----
|
||||
alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe"
|
||||
alias sl="/c/Program\ Files/Sublime\ Text/subl.exe"
|
||||
alias fastboot='/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools/fastboot.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 ad='adb devices'
|
||||
alias fd='fastboot devices'
|
||||
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"
|
||||
@@ -151,8 +180,8 @@ function py36() {
|
||||
set_py "3.6.3" "$@"
|
||||
}
|
||||
|
||||
function py39() {
|
||||
set_py "3.9" "$@"
|
||||
function py310() {
|
||||
set_py "3.10" "$@"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user