Affected files: .obsidian/workspace 03. 專注Study/Android/ADB 取得 APK 的 icon.md 03. 專注Study/Android/ADB.md 03. 專注Study/Android/AOSP.md 03. 專注Study/Android/Android programming.md 03. 專注Study/Android/AudioTrack.md 03. 專注Study/Android/Ktor.md 03. 專注Study/Android/Service.md 03. 專注Study/Android/Tools.md 03. 專注Study/Android/UI.md 03. 專注Study/C++/C++17.md 03. 專注Study/C++/Class template.md 03. 專注Study/C++/GCC.md 03. 專注Study/C++/Structured binding declaration.md 03. 專注Study/C++/for_each.md 03. 專注Study/C++/lambda.md 03. 專注Study/C++/lvalue.md 03. 專注Study/C++/move operator.md 03. 專注Study/C++/rvalue.md 03. 專注Study/C++/智慧指標.md 03. 專注Study/RxKotlin/20200207 - Study RxKotlin.md 04. Programming/COM/20210726 - COM Interface.md 04. Programming/DB/MySQL.md 04. Programming/DB/sqlite.md 04. Programming/Design Pattern.md 04. Programming/FFMPEG/00. Introduction.md 04. Programming/FFMPEG/01. Setup.md 04. Programming/FFMPEG/FFMpeg.md 04. Programming/Flask.md 04. Programming/Kotlin/class.md 04. Programming/Kotlin/run, let, with, also 和 apply.md 04. Programming/Media Foundation/20210604 - Windows media foundation.md 04. Programming/OpenCV.md 04. Programming/OpenGL.md 04. Programming/Python/argparse.ArgumentParser.md 04. Programming/Python/decorator.md 04. Programming/Python/logging.md 04. Programming/Python/opencv.md 04. Programming/Python/subprocess.md 04. Programming/Python/threading.md 04. Programming/Python/tkinter.md 04. Programming/Python/檢測工具.md 04. Programming/QT/Dropdown button.md 04. Programming/QT/QVariant.md 04. Programming/QT/Qt.md 04. Programming/UML.md 04. Programming/演算法.md 05. 資料收集/99. templates/blogHeader.md 05. 資料收集/99. templates/date.md 05. 資料收集/99. templates/front matter.md 05. 資料收集/99. templates/note.md 05. 資料收集/99. templates/table.md 05. 資料收集/99. templates/thisWeek.md 05. 資料收集/99. templates/日記.md 05. 資料收集/99. templates/讀書筆記.md 05. 資料收集/Linux/CLI/cut.md 05. 資料收集/Linux/CLI/scp.md 05. 資料收集/Linux/CLI/timedatectl.md 05. 資料收集/Linux/Programming.md 05. 資料收集/Linux/Ubuntu.md 05. 資料收集/Tool Setup/Hardware/RaspberryPi.md 05. 資料收集/Tool Setup/Software/Chrome.md 05. 資料收集/Tool Setup/Software/Obisidian.md 05. 資料收集/Tool Setup/Software/SublimeText.md 05. 資料收集/Tool Setup/Software/VirtualBox.md 05. 資料收集/Tool Setup/Software/Visual Studio Code.md 05. 資料收集/Tool Setup/Software/Windows Setup.md 05. 資料收集/Tool Setup/Software/Windows Terminal.md 05. 資料收集/Tool Setup/Software/freefilesync.md 05. 資料收集/Tool Setup/Software/vim.md 05. 資料收集/名言佳句.md 05. 資料收集/架站/Gitea.md 05. 資料收集/架站/HTTP Server/Apache.md 05. 資料收集/架站/HTTP Server/Nginx/Reverse Proxy(Layer4).md 05. 資料收集/架站/Pelican blog.md 05. 資料收集/架站/Proxmox VE.md 05. 資料收集/架站/SWAG Reverse proxy.md 05. 資料收集/架站/Storj.md 05. 資料收集/架站/Trojan.md 05. 資料收集/每週外食.md 05. 資料收集/科技/802.11.md 05. 資料收集/科技/HDR Sensor.md 05. 資料收集/科技/量子電腦.md 05. 資料收集/科技/鋰電池.md 05. 資料收集/興趣嗜好/RC/Traxxas Sledge.md 05. 資料收集/興趣嗜好/RC/好盈電變調整中立點.md 05. 資料收集/興趣嗜好/RC/差速器調教教學.md 05. 資料收集/興趣嗜好/模型/舊化作例.md 05. 資料收集/興趣嗜好/軍武/虎式.md 05. 資料收集/讀書筆記/20201201 - 學習如何學習.md 05. 資料收集/讀書筆記/20201218 - Kotlin權威2.0.md 05. 資料收集/讀書筆記/20201224 - 寫作是最好的自我投資.md 05. 資料收集/讀書筆記/20210119 - 中產悲歌.md 05. 資料收集/讀書筆記/20210220 - 最高學習法.md 05. 資料收集/讀書筆記/20210320 - 最高學以致用法.md 05. 資料收集/讀書筆記/20210406 - 精準購買.md 05. 資料收集/讀書筆記/20210723 - 高手學習.md 05. 資料收集/讀書筆記/20220526 - 深入淺出設計模式.md 05. 資料收集/讀書筆記/20220619 - 精確的力量.md 05. 資料收集/軟體工具/IPFS.md 05. 資料收集/軟體工具/MkDocs.md 05. 資料收集/軟體工具/Obsidian.md 05. 資料收集/軟體工具/docker.md 05. 資料收集/軟體工具/git/apply.md 05. 資料收集/軟體工具/git/submodule.md 05. 資料收集/軟體工具/youtube-dl.md 05. 資料收集/面試準備/技术面试最后反问面试官的话.md
166 lines
5.2 KiB
Markdown
166 lines
5.2 KiB
Markdown
### 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 adobereader vscode hxd sublimetext4 microsoft-windows-terminal androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta --yes
|
||
```
|
||
|
||
列表:
|
||
- 7zip
|
||
- adobereader
|
||
- vscode
|
||
- hxd
|
||
- [sublimetext4](https://community.chocolatey.org/packages/sublimetext4/4.0.0.412100)
|
||
- microsoft-windows-terminal
|
||
- 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)
|
||
|
||
移除:
|
||
- [TeraCopy](https://chocolatey.org/packages/TeraCopy)
|
||
- googlechrome
|
||
- make
|
||
|
||
#### 手動安裝
|
||
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/)
|
||
|
||
#### 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"
|
||
|
||
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 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 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 ctest='code "/g/My Drive/codes/test"'
|
||
alias ad='adb devices'
|
||
alias fd='fastboot devices'
|
||
alias e.='explorer.exe .'
|
||
|
||
##----- Connection -----
|
||
alias gods='ssh awin@192.168.1.11'
|
||
alias gorp320='ssh pi@192.168.1.20'
|
||
|
||
##----- 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 py39() {
|
||
set_py "3.9" "$@"
|
||
}
|
||
```
|
||
|
||
#### Setup Windows Terminal
|
||
|
||
1. 開啟Windows Terminal。
|
||
2. 按`ctrl + ,`打開設定,之後參考[[Windows Terminal]]。
|
||
|
||
#### 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/) |