ubuntu /windows系统时间不一致
sudo timedatectl set-local-rtc 1
sudo hwclock --localtime --systohc
chrome 源
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
VSCODE源
The repository and key can also be installed manually with the following script:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
Then update the package cache and install the package using:
sudo apt-get update
sudo apt-get install code
参考 https://code.visualstudio.com/docs/setup/linux
Android Studio
sudo add-apt-repository ppa:maarten-fonville/android-studio
sudo apt update
android 模拟器使用kvm加速
sudo apt-get install qemu-kvm
参考 https://help.ubuntu.com/community/KVM/Installation