会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hgrical_小农
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2019年7月12日
高并发架构系列:数据库主从同步的3种一致性方案实现,及优劣比较
摘要: 资料链接网址:http://youzhixueyuan.com/database-master-slave-synchronization.html
阅读全文
posted @ 2019-07-12 10:39 hgrical_小农
阅读(398)
评论(0)
推荐(0)
2019年1月24日
静态使用protobuf
摘要: 一、静态使用proto文件步骤 1、创建proto文件 addressbook.proto 2、使用protoc编译器将proto文件编译成C++代码 编译命令格式:protoc -I=$SRC_DIR --cpp_out=$DST_DIR /path/to/file.proto列如:protoc
阅读全文
posted @ 2019-01-24 17:47 hgrical_小农
阅读(604)
评论(0)
推荐(0)
动态使用Protobuf
摘要: 使用pb动态特性步骤1、动态编译proto文件 构造 google::protobuf::compiler::Importer 对象 调用FileDescriptor * fd = im.import(“协议文件”); 新建一个协议文件:test.proto message test { requi
阅读全文
posted @ 2019-01-24 17:32 hgrical_小农
阅读(1473)
评论(0)
推荐(0)
使用Tftpd64工具将文件系统烧录到linux arm系统相关命令
摘要: setenv burn_tftp_rootfs 'mtdparts default;nand erase.part NAND.rootfs;ubi part NAND.rootfs 2048;ubi create rootfs;tftp ${loadaddr} rootfs.ubifs;ubi wr
阅读全文
posted @ 2019-01-24 17:11 hgrical_小农
阅读(939)
评论(0)
推荐(0)
linux 系统实用命令总结
摘要: linux 查看端口占用1、lsof -i:90902、netstat -tunlp|grep 端口号 systemctl status firewalld 查看firewalld状态systemctl start firewalld 开启防火墙systemctl stop firewalld 关闭
阅读全文
posted @ 2019-01-24 17:04 hgrical_小农
阅读(182)
评论(0)
推荐(0)
linux x86安装yum
摘要: 1、删除原有YUMrpm -aq|grep yum|xargs rpm -e --nodeps 2、下载yum安装文件wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x8
阅读全文
posted @ 2019-01-24 17:01 hgrical_小农
阅读(411)
评论(0)
推荐(0)
GDB常用命令总结
摘要: ptype 查看结构体定义set print pretty on/off 设置结构体显示时的样子show print pretty 查看 show print sevenbit-strings 查看字符显示set print sevenbit-strings on/off-设置 p $eip 查看寄
阅读全文
posted @ 2019-01-24 16:58 hgrical_小农
阅读(198)
评论(0)
推荐(0)
进程使用的文件描述符fd值达到最大值引起的问题
摘要: 1、问题描述 近日,在测试一个设备的SDK网关,当时我在测试断网情况下,sdk采集的数据是否能正常将数据保存到本地sqlite数据库,开始的时候程序一切正常按照预期的将采集数据存储到本地,如果断网时间不长又将网络连接上,那么sdk能正常的重连主网关也业务网关将存储在本地sqlite数据库的数据上传到
阅读全文
posted @ 2019-01-24 16:50 hgrical_小农
阅读(738)
评论(0)
推荐(0)
2017年7月23日
新Python 程序员有用的内建函数
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2017-07-23 16:47 hgrical_小农
阅读(11)
评论(0)
推荐(0)
2017年4月21日
RedHat静态Ip地址配置
摘要: RedHat静态Ip地址配置 依次修改以下三个文件: /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/resolv.conf 1./etc/sysconfig/network NETWORKING=yes N
阅读全文
posted @ 2017-04-21 17:20 hgrical_小农
阅读(618)
评论(0)
推荐(0)
1
2
下一页
公告