常用开发工具配置笔记

linux指令

dpkg --print-architecture查看计算机架构
amd64
arch
x86_64

gedit 命令直接编辑文本替代i
查找进程 ps -ef    杀死进程 killall name

ubuntu 普通用户使用root的软件 ??????????????

ps -ef
nvidia-smi
lspci | grep -i vga

ps
ps -aux | grep "clash"
kill 1215
(./clash -d . &)

tar -zxvf name.tar.gz
unzip xx.zip
unzip -q xx.zip    quiet
zip -r dir1.zip dir1

ls | wc -l  统计文件数量

Linux nohup实现后台运行程序及查看(nohup与&) https://cloud.tencent.com/developer/article/1722018

报错:nvidia-smi: Failed to initialize NVML: Driver/library version&nbsp解决办法: https://www.jianshu.com/p/5cde10da5b5e

pycharm 

pip conda 镜像
-i https://pypi.tuna.tsinghua.edu.cn/simple
-c https://conda.anaconda.org/menpo

Ubuntu20+Miniconda3+Python3 安装配置环境(手动添加环境变量,更换清华源)
https://blog.csdn.net/L0ve777/article/details/114550024

在Ubuntu中安装Pycharm(Ubuntu21.10,Pycharm2021.1.3)
https://blog.csdn.net/thy0000/article/details/122877604

vim ~/.bashrc  中增加pycharm: https://cloud.tencent.com/developer/article/2124349

alias pycharm="bash /opt/pycharm-community-2022.3.3/bin/pycharm.sh"
alias studio="bash /opt/android-studio/bin/studio.sh"
source .bashrc
pycharm root任意位置运行
studio root任意位置运行
code   vscode

vi ~/.condarc
conda remove -n py36 --all
conda creat -n py36
conda config --append channels conda-forge
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple

jupyter notebook 

jupyter notebook 打开方式在base环境下敲 jupyter notebook
在linux的anaconda安装jupyter notebook以及修改jupyter notebook的kernel: https://blog.csdn.net/qq_36421001/article/details/121120816

如果因为VPN无法使用,将 vim  ~/.jupyter/jupyter_notebook_config.py 中 ip和port改成 VPN中的即可
取消掉注释,并且把其取值设为空,就可以不设置密码 c.NotebookApp.token = '<generated>'

  python设置镜像源:https://zhuanlan.zhihu.com/p/573955401
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple
    # 设置默认为国内镜像的方法(需要升级到pip的10.0.0以上)
    python -m pip install --upgrade pip
    pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

报错:pip:ProxyError(‘Cannot connect to proxy. 代理错误
    https://blog.csdn.net/gzxb1995/article/details/119084974?ops_request_misc=&request_id=&biz_id=102&utm_term=ProxyError(%27Cannot%20connect%20to%20&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-9-119084974.142^v93^insert_down1&spm=1018.2226.3001.4187
   

Android Studio

报错:解决Android Studio 无法通过gradle 下载https://dl.google.com/android/repository/addons_list-3.xml 解决办法 https://blog.csdn.net/Ansel_i/article/details/115521706

vscode and cmake

Ubuntu20.4:安装OpenCV4,配置vscode+CMake作为基本开发环境
https://blog.csdn.net/qq_45915007/article/details/113000097?spm=1001.2014.3001.5506#t13

利用VScode和cmake编译构建C++工程代码 https://oldpan.me/archives/use-vscode-cmake-tools-build-project

Ubuntu18.04配置VS Code+CMake的C++开发环境  https://zhuanlan.zhihu.com/p/148718585

当C++多个文件的时候,怎么配置Cmakelist
https://blog.csdn.net/zhizhengguan/article/details/111713320

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值