
入门问题记录
GitKid
欢迎关注微信公众号:GitKid,分享leetcode算法题解。
展开
-
[Word]:Microsoft word中插入代码 PlanetB, 批量上标
PlanetB复制代码进去,然后保留格式。原创 2020-05-19 15:47:04 · 1147 阅读 · 0 评论 -
[Git]: 取消commit及修改git默认编辑器为vim
修改git默认编辑器为vim修改~/.gitconfig [core] editor=vim修补commit信息$ git commit -m 'initial commit'$ git add forgotten_file$ git commit --amend取消上一次comiitgit reset HEAD CONTRIBUTING.md# 上一次更改g...原创 2020-05-03 16:02:04 · 498 阅读 · 0 评论 -
[Anaconda]:Managing environments conda常用命令
Creating an environment with commandscreate an environment with a specific version of Python and multiple packages:conda create -n myenv python=3.6 scipy=0.15.0 astroid babelhelp:conda create --he...原创 2020-05-01 15:50:21 · 414 阅读 · 1 评论 -
[Git]:GitHub上fork项目同步
GitHub上fork项目同步fork项目原作者更新如何同步?以facebookresearch/detectron2为例:添加一个upstream分支git remote add upstream https://github.com/facebookresearch/detectron2.git查看状态确认git remote -v从上游仓库 fetch 分支和提交点git ...原创 2020-05-01 12:06:20 · 217 阅读 · 0 评论 -
[入门操作]:git 的一些小操作
git中文版1. git push 输入密码利用git-credentialstouch .git-credentialsvim .git-credentialshttps://{username}:{password}@github.comssh密钥ssh-keygen -t rsa -C "youremail"然后将~/.ssh/id_rsa,pub复制到github中。...原创 2019-05-28 10:07:09 · 122 阅读 · 0 评论 -
[入门]vscode 选中所有相同
重命名变量: 选中变量名后按F2转到变量名的定义处: 选中变量名后按F12同时选择多个单词: Alt + Click同时选择上一行 (Ctrl + Alt + Up) 或者下一行 (Ctrl + Alt + Down) 的相同位置:依次找出文中所有的当前选中的单词: Ctrl + D一次性找出文所有的当前选中的单词: Ctrl + Shift + L拓展性 (Shift + Alt +...原创 2019-05-26 20:42:12 · 44395 阅读 · 3 评论 -
[入门问题记录]ROS PYTHOH 环境冲突
在python3中import会有类似问题出现’/opt/ros/kinetic/lib/python2.7/dist-packages’两种方法不要在~/.bashrc里source /opt/ros/kinetic/setup.bash在python3开头import sysprint(sys.path)sys.path.remove('/opt/ros/kinetic/lib/p...转载 2019-04-24 11:43:00 · 192 阅读 · 0 评论 -
[入门教程] C++与Python互相调用
C++调用Python官方文档例子参考博文#include <Python.h>intmain(int argc, char *argv[]){ wchar_t *program = Py_DecodeLocale(argv[0], NULL); if (program == NULL) { fprintf(stderr, "Fatal e...转载 2019-04-23 22:48:03 · 325 阅读 · 0 评论 -
[问题]libopencv-dev,opencv-python,python-opencv区别
libopencv-dev 通过apt安装,是opencv 2的opencv-python通过pip安装,是opencv新的版本python-opencv没有python3-opencv原创 2019-04-21 18:34:21 · 6017 阅读 · 0 评论