上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 36 下一页

2021年5月27日

摘要: 源码编译 下载CMake 用vs打开.sln文件 直接运行 使用库 在系统path路径里填过的 添加预处理器参数 引入库和头文件目录 阅读全文
posted @ 2021-05-27 15:01 lodger47 阅读(36) 评论(0) 推荐(0)

2021年5月26日

摘要: //name.zip是要解压的zip包,下面两条命令任选一种解压 语法:zip -q -r [压缩文件名] [被压缩文件或文件夹] 示例:zip -q -r a.zip a/ -r代表 recursive,代表递归处理,将指定目录下的所有文件和子目录一并处理。 -q代表 quiet,代表无声模式,不 阅读全文
posted @ 2021-05-26 22:58 lodger47 阅读(286) 评论(0) 推荐(0)
摘要: linux 编译gcc版本要高至少在4.8以上,编译时加库 -lprotobuf -lpthread #include <google/protobuf/message.h> // 所有protobuf内容都包含在这个里面 google::protobuf::Message * pMsg = NUL 阅读全文
posted @ 2021-05-26 18:40 lodger47 阅读(355) 评论(0) 推荐(0)
摘要: 什么是密钥 ? 密钥根据加密密钥和解密密钥是否相同而分为两种类型: 对称的和非对称的 对称的密钥:加密、解密都是用这个密钥 非对称密钥:该密钥是成对出现的,由 公钥和私钥 两部分组成的,本文将要介绍的 RSA 密钥属于非对称密钥 简单的说, 使用私钥加密的对象,使用公钥可以将其进行解密 反之, 使用 阅读全文
posted @ 2021-05-26 11:42 lodger47 阅读(451) 评论(0) 推荐(0)

2021年5月25日

摘要: mysql与redis数据同步(c/c++)(写mysql同步到redis,并且以json格式保存) 阅读全文
posted @ 2021-05-25 20:04 lodger47 阅读(25) 评论(0) 推荐(0)
摘要: [oracle@oracle11g admin]$ cat listener.ora # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora # 阅读全文
posted @ 2021-05-25 18:54 lodger47 阅读(27) 评论(0) 推荐(0)
摘要: select d.deptno,d.dname,count(e.empno) from emp e,dept d where e.deptno(+)=d.deptno //左外连接 e.deptno=d.deptno(+) 右外连接 group by d.deptno,d.dname order b 阅读全文
posted @ 2021-05-25 16:36 lodger47 阅读(39) 评论(0) 推荐(0)
摘要: 优化 SQL在解析where的时候,是从右至左解析的,所以:and时候应将易假的值放在右侧 如果有分组的话,where是先过滤再分组,而having是先分组再过滤,where是数据量打有优势 常用操作 关键字顺序 select from table where group by having ord 阅读全文
posted @ 2021-05-25 11:19 lodger47 阅读(56) 评论(0) 推荐(0)
摘要: 显示网络接口属性 nmcli dev show eth0 创建新连接default,IP自动通过dhcp获取 nmcli con add con-name default type Ethernet ifname eth0 删除连接 nmcli con del default //创建新连接stat 阅读全文
posted @ 2021-05-25 11:05 lodger47 阅读(99) 评论(0) 推荐(0)
摘要: 一文学完makefile语法 阅读全文
posted @ 2021-05-25 01:27 lodger47 阅读(19) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 36 下一页

导航