摘要: 参考 X11显示屏进入缩放模式。我如何退出? https://qastack.cn/unix/190289/x11-display-entered-zoom-mode-how-do-i-exit 答案为,alt+wheel 阅读全文
posted @ 2021-06-13 02:23 qiangges2017 阅读(67) 评论(0) 推荐(0)
摘要: 容忍聪明错误,不要低级错误 如何对待工程师团队犯错误 https://www.cnblogs.com/zhengyun_ustc/p/error.html 工程师应该如何对待自己的错误 https://www.cnblogs.com/zhengyun_ustc/p/error2.html 阅读全文
posted @ 2021-06-13 00:58 qiangges2017 阅读(69) 评论(0) 推荐(0)
摘要: centminmod/docker-ubuntu-vnc-desktop https://hub.docker.com/r/centminmod/docker-ubuntu-vnc-desktop https://github.com/centminmod/docker-ubuntu-vnc-des 阅读全文
posted @ 2021-06-12 20:45 qiangges2017 阅读(349) 评论(0) 推荐(1)
摘要: 参考有 https://www.weilez.cn/?p=859 https://www.weilez.cn/?p=757 http://web.treo8.com:1568/bbs/thread-580720-1-1.html http://zengjingda.com/index.php/arc 阅读全文
posted @ 2021-05-09 21:03 qiangges2017 阅读(5936) 评论(2) 推荐(0)
摘要: 系统提示“Fatal,pgsql not running.",重启NAS,消息里出现“系统事件——系统内部服务 [pgsql, synoindexd] 无法启动。请联络 Synology 支持小组以获得帮助”,同时手机端套件DS vedio等都无法远程访问了。 通过ssh登录admin账户,sudo 阅读全文
posted @ 2021-05-09 14:31 qiangges2017 阅读(2562) 评论(0) 推荐(0)
摘要: 解决终端录制工具asciinema 的错误 错误表现 tput: unknown terminal 解决方法 在.bashrc中输入如下,并source export TERMINFO=/usr/lib/terminfo 扩展 该工具可以将命令录制为动态效果,关键在于解析等,这样生成的就是json等 阅读全文
posted @ 2021-05-05 14:45 qiangges2017 阅读(131) 评论(0) 推荐(0)
摘要: 错误表现 Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock 参考文献 https://www.digitalocean.com/commun 阅读全文
posted @ 2021-05-05 14:32 qiangges2017 阅读(69) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/365199376 https://lihaoquan.me/2017/2/25/create-kubernetes-single-node-mode.html https://www.cnblogs.com/xiami-xm/p/11203 阅读全文
posted @ 2021-05-02 23:19 qiangges2017 阅读(55) 评论(0) 推荐(0)
摘要: manjaro/archlinux下学习和使用docker笔记01 基本安装和配置 安装docker sudo pacman -Sy docker 设置好开机启动 sudo systemctl enable docker 设置好无需sudo sudo groupadd docker sudo use 阅读全文
posted @ 2021-04-15 02:26 qiangges2017 阅读(347) 评论(0) 推荐(0)
摘要: 当今社会,理财是几乎每个人必备的必修课。做股票和贵金属通常会涉及到如何买和卖的问题,国外有些软件能够给出一些类似的指标,如下图 这种交易系统一般使用RSI(相对强弱指标)来判断。用过一些软件,但是有的软件没找到这种专家交易系统或者交易指标,或者不知道怎么调出来。这里来简单说明一下两款软件调用这个的方 阅读全文
posted @ 2021-03-03 23:13 qiangges2017 阅读(975) 评论(0) 推荐(0)
摘要: 查看当前目录所有文件的格式 find . -not -type d -exec file "{}" ";" | grep CRLF enca -L zh_CN * 格式转换 enca -x utf-8 * find ./ -type f -name '*.cpp' -exec dos2unix {} 阅读全文
posted @ 2021-03-01 16:26 qiangges2017 阅读(228) 评论(0) 推荐(0)
摘要: 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)