准备环境
Editor
sudo apt install xed mousepad vim
curl https://zed.dev/install.sh | sh
>> vi .vimrc
if has('mouse')
set mouse-=a
endif
>> fc-list | grep JetBrains
https://www.jetbrains.com/lp/mono/
sudo unzip JetBrainsMono-2.304.zip -d /usr/local/share/fonts/JetBrains-Mono
'Jetbrains Mono', 'Droid Sans Mono', 'monospace', monospace
>> system-wide
sudo apt install python3-sphinx python3-sphinx-rtd-theme
sphinx-quickstart && make html
python3 -m http.server -d ./build/html/
html_theme = 'sphinx_rtd_theme'
IDE
sudo apt install build-essential cmake meson
sudo apt install crossbuild-essential-arm64
eclipse-cpp.tar.gz
>> GUI
sudo apt install qtcreator qtbase5-dev
sudo apt install libwxgtk3.2-dev codelbocks
>> user-wide
sudo apt install python3-venv
python3 -m venv myenv
source myenv/bin/activate
Git
sudo apt install git git-lfs
git config --global user.name "gechao"
git config --global user.email "gechao1000@outlook.com"
git config --global credential.helper store
// default 15m, set 1h
git config --global credential.helper cache
git config credential.helper 'cache --timeout=3600'
>> git lfs install
git lfs track "*.pdf"
git init --bare xxx.git
echo "Some short description" > ~/repos/[repo-name]/description
>> git add README.md
>> git add .
>> git commit -m "add README"
git commit -am "sss"
git commit -a
>> git push -u origin master
>> ssh -V
>> vi ~/.ssh/config
Host git.code.tencent.com
User git
PubkeyAcceptedAlgorithms +ssh-rsa
HostkeyAlgorithms +ssh-rsa

浙公网安备 33010602011771号