常用工具
WSL
1
2
3
4
5
6
| wsl --install -d Ubuntu-22.04 # 安装后重启
wsl --shutdown # 使其stop
wsl --export Ubuntu-22.04 D:\wsl_ubuntu\Ubuntu.tar # 导出备份
wsl --unregister Ubuntu-22.04 #删除当前安装的系统
wsl --import Ubuntu-22.04 D:\wsl_ubuntu D:\wsl_ubuntu\Ubuntu.tar
Ubuntu2204 config --default-user fengchen
|
VSCode远程连接AC平台
vscode1.86无法远程连接waiting the server log-CSDN博客
- 在windows系统上安装vscode,并在扩展中心搜索并安装
Remote Development
插件。 - 在windows系统上生成一对公钥和私钥,可以使用命令
ssh-keygen -t rsa
,然后一路回车。注意保存好您的私钥文件(id_rsa)和公钥文件(id_rsa.pub)的路径。 - 在linux服务器上安装ssh服务,如果已经安装了,请确保22端口是开放的。(AC平台忽略这步)
- 在linux服务器上在
.ssh
目录下创建一个名为authorized_keys
的文件,然后将您的公钥文件(id_rsa.pub)的内容复制到该文件中。 - 在您的vscode中按
F1
键(或者左下角小图标
-设置下面),输入ssh,然后选择打开SSH配置文件
,编辑config
文件,按照以下格式填写服务器信息:
1
2
3
4
5
| Host 主机名
HostName IP地址
Port 端口号
User 用户名
ForwardAgent yes
|
- 保存config文件后,点击
左侧的小图标
选择``连接到主机Remote-ssh`,选择配置好的服务器即可。
终端主题选择
复制到vscode中的settings.json
中
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| "workbench.colorCustomizations": {
"terminal.background": "#1D2021",
"terminal.foreground": "#D5C4A1",
"terminalCursor.background": "#D5C4A1",
"terminalCursor.foreground": "#D5C4A1",
"terminal.ansiBlack": "#1D2021",
"terminal.ansiBlue": "#83A598",
"terminal.ansiBrightBlack": "#665C54",
"terminal.ansiBrightBlue": "#83A598",
"terminal.ansiBrightCyan": "#8EC07C",
"terminal.ansiBrightGreen": "#B8BB26",
"terminal.ansiBrightMagenta": "#D3869B",
"terminal.ansiBrightRed": "#FB4934",
"terminal.ansiBrightWhite": "#FBF1C7",
"terminal.ansiBrightYellow": "#FABD2F",
"terminal.ansiCyan": "#8EC07C",
"terminal.ansiGreen": "#B8BB26",
"terminal.ansiMagenta": "#D3869B",
"terminal.ansiRed": "#FB4934",
"terminal.ansiWhite": "#D5C4A1",
"terminal.ansiYellow": "#FABD2F"
}
|
vscode 插件
vscode 集成 Neovim - 简书 (jianshu.com)
安装rocm环境
1
2
3
4
5
6
| sudo apt update
wget https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/jammy/amdgpu-install_6.2.60203-1_all.deb
sudo apt install ./amdgpu-install_6.2.60203-1_all.deb
sudo amdgpu-install --list-usecase # 显示可用用例的列表
amdgpu-install -y --usecase=wsl,rocm --no-dkms
|
MobaXterm
MobaXterm的基本使用与快捷键介绍 - 木卯生十木 - 博客园 (cnblogs.com)
Source Insight
New project -> 新建工程名字;保存路径;
project source directory:输入程序源代码的路径
add all 为工程添加文件 ,全部勾选;Show only known file types这一选项来选择显示其它类型的文件
软件
键盘/🎮手柄按键 检测及历史记录显示工具
Windows11、Win10完美去除快捷方式小箭头的方法 - 知乎 (zhihu.com)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| # .bat 管理员运行 去除箭头 win11
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
pause
# win10
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
start explorer
pause
# 恢复箭头
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /f
taskkill /f /im explorer.exe
start explorer
pause
|
终端美化
ohmyzsh
1
2
| sudo apt install zsh # git也要安装
sh -c "$(wget -O- https://install.ohmyz.sh/)"
|
专利检索平台
访问网址
pycharm激活插件
在File-Settings -> Plugins 内手动添加第三方插件仓库地址:https://plugins.zhile.io
IDE Eval Reset
Setup x64.exe
安装
安装目录的bin文件夹下替换crack的understand.exe
Understand 6.4.1141破解_understand离线激活-CSDN博客
typora
使用 Typora 画图(类图、流程图、时序图) - 知乎 (zhihu.com)
一不小心没保存可以在临时目录里找:C:\Users\用户名\AppData\Roaming\Typora\draftsRecover
Latex
KaTeX 默认不支持 numcases 环境,还是使用cases吧。
katex在线