2018年6月26日

摘要: 解决方法 sudo apt-get install libcanberra-gtk-module 解决方法 sudo apt-get install libcanberra-gtk-module 解决方法 阅读全文
posted @ 2018-06-26 13:40 牛大黑 阅读(299) 评论(0) 推荐(0) 编辑

2018年6月14日

摘要: 1、 改变 raspberry 源 deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi# Uncomment line below then 'apt-get update' to e 阅读全文
posted @ 2018-06-14 16:04 牛大黑 阅读(114) 评论(0) 推荐(0) 编辑

2018年6月11日

摘要: 1、列表的操作方法: 2、迭代数据的操作方法: 3、 Python 大小写敏感 4、BIF: isinstance() 某个特定的标识符是否包含某个特定类型的数据 5、函数和递归 阅读全文
posted @ 2018-06-11 22:17 牛大黑 阅读(76) 评论(0) 推荐(0) 编辑

2018年6月9日

摘要: 操作系统 linux mint Qt5.6.2 使用Qt5.6.2 编译时, 出现/opt/Qt5.6.2/5.6/gcc_64/include/QtGui/qopengl.h:120: error: GL/gl.h: No such file or directory 解决办法: sudo apt 阅读全文
posted @ 2018-06-09 12:45 牛大黑 阅读(744) 评论(0) 推荐(0) 编辑

2018年6月8日

摘要: 1. openssl 下载地址: https://www.openssl.org/source/openssl-1.0.2o.tar.gz 2. 编译 ./config enable-sharedmake dependmake -j4 3. Copy编译结果到qt安装目录 $QTDIR/lib, 我 阅读全文
posted @ 2018-06-08 22:56 牛大黑 阅读(356) 评论(0) 推荐(0) 编辑

2018年5月15日

摘要: 1、运算符 算数运算符: a = 10 * 100 赋值运算符: a = a + 1 运算符中结果是布尔值的运算符: 比较运算符 a = 1 > 5 逻辑运算符: a = 1 > 6 or 1 == 1 成员运算符: a = "s" in "shitt" 2、基本数据类型 数字 int, 所有功能都 阅读全文
posted @ 2018-05-15 10:46 牛大黑 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 基础 1,python后缀名称可以是任意,建议使用.py作为后缀 2,python执行方式 1) python解释器 + python 文件 2) python 进入解释器: 实时输入并获取到执行结果 3,解析器路径 #!/usr/bin/env python 4,编码 # -*- coding:u 阅读全文
posted @ 2018-05-15 10:32 牛大黑 阅读(133) 评论(0) 推荐(0) 编辑

2018年5月11日

摘要: Git 追踪远程分支的三种方法 1,git checkout --track origin/branchname 2, git push --set-upstream origin branchname 3, git branch --set-upstream-to=origin/branchNam 阅读全文
posted @ 2018-05-11 09:14 牛大黑 阅读(130) 评论(0) 推荐(0) 编辑

2018年5月10日

摘要: 1、编辑网卡配置文件 vi /etc/sysconfig/network-scripts/ifcfg-eno******* 将 NAME 和 DEVICE 修改为 eth0 2、重命名配置文件 mv ifcfg-eno******* ifcfg-eth0 3、禁用该可预测命名规则 修改 启动时的传递 阅读全文
posted @ 2018-05-10 15:04 牛大黑 阅读(93) 评论(0) 推荐(0) 编辑

导航