08 2019 档案

opensaml
摘要:https://www.jianshu.com/p/d041935641b4 阅读全文

posted @ 2019-08-31 23:37 lydstory 阅读(273) 评论(0) 推荐(0) 编辑

10年之后,只剩下余生
摘要:在大学刚毕业的时候,不知道哪里的文章说:要成为一个专业的专业人士,需要10年。 10年过去了,还是业余人事吗? 那我只剩下了余生,余生不要跟我谈人生,只谈技术...... 不是为了什么,什么也不为,只是想明白...... 明白那些我能明白的,唯一可以明白的..... 阅读全文

posted @ 2019-08-31 23:18 lydstory 阅读(124) 评论(0) 推荐(0) 编辑

easemob环信im
摘要:http://www.easemob.com/ 阅读全文

posted @ 2019-08-30 19:51 lydstory 阅读(166) 评论(0) 推荐(0) 编辑

OpenGL
摘要:OpenGL(英语:Open Graphics Library,译名:开放图形库或者“开放式图形库”)是用于渲染2D、3D矢量图形的跨语言、跨平台的应用程序编程接口(API 阅读全文

posted @ 2019-08-30 18:28 lydstory 阅读(175) 评论(0) 推荐(0) 编辑

基于Libpcap实现一个网络数据包嗅探器
摘要:基本功能就是来捕获所有流经本网卡的数据包。 实现流程: 阅读全文

posted @ 2019-08-25 19:06 lydstory 阅读(372) 评论(0) 推荐(0) 编辑

编译错误提示PATH_MAX未声明
摘要:解决办法: grep一下,发现PATH_MAX在limits.h中定义,在/scripts/mod/sumversion.c中添加#include <limits.h>即可。 阅读全文

posted @ 2019-08-21 14:30 lydstory 阅读(942) 评论(0) 推荐(0) 编辑

log库
摘要:https://github.com/orocos-toolchain/log4cpp https://github.com/search?q=glog zlog https://github.com/HardySimpson/zlog 阅读全文

posted @ 2019-08-21 14:09 lydstory 阅读(105) 评论(0) 推荐(0) 编辑

winpe
摘要:winpe winpe winpe 工具 判断是否pe系统的方法:GetSystemDisk() 阅读全文

posted @ 2019-08-21 11:22 lydstory 阅读(175) 评论(0) 推荐(0) 编辑

undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
摘要:解决方法 在QT工程的.pro文件中添加如下内容: LIBS=-ldl 阅读全文

posted @ 2019-08-21 11:07 lydstory 阅读(2866) 评论(1) 推荐(0) 编辑

QPrinter
摘要:在使用到QPrinter和QprintDialog类时的附加处理 ①若是在qt creator中,需要在 (.pro)工程文件中加入 “QT+= printsupport”,否则会编译报错 阅读全文

posted @ 2019-08-21 10:24 lydstory 阅读(468) 评论(0) 推荐(0) 编辑

log4cpp
摘要:centos?? 阅读全文

posted @ 2019-08-21 09:55 lydstory 阅读(108) 评论(0) 推荐(0) 编辑

QDomDocumen???
摘要:能生成docx??? 阅读全文

posted @ 2019-08-21 09:15 lydstory 阅读(98) 评论(0) 推荐(0) 编辑

类的当前对象传递给回调函数
摘要:run中传递*this指针。 阅读全文

posted @ 2019-08-20 16:57 lydstory 阅读(358) 评论(0) 推荐(0) 编辑

printk
摘要:不复杂啊,内核简单用 printk, 用dmesg 看就可以了 内核调试基本用 printk 完事,最多用宏定义来分隔一下 info, error, debug 阅读全文

posted @ 2019-08-20 16:22 lydstory 阅读(131) 评论(0) 推荐(0) 编辑

glog 与 zlog
摘要:1.linux 源码调用 2.log 3级 info error debug 3.调用便利性 4.配置文件 动态加载 5.输出 log 文件 (大小 时间) 6大批量写入 (100条一次写入) 7设置时间自动删除 easylogging++ 阅读全文

posted @ 2019-08-20 14:44 lydstory 阅读(701) 评论(0) 推荐(0) 编辑

cmake 加入调试信息
摘要:1 首先在CMakeLists.txt中加入 SET(CMAKE_BUILD_TYPE "Debug")1在下面加入: SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb") SET(CMAKE_CXX_FLAGS_RELEASE 阅读全文

posted @ 2019-08-19 20:24 lydstory 阅读(9210) 评论(0) 推荐(0) 编辑

No symbol table is loaded. Use the "file" command.
摘要:No symbol table is loaded. Use the "file" command. gdb 1. 首先使用gcc -g .c文件 -o 可执行文件名 进行编译,再使用gdb + 可执行文件名进入gdb环境,进行调试。 命令如下如: (1) gcc -g test.c -o test 阅读全文

posted @ 2019-08-19 20:19 lydstory 阅读(2476) 评论(0) 推荐(1) 编辑

查看hg 版本下有那些文件???
摘要:https://www.cnblogs.com/Chen-Programe/p/8883043.html 阅读全文

posted @ 2019-08-19 17:02 lydstory 阅读(196) 评论(0) 推荐(0) 编辑

#ifdef 宏定义一个main编译客户端服务端2套代码
摘要:#include <iostream> using namespace std; #include "ProWrapper.h" #include "ServerSocket.h" #ifdef SERVERMAIN int main() { ServerSocket serversocks; serversocks.socks_server_open(1); serversocks.set_wa 阅读全文

posted @ 2019-08-19 16:53 lydstory 阅读(283) 评论(0) 推荐(0) 编辑

头文件 <sys/un.h>
摘要:struct sockaddr_un server_sockaddr ; struct sockaddr_un cli_sockaddr ; 阅读全文

posted @ 2019-08-19 15:07 lydstory 阅读(1450) 评论(0) 推荐(0) 编辑

slect fd_set
摘要:select()机制中提供一fd_set的数据结构,实际上是一long类型的数组,每一个数组元素都能与一打开的文件句柄(不管是socket句柄,还是其他文件或命名管道或设备句柄)建立联系,建立联系的工作由程序员完成,当调用select()时,由内核根据IO状态修改fd_set的内容,由此来通知执行了 阅读全文

posted @ 2019-08-19 14:09 lydstory 阅读(202) 评论(0) 推荐(0) 编辑

策略模式
摘要:策略模式是指定义一系列的算法,把它们单独封装起来,并且使它们可以互相替换,使得算法可以独立于使用它的客户端而变化,也是说这些算法所完成的功能类型是一样的,对外接口也是一样的,只是不同的策略为引起环境角色环境角色表现出不同的行为。 相比于使用大量的if...else,使用策略模式可以降低复杂度,使得代 阅读全文

posted @ 2019-08-18 14:37 lydstory 阅读(102) 评论(0) 推荐(0) 编辑

accept 修改后
摘要: 阅读全文

posted @ 2019-08-18 12:13 lydstory 阅读(136) 评论(0) 推荐(0) 编辑

静态成员函数修改类成员函数值
摘要:https://blog.csdn.net/u010810750/article/details/81873408?utm_source=blogxgwz1 阅读全文

posted @ 2019-08-18 11:41 lydstory 阅读(454) 评论(0) 推荐(0) 编辑

两个问题
摘要:1.类的对象传递给静态成员函数 2. fork 以后 直接响应,而不是请求 阅读全文

posted @ 2019-08-18 10:44 lydstory 阅读(116) 评论(0) 推荐(0) 编辑

accept
摘要:accept()是在一个套接口接受的一个连接。accept()是c语言中网络编程的重要的函数,本函数从s的等待连接队列中抽取第一个连接,创建一个与s同类的新的套接口并返回句柄。 阅读全文

posted @ 2019-08-18 10:16 lydstory 阅读(364) 评论(0) 推荐(0) 编辑

cmake 支持-lpthread
摘要:set(CMAKE_BUILD_TYPE "Release")if( CMAKE_BUILD_TYPE STREQUAL "Debug" ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -Wall -Wno-unused-variabl 阅读全文

posted @ 2019-08-18 02:02 lydstory 阅读(2386) 评论(0) 推荐(0) 编辑

Connection reset by peer
摘要:tcp的某一方发出了tcp_sync包,另一方就connection reset了一般是程序不正常退出导致 因为排队的数量有限,所以压力很大的时候系统会自动把队列外的断开连接。通过加大listen的backlog可以增加队列数。另外,就是想系统设计上的其他方法来减少accept的等待时间。 conn 阅读全文

posted @ 2019-08-17 19:57 lydstory 阅读(907) 评论(0) 推荐(0) 编辑

qt创建无qt工程
摘要:qt创建无qt工程,cmake . eclipse 编写makefile 代码 阅读全文

posted @ 2019-08-17 15:39 lydstory 阅读(176) 评论(0) 推荐(0) 编辑

linux socketpair
摘要:命名管道? or 命名socket ?? 一个进程读 一个写 阅读全文

posted @ 2019-08-17 13:49 lydstory 阅读(116) 评论(0) 推荐(0) 编辑

误导_socket
摘要:https://www.ibm.com/developerworks/cn/linux/l-socket-ipc/index.html 阅读全文

posted @ 2019-08-16 16:52 lydstory 阅读(112) 评论(0) 推荐(0) 编辑

Linux中error while loading shared libraries错误解决办法
摘要:默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件,通常通过源码包进行安装时,如果不指定--prefix,会将库安装在/usr/local/lib目录下;当运行程序需要链接动态库时,提示找不到相关的.so库,会报错。也就是说,/usr/local/lib目录不在系统默认的库搜索 阅读全文

posted @ 2019-08-16 15:42 lydstory 阅读(139) 评论(0) 推荐(0) 编辑

fork执行一个进程
摘要:https://coolr321.github.io/2018/10/30/%E4%B8%80%E4%B8%AAfork-%E8%B0%83%E7%94%A8%E7%9A%84%E4%BE%8B%E5%AD%90/ 阅读全文

posted @ 2019-08-16 14:57 lydstory 阅读(287) 评论(0) 推荐(0) 编辑

vscode centos
摘要:https://www.cnblogs.com/My-Jinse/articles/8400137.html rpm -ql 包名 缺少libXss.so.1()(64bit) yum install libXss* -y yum install libXss* -y 阅读全文

posted @ 2019-08-16 13:49 lydstory 阅读(114) 评论(0) 推荐(0) 编辑

缺少libXss.so.1()(64bit)
摘要:yum install libXss* -y 阅读全文

posted @ 2019-08-16 13:47 lydstory 阅读(8768) 评论(0) 推荐(0) 编辑

好书 都绝版了
摘要: 阅读全文

posted @ 2019-08-15 23:32 lydstory 阅读(181) 评论(0) 推荐(0) 编辑

格式化抽象本地地址(实战linux socket编程)
摘要:格式化抽象本地地址传统AF_UNIX套接口名字的麻烦之一就在于总是调用文件系统对象。这不是必须的,而且也不方便。如果原始的文件系统对象并没有删除,而在bind调用时使用相同的文件名,名字赋值就会失败。Linux 2.2内核使得为本地套接口创建一个抽象名了成为可能。他的方法就是使得路径名的第一个字节为 阅读全文

posted @ 2019-08-15 20:53 lydstory 阅读(307) 评论(0) 推荐(0) 编辑

netstat -pa --unix >>test.txt
摘要:netstat -pa --unix >>test.txt 输出套接字 命名socket信息 阅读全文

posted @ 2019-08-15 20:43 lydstory 阅读(173) 评论(0) 推荐(0) 编辑

双重循环实现函数确保调用
摘要:#define wrap_call(dtype, x) \ do { \ dtype result; \ do { \ result = x; \ } while ((result == -1) && (errno == EINTR)); \ return result; \ } while (0) int accept_noeintr(int socket, struct sockaddr *r 阅读全文

posted @ 2019-08-15 19:05 lydstory 阅读(203) 评论(0) 推荐(0) 编辑

UNIX域Socket命名空间
摘要:https://blog.csdn.net/qq_35904259/article/details/61204130 阅读全文

posted @ 2019-08-15 17:14 lydstory 阅读(151) 评论(0) 推荐(0) 编辑

curl直接作为http的客户端?也是醉了
摘要: 阅读全文

posted @ 2019-08-15 16:08 lydstory 阅读(418) 评论(0) 推荐(0) 编辑

齐次方程
摘要:https://baike.baidu.com/item/%E9%BD%90%E6%AC%A1%E6%96%B9%E7%A8%8B/7066764?fr=aladdin 阅读全文

posted @ 2019-08-15 15:28 lydstory 阅读(185) 评论(0) 推荐(0) 编辑

ZooKeeper
摘要:ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubby一个开源的实现,是Hadoop和Hbase的重要组件。它是一个为分布式应用提供一致性服务的软件,提供的功能包括:配置维护、域名服务、分布式同步、组服务等。 ZooKeeper的目标就是封装好复杂易出错的关 阅读全文

posted @ 2019-08-15 14:13 lydstory 阅读(147) 评论(0) 推荐(0) 编辑

linux命名空间
摘要:https://blog.csdn.net/guotianqing/article/details/82356096 阅读全文

posted @ 2019-08-14 19:14 lydstory 阅读(118) 评论(0) 推荐(0) 编辑

linux fcntl 对文件描述符控制
摘要:linux fcntl 对文件描述符控制 linux fcntl 对文件描述符控制 linux fcntl 对文件描述符控制 阅读全文

posted @ 2019-08-14 19:04 lydstory 阅读(225) 评论(0) 推荐(0) 编辑

Linux下Qt调用共享库文件.so
摘要:修改已有的pro文件,添加如下几句: INCLUDEPATH += /home/ubuntu/camera/camera/LIBS += -L/home/ubuntu/camera/camera -ltestINCLUDEPATH添加了项目的目录,以便找到头文件,而LIBS添加的是共享库文件,-L添 阅读全文

posted @ 2019-08-14 14:28 lydstory 阅读(3351) 评论(0) 推荐(0) 编辑

zero udp
摘要:Description UDP transport can only be used with the ZMQ_RADIO and ZMQ_DISH socket types. 阅读全文

posted @ 2019-08-14 12:17 lydstory 阅读(166) 评论(0) 推荐(0) 编辑

protobuf使用
摘要:https://blog.csdn.net/yang332233/article/details/83657735 阅读全文

posted @ 2019-08-14 11:24 lydstory 阅读(94) 评论(0) 推荐(0) 编辑

c++ 11
摘要:https://www.cnblogs.com/DswCnblog/p/6369576.html ‘static_assert’在此作用域中尚未声明 g++ -std=c++11 client.cpp -I/usr/local/include -I/usr/local/include/google/ 阅读全文

posted @ 2019-08-14 11:12 lydstory 阅读(107) 评论(0) 推荐(0) 编辑

zmq作为守护进程?等待连接
摘要:服务端是作为守护进程在运行的,客户端connect成功,但write时直接退出了,我在想肯能服务端socket在write时已经失效了,不然为什么会出现write时进程退出呢?现在的问题是,我要怎么才能判断在write时socket是否有效呢,另外,如果sokcet有效的话还会有什么原因会导致客户端 阅读全文

posted @ 2019-08-14 10:35 lydstory 阅读(257) 评论(0) 推荐(0) 编辑

zmq利用protobuf通信
摘要:protobuf序列化之后为二进制数据,数据中可能包含 ‘\0’,直接转换为char *类型会导致发送数据不完整。解决方法: void buildProtobufMsg(const string& test,zmq::message_t *msg){ if (msg == nullptr) { re 阅读全文

posted @ 2019-08-14 10:25 lydstory 阅读(939) 评论(0) 推荐(0) 编辑

python cv2 恢复手机图片
摘要:找到可以恢复的手机图片 矩阵相乘 mat() {} 量化表 8*8 矩阵 与 2 4 2 2 16 16 16后面都是16的8*8矩阵相乘 计算变化的位是否可恢复 单独一张jpg的计算函数 阅读全文

posted @ 2019-08-14 09:00 lydstory 阅读(330) 评论(0) 推荐(0) 编辑

zeromq protobuf例子
摘要:https://github.com/AifiHenryMa/zeromq_protocolbuffer_demo https://github.com/protocolbuffers/protobuf github protobuf 随着使用的协议而有所不同,具体如下: TCP (tcp://ho 阅读全文

posted @ 2019-08-13 20:37 lydstory 阅读(1323) 评论(0) 推荐(0) 编辑

国产飞腾服务器
摘要:https://blog.csdn.net/lb1885727/article/details/81363189 国产机 编译qt5.9 qml 等模块 阅读全文

posted @ 2019-08-13 20:16 lydstory 阅读(1640) 评论(0) 推荐(0) 编辑

wkhtmltopdf linux下html转pdf
摘要:https://blog.csdn.net/wujunlei1595848/article/details/91129197 https://github.com/wkhtmltopdf/wkhtmltopdf github 阅读全文

posted @ 2019-08-13 20:11 lydstory 阅读(364) 评论(0) 推荐(0) 编辑

singleton 类模板限制类只能定义一个对象
摘要:singleton 类模板限制类只能定义一个对象 singleton 类模板限制类只能定义一个对象 singleton 类模板限制类只能定义一个对象 ??? 阅读全文

posted @ 2019-08-13 19:49 lydstory 阅读(169) 评论(0) 推荐(0) 编辑

zeromq
摘要:https://github.com/zeromq/libzmq 就那样吧,有些特色,也有一些坑。适用于基于报文的通信协议,但报文尺寸不能太大,控制在几K左右效果最佳。完全不适用于基于流的协议比如类似FTP那种。API设计的不错,但背后干了太多的事,包括但不限于创建了一个线程池、一个epoll lo 阅读全文

posted @ 2019-08-13 14:55 lydstory 阅读(235) 评论(0) 推荐(0) 编辑

Boost库进程通信
摘要:https://github.com/bakkot/unix-socket-protobuf/tree/master/CPP/src https://github.com/bakkot/unix-socket-protobuf/blob/master/CPP/src/server_sync.cc 阅读全文

posted @ 2019-08-13 14:41 lydstory 阅读(409) 评论(0) 推荐(0) 编辑

问题一:多进程通信
摘要:目标平台:linux、unix,如果能支持windows更好(不强求)进程调度库:1、基于io的调度,支持select、poll、epoll等2、支持多线程3、能提供较高精度的timer4、性能优秀只用过libevent和一些项目自带的调度系统{:3_188:} 进程通信库:1、一对一模式,通信内容 阅读全文

posted @ 2019-08-13 14:13 lydstory 阅读(207) 评论(0) 推荐(0) 编辑

Boost.Interprocess
摘要:https://github.com/svebert/InterprocessMsg 好像消息队列 阅读全文

posted @ 2019-08-13 13:51 lydstory 阅读(485) 评论(0) 推荐(0) 编辑

AF_UNIX
摘要:3、SOCK_SEQPACKET SOCK_SEQPACKET提供一个顺序确定的,可靠的,双向基于连接的socket endpoint. 与SOCK_STREAM不同的是,它保留消息边界。(表明发送两个数据包,只能分两次读入)使用SOCK_SEQPACKET工作模式,就可以保证每次write都会发起 阅读全文

posted @ 2019-08-13 13:14 lydstory 阅读(612) 评论(0) 推荐(0) 编辑

中标麒麟
摘要:#uname -a Linux localhost.localdomain 3.10.0-2.nd7.17.mips64el #1 SMP PREEMPT Sat Nov 24 01:42:14 CST 2018 mips64 mips64 mips64 GNU/Linux 2017中标麒麟操作系统 阅读全文

posted @ 2019-08-12 22:06 lydstory 阅读(286) 评论(0) 推荐(0) 编辑

centos安装qt5.9
摘要:https://www.cnblogs.com/lsgxeva/p/7688884.html /opt/Qt5.9.2/5.9.2/gcc_64/lib/opt/Qt5.9.2/Tools/QtCreator/lib/opt/Qt5.9.2/5.9.2/gcc_64/bin/opt/Qt5.9.2/ 阅读全文

posted @ 2019-08-12 16:40 lydstory 阅读(417) 评论(0) 推荐(0) 编辑

ldd ./socket_client
摘要:export LD_LIBRARY_PATH=/usr/local/lib 阅读全文

posted @ 2019-08-12 14:52 lydstory 阅读(102) 评论(0) 推荐(0) 编辑

hg remove
摘要:http://blog.sina.com.cn/s/blog_53b7ddf00101juj7.html 阅读全文

posted @ 2019-08-12 13:48 lydstory 阅读(193) 评论(0) 推荐(0) 编辑

makefile c90错误
摘要:gcc -std=c99 阅读全文

posted @ 2019-08-12 13:43 lydstory 阅读(266) 评论(0) 推荐(0) 编辑

linux 套接字
摘要:三.命名套接字 之前的socket只是创建了一个没有名字的资源,其他进程无法访问他.所以也无法从它接受消息.只有当bind给套接字绑定了端口和名字后,其他进程才能找到它. 一般服务器是一定要bind,但是客户端就不一定了.如果做一个简单的echo服务器的话,那么客户端只直接去connect服务器就可 阅读全文

posted @ 2019-08-12 11:17 lydstory 阅读(1494) 评论(0) 推荐(0) 编辑

netlink获取网卡信息
摘要:https://blog.csdn.net/zahuopuboss/article/details/9815751 阅读全文

posted @ 2019-08-12 10:30 lydstory 阅读(422) 评论(0) 推荐(0) 编辑

在Linux下如果要使用接口标志要加什么头文件吗?因为我在使用IFF_UP时会出错,说是未定义
摘要:头文件一般放在/usr/include目录下,用grep 'IFF_UP' /usr/include/*.* |less这个命令查找一下在哪个头文件里面有定义。 追问 嗯~这个方法确实可以查找到一些函数,可是我的IFF_UP查不到( ⊙ o ⊙ )如果要使用的IFF_UP的话就不知道要在哪里去解决下 阅读全文

posted @ 2019-08-12 10:25 lydstory 阅读(698) 评论(0) 推荐(0) 编辑

linux hg 查看当前提交的所有版本及注释
摘要:linux hg 查看当前提交的所有版本及注释? linux hg 查看当前提交的所有版本及注释? linux hg 查看当前提交的所有版本及注释? 回答: hg log 阅读全文

posted @ 2019-08-12 09:29 lydstory 阅读(312) 评论(0) 推荐(0) 编辑

SOCK_SEQPACKE
摘要:The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type, and is also connection-oriented. The only difference between these types is that re 阅读全文

posted @ 2019-08-11 18:26 lydstory 阅读(990) 评论(0) 推荐(0) 编辑

socket 进程通讯理解
摘要:【转】https://blog.csdn.net/andrewgithub/article/details/81613120 正如可以给fopen的传入不同参数值,以打开不同的文件。创建socket的时候,也可以指定不同的参数创建不同的socket描述符,socket函数的三个参数分别为: doma 阅读全文

posted @ 2019-08-11 17:32 lydstory 阅读(200) 评论(0) 推荐(0) 编辑

fedora 28 missing PROG bison
摘要:yum install bison Missing PROG dlltool Missing PROG flex Missing PROG mt 阅读全文

posted @ 2019-08-11 02:14 lydstory 阅读(131) 评论(0) 推荐(0) 编辑

autogen.sh
摘要:configure make 阅读全文

posted @ 2019-08-11 01:40 lydstory 阅读(111) 评论(0) 推荐(0) 编辑

macro `AM_PROG_LIBTOOL’ not found in library
摘要:https://blog.csdn.net/yongcai1/article/details/8693068 yum install libtool 阅读全文

posted @ 2019-08-11 01:35 lydstory 阅读(810) 评论(0) 推荐(0) 编辑

fedora28 安装automake
摘要:yum install automake yum install hg //版本管理 阅读全文

posted @ 2019-08-11 01:18 lydstory 阅读(190) 评论(0) 推荐(0) 编辑

fedora 28 winscp链接不上
摘要:systemctl restart sshd.service //启动sshd服务 systemctl stop firewalld //关闭防火墙 /etc/selinux/config //关闭selinux 阅读全文

posted @ 2019-08-11 00:59 lydstory 阅读(251) 评论(0) 推荐(0) 编辑

fedora28 修改root密码
摘要:https://blog.csdn.net/chenjunfengf/article/details/80774382 阅读全文

posted @ 2019-08-10 23:38 lydstory 阅读(278) 评论(0) 推荐(0) 编辑

Failed selinux 错误
摘要:再看他如何解决,步骤大概是: 1、开机之后进入linux启动选择界面,停在平时启动的哪那一行按E键,进入grub编辑页面。 2、按↓键光标往下移,在标签fi下面的内容里加上一个enforcing=0。 3、Ctrl+X启动系统。 阅读全文

posted @ 2019-08-10 21:24 lydstory 阅读(228) 评论(0) 推荐(0) 编辑

查看当前系统版本
摘要:[root@localhost ~]# getconf LONG_BIT 64 阅读全文

posted @ 2019-08-10 17:14 lydstory 阅读(137) 评论(0) 推荐(0) 编辑

启动eclipse出现JVM terminated. Exit code=127 错误解决办法
摘要:https://blog.csdn.net/wpzsidis/article/details/72954387 进去第二次又错 阅读全文

posted @ 2019-08-10 16:41 lydstory 阅读(1525) 评论(0) 推荐(0) 编辑

libnl
摘要:https://github.com/thom311/libnl/tree/master/tests 阅读全文

posted @ 2019-08-09 19:56 lydstory 阅读(137) 评论(0) 推荐(0) 编辑

lsm和lkm模块
摘要:使用LSM Hook框架进行内核安全审计、元数据捕获,安全人员只需要按照既定的调用规范编写LKM模块,并加载进Linux内核,而不需要对system call lookup表进行任何修改 https://www.cnblogs.com/LittleHann/p/4134939.html 阅读全文

posted @ 2019-08-09 19:30 lydstory 阅读(681) 评论(0) 推荐(0) 编辑

新知识需要
摘要:lsm netlink 一般来说用户空间和内核空间的通信方式有三种:/proc、ioctl、Netlink。而前两种都是单向的,但是Netlink可以实现双工通信。 Netlink协议基于BSD socket和AF_NETLINK地址簇(address family),使用32位的端口号寻址(以前称 阅读全文

posted @ 2019-08-09 15:42 lydstory 阅读(145) 评论(0) 推荐(0) 编辑

32位程序问题
摘要:这里编译的是 32 位 release 版本 64位下可以使用最好各用个的,因为32位的用在64位下 有时候会导致功能失效,效果不好 阅读全文

posted @ 2019-08-09 15:41 lydstory 阅读(136) 评论(0) 推荐(0) 编辑

qt布局
摘要:https://www.cnblogs.com/lsgxeva/p/7807029.html 阅读全文

posted @ 2019-08-07 01:53 lydstory 阅读(96) 评论(0) 推荐(0) 编辑

rtp 协议
摘要:http://www.makaidong.com/%E5%8D%9A%E5%AE%A2%E5%9B%AD%E6%9C%89/17947.shtml 阅读全文

posted @ 2019-08-04 22:07 lydstory 阅读(77) 评论(0) 推荐(0) 编辑

c++实现双向链表
摘要:c++实现双向链表 友元类作用 几个class协作 类似c语言多个struct 阅读全文

posted @ 2019-08-04 20:42 lydstory 阅读(103) 评论(0) 推荐(0) 编辑

qt多线程
摘要:问题解决,可以通过信号和槽来解决。在qt子线程里确实不能访问主窗口的某些部件,不过可以通过信号和槽来完成这个任务。生成子线程的时候,先将主线程和子线程关联,在子线程任务完成之后给主线发送信号,让主线来完成最后的处理 阅读全文

posted @ 2019-08-04 02:23 lydstory 阅读(157) 评论(0) 推荐(0) 编辑

C# System.Windows.Forms.Panel
摘要:UserControl 定义的界面 输出到panel 实现界面切换 阅读全文

posted @ 2019-08-04 00:19 lydstory 阅读(1306) 评论(0) 推荐(0) 编辑

QMap的key也可以是一个结构体类吗?
摘要:QMap<usbsnvidpid, QVector<QString>> USBVIDPIDTIME; USBVIDPIDTIME.insert(m_vidpidsn, timevect); 插入语句错误 找不到左操作符? 阅读全文

posted @ 2019-08-03 17:21 lydstory 阅读(507) 评论(0) 推荐(0) 编辑

qt大小写字符串比较
摘要:https://blog.csdn.net/GraceLand525/article/details/48625593 阅读全文

posted @ 2019-08-02 16:08 lydstory 阅读(572) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示