摘要: python pip和conda配置 #pip配置 [list] format=columns [global] index-url=https://pypi.doubanio.com/simple/ [install] trusted-host=pypi.doubanio.com #conda配置 阅读全文
posted @ 2021-02-28 21:10 qiangges2017 阅读(78) 评论(0) 推荐(0)
摘要: git重要配置 防止windows下自动转码LF到CRLF的方法 git config --global core.autocrlf false git log的别名,参考:廖雪峰+git+自定义git+配置别名 git config --global alias.lg "log --color - 阅读全文
posted @ 2021-02-28 21:06 qiangges2017 阅读(68) 评论(0) 推荐(0)
摘要: 查询manjaro或者arch系统中安装的软件包大小的命令 expac -H M '%m\t%n' | sort -h 效果展示 46.04 MiB glibc 49.11 MiB grub 49.12 MiB ghostscript 57.25 MiB ceph-libs 57.61 MiB pe 阅读全文
posted @ 2021-02-28 20:50 qiangges2017 阅读(795) 评论(0) 推荐(0)
摘要: prohet环境搭建方法和初步测试 开始用pycharm ce版本结合venv在windows下搭建环境各种报错。主要是pip版本太低,这里怀疑系统上的python3.5在搞鬼。后来用conda的方式创建环境果然ok了。 然后就是安装包 pip install pystan pip install 阅读全文
posted @ 2021-02-28 20:43 qiangges2017 阅读(218) 评论(0) 推荐(0)
摘要: x11vnc+xrdp 配置linux远程桌面的问题 在ubuntu下测试了能用,在manjaro下也可以配置能用。而且较为稳定,但是实现的效果是多用户失败,实际表现是多个用户登录的是同一个屏幕,俗称的多用户同时单会话,如果用来教学和演示是很好的策略。具体原因未知,本文有可能会继续更新。 需要考虑的 阅读全文
posted @ 2021-02-28 20:40 qiangges2017 阅读(2271) 评论(0) 推荐(1)
摘要: 关键在于 set(GTEST_ROOT "/path/to/gtest" CACHE PATH "Path to googletest") find_package(GTest REQUIRED) 半完整举例 IF (WIN32) set (GTEST_ROOT ${PROJECT_SOURCE_D 阅读全文
posted @ 2021-02-28 20:27 qiangges2017 阅读(678) 评论(0) 推荐(0)
摘要: 命令列表 meld . git mv git slash git slash list git slash pop git log git pull --rebase git commit -m git push 工具 linux 下 gitk meld extra/gitg community/q 阅读全文
posted @ 2021-02-28 20:20 qiangges2017 阅读(113) 评论(0) 推荐(0)
摘要: 以gtest为例,使用mingw的方式 cd xxx/gtest-x.x.x mkdir install mkdir build cd build cmake -G "MinGW Makefiles" -DCMAKE_CXX_FLAGS=-std=gnu++11 -DCMAKE_INSTALL_PR 阅读全文
posted @ 2021-02-28 20:15 qiangges2017 阅读(227) 评论(0) 推荐(0)
摘要: 问题描述 numpy版本过低,本质上因为python版本过低导致 #问题解决 升级python==3.6.0到3.6.13,如果用conda可能会顺便升级numpy,如果没有升级,可以单独升级numpy 参考资料 github1 阅读全文
posted @ 2021-02-28 20:03 qiangges2017 阅读(1524) 评论(0) 推荐(0)