08 2020 档案

bitset c++
摘要:bit.size() 返回大小(位数) bit.count() 返回1的个数 bit.any() 返回是否有1 bit.none() 返回是否没有1 bit.set() 全都变成1 bit.set(p) 将第p + 1位变成1(bitset是从第0位开始的!) bit.set(p, x) 将第p + 阅读全文

posted @ 2020-08-31 11:31 lydstory 阅读(138) 评论(0) 推荐(0) 编辑

vim 多个文件操作
摘要:vim main.c get.c :n 切换下一个文件 :e main.c 编辑main.c 切换到main.c :sp get.c 分屏 显示main.c get.c :b1 bn :N上一个文件 :ls 显示打开文件缓存 :vsp 垂直分屏 ctrl+ 6 文件切换 ctrl + w + 上下的 阅读全文

posted @ 2020-08-31 10:08 lydstory 阅读(152) 评论(0) 推荐(0) 编辑

方案:流程调度处理
摘要:多进程 流程调度 -》进程间共享内存交互--》批次文件处理 阅读全文

posted @ 2020-08-28 09:29 lydstory 阅读(129) 评论(0) 推荐(0) 编辑

nmtui 界面修改ens33
摘要:https://blog.csdn.net/bai_ye_88/article/details/80490236 阅读全文

posted @ 2020-08-25 17:22 lydstory 阅读(274) 评论(0) 推荐(0) 编辑

ifconfig 命令找不到
摘要:yum install net-tools 阅读全文

posted @ 2020-08-25 17:14 lydstory 阅读(129) 评论(0) 推荐(0) 编辑

ld returned 1 exit status
摘要:ld returned 1 exit status 虚拟机 没有空间 -》原因 阅读全文

posted @ 2020-08-25 09:30 lydstory 阅读(186) 评论(0) 推荐(0) 编辑

0-15转二进制
摘要:二维字符数组。char s[16][5]={"0000","0001",...};cout<<s[k]<<endl; 阅读全文

posted @ 2020-08-24 13:50 lydstory 阅读(517) 评论(0) 推荐(0) 编辑

Linux网络编程socket选项之SO_LINGER,SO_REUSEADDR
摘要:Linux网络编程socket选项之SO_LINGER,SO_REUSEADDR from http://blog.csdn.net/feiyinzilgd/article/details/5894300 Linux网络编程中,socket的选项很多.其中几个比较重要的选项有:SO_LINGER(仅 阅读全文

posted @ 2020-08-22 17:20 lydstory 阅读(213) 评论(0) 推荐(0) 编辑

strtoul 16进制转换为cha字符
摘要:char a= (char)strtoul(hex,NULL,16); 阅读全文

posted @ 2020-08-22 12:25 lydstory 阅读(224) 评论(0) 推荐(0) 编辑

蓝湖
摘要:蓝湖 团队 阅读全文

posted @ 2020-08-20 18:09 lydstory 阅读(155) 评论(0) 推荐(0) 编辑

c结构体string 问题
摘要:typedef struct _Cluster_File{ int val; char url[240];}Cluster_File; url 定义为std::string 导致 赋值错误 >c语言的结构体少调用c++的string 阅读全文

posted @ 2020-08-20 12:52 lydstory 阅读(279) 评论(0) 推荐(0) 编辑

firewall-cmd --status
摘要:https://www.cnblogs.com/xxoome/p/7115614.html 阅读全文

posted @ 2020-08-20 10:06 lydstory 阅读(239) 评论(0) 推荐(0) 编辑

满庭芳-苏东坡
摘要:满庭芳-苏东坡 蜗角虚名,蝇头微利,算来著甚干忙。事皆前定,谁弱又谁强。且趁闲身未老,须放我、些子疏狂。百年里,浑教是醉,三万六千场。 思量,能几许?忧愁风雨,一半相妨。又何须抵死,说短论长。幸对清风皓月,苔茵展、云幕高张。江南好,千钟美酒,一曲满庭芳。 阅读全文

posted @ 2020-08-19 16:47 lydstory 阅读(422) 评论(0) 推荐(0) 编辑

msleep(1000 * 60);
摘要:msleep(1000 * 60); //1分钟 阅读全文

posted @ 2020-08-19 10:37 lydstory 阅读(190) 评论(0) 推荐(0) 编辑

cc2540 用GATT_Notification()函数数据发送问题
摘要:从机端通过GATT_Notification( 0, &pReport, FALSE )发送数据给主机,在主机端通过 osal_memcpy(&noti.value, &pMsg->msg.handleValueNoti.value,noti.len);能正常收到从机发来的数据,但是主机端利用GAT 阅读全文

posted @ 2020-08-19 10:20 lydstory 阅读(674) 评论(0) 推荐(0) 编辑

德克萨斯仪器公司
摘要:Texas Instruments Incorporated. CC2540是一个真正的系统单晶片解决方案,结合德州仪器的协议栈、轮廓软体及应用支援, CC2540成为市场上最具有弹性及成本效益的单模式低功率蓝牙解决方案 阅读全文

posted @ 2020-08-19 10:15 lydstory 阅读(215) 评论(0) 推荐(0) 编辑

AES、SHA256
摘要:AES、SHA256双重加密传输。应用访问协议支持HTTPS 阅读全文

posted @ 2020-08-18 17:14 lydstory 阅读(789) 评论(0) 推荐(0) 编辑

config.status: error: cannot find input file: `Makefile.in'
摘要:I thought that pam-devel would suffice. I've installed libtool and it's working now. Thanks! https://github.com/google/google-authenticator/issues/532 阅读全文

posted @ 2020-08-17 21:58 lydstory 阅读(596) 评论(0) 推荐(0) 编辑

AC_LIB_LINKFLAGS_BODY(iconv)'
摘要:Check if libusb-devel, libxml2-devel and gettext-devel are installed and then try running ./autogen.sh and then ./configure - this worked for me (fc19 阅读全文

posted @ 2020-08-17 21:53 lydstory 阅读(125) 评论(0) 推荐(0) 编辑

cairo替换不对系统不断重启
摘要:cairo替换不对系统不断重启 cairo替换不对系统不断重启 cairo替换不对系统不断重启 阅读全文

posted @ 2020-08-17 21:27 lydstory 阅读(68) 评论(0) 推荐(0) 编辑

cairo_pattern_mesh_begin_patch bug问题
摘要:Snapshot 1.11.2 (2011-01-23) In this first snapshot along the way to cairo-1.12.0, we are very excitedto announce the introduction of Bezier surface g 阅读全文

posted @ 2020-08-17 17:03 lydstory 阅读(127) 评论(0) 推荐(0) 编辑

tar.xz 解压
摘要:解压tar.xz文件:先 xz -d xxx.tar.xz 将 xxx.tar.xz解压成 xxx.tar 然后,再用 tar xvf xxx.tar来解包。 阅读全文

posted @ 2020-08-17 16:30 lydstory 阅读(143) 评论(0) 推荐(0) 编辑

gtk+编程
摘要:gtk+编程 阅读全文

posted @ 2020-08-17 16:18 lydstory 阅读(97) 评论(0) 推荐(0) 编辑

cario
摘要:https://www.cairographics.org/download/ 阅读全文

posted @ 2020-08-17 16:13 lydstory 阅读(160) 评论(0) 推荐(0) 编辑

poppler 编译问题
摘要:https://bugs.freedesktop.org/show_bug.cgi?id=34384 http://cairographics.org/snapshots/cairo-1.11.2.tar.gz //解决 阅读全文

posted @ 2020-08-17 16:09 lydstory 阅读(236) 评论(0) 推荐(0) 编辑

so库的大小会影响执行速度吗?
摘要:会,动态库是内存整体加载,如果动态库文件大,执行会影响? 所以没必须要的文件不要放到动态库中...... 阅读全文

posted @ 2020-08-17 15:04 lydstory 阅读(240) 评论(0) 推荐(0) 编辑

poppler
摘要:https://github.com/danigm/poppler 编译相关文章: https://www.cnblogs.com/gcczhongduan/p/5144926.html 阅读全文

posted @ 2020-08-17 14:54 lydstory 阅读(142) 评论(0) 推荐(0) 编辑

pdfium 别人的话
摘要:pdfium。wps目前是基于pdfium开发了pdf组件,很不错 阅读全文

posted @ 2020-08-17 14:49 lydstory 阅读(118) 评论(0) 推荐(0) 编辑

linux scandir
摘要:linux scandir linux scandirlinux scandir #include <dirent.h> 阅读全文

posted @ 2020-08-13 02:04 lydstory 阅读(101) 评论(0) 推荐(0) 编辑

C_At linux 定时器设置
摘要:C_At linux 定时器设置 C_At linux 定时器设置 C_At linux 定时器设置 C_At linux 定时器设置 阅读全文

posted @ 2020-08-12 14:47 lydstory 阅读(104) 评论(0) 推荐(0) 编辑

vim 去掉底色亮度(全局搜索)
摘要:用 :nohl 回车就可以了。这多半是因为你搜索过 global 这个关键字,而产生的底色亮度。 阅读全文

posted @ 2020-08-12 09:27 lydstory 阅读(441) 评论(0) 推荐(1) 编辑

top %cup id 使用率
摘要: 阅读全文

posted @ 2020-08-12 08:26 lydstory 阅读(93) 评论(0) 推荐(0) 编辑

1个线程池多个线程池
摘要:线程隔离 1.选择开销 阅读全文

posted @ 2020-08-11 13:30 lydstory 阅读(193) 评论(0) 推荐(0) 编辑

字体office
摘要: 阅读全文

posted @ 2020-08-10 20:26 lydstory 阅读(55) 评论(0) 推荐(0) 编辑

AddResourceFont
摘要:https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-removefontresourcea 阅读全文

posted @ 2020-08-10 17:12 lydstory 阅读(74) 评论(0) 推荐(0) 编辑

AddResourceFont 信息
摘要:https://www.it610.com/article/2704980.htm 阅读全文

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

临时字体
摘要:https://www.cnblogs.com/hgy413/archive/2011/09/16/3693591.html 阅读全文

posted @ 2020-08-10 13:42 lydstory 阅读(129) 评论(0) 推荐(0) 编辑

linux pause
摘要:int pause(void); 作用:使调用进程(线程)进入休眠状态(就是挂起);直到接收到信号且信号函数成功返回 pause函数才会返回 返回值:始终返回-1 阅读全文

posted @ 2020-08-10 11:09 lydstory 阅读(303) 评论(0) 推荐(0) 编辑

makefile find cpp
摘要:####################################### ELF=main DEBUG=-g LIB= -lpthread -lrt -lstdc++ ####################################### CC=g++ $(DEBUG) $(LIB) 阅读全文

posted @ 2020-08-10 08:49 lydstory 阅读(244) 评论(0) 推荐(0) 编辑

DSkin C#
摘要:DSkin C#界面库 阅读全文

posted @ 2020-08-10 08:07 lydstory 阅读(278) 评论(0) 推荐(0) 编辑

libxls
摘要:https://www.linuxidc.com/Linux/2017-02/141053.htm 阅读全文

posted @ 2020-08-10 07:45 lydstory 阅读(92) 评论(0) 推荐(0) 编辑

Broadcom
摘要:博通公司 阅读全文

posted @ 2020-08-08 17:38 lydstory 阅读(166) 评论(0) 推荐(0) 编辑

jtapi
摘要:https://www.it610.com/article/2542981.htm 阅读全文

posted @ 2020-08-08 17:05 lydstory 阅读(74) 评论(0) 推荐(0) 编辑

g++编译报错原因分析cannot allocate an object of abstract type“XXX ”
摘要:原因分析: 通过查看代码发现C++程序在创建一个类的对象时报错了错误类型是Cannot allocate an object of abstract type“XXX”原因是我的类继承自一个基类,该基类中的函数存在纯虚函数,而我的类中没有重载全部纯虚函数。 解决方法:在基类中申明的虚函数,在派生类中 阅读全文

posted @ 2020-08-07 15:03 lydstory 阅读(560) 评论(0) 推荐(0) 编辑

pthread_create传递参数
摘要:CIniFile thini("./preconfig.ini"); string strip=""; string strport=""; strip=thini.readStr("server","ip"); strport=thini.readStr("server","port"); str 阅读全文

posted @ 2020-08-07 12:50 lydstory 阅读(473) 评论(0) 推荐(0) 编辑

unix socket服务进程如何监控状态?
摘要:unix socket服务进程如何监控状态? unix socket服务进程如何监控状态? unix socket服务进程如何监控状态? 1.间接方法: netstat -ap --unix | grep MY-SOCKET-GETWATERCODE-SOFO 阅读全文

posted @ 2020-08-04 10:17 lydstory 阅读(456) 评论(0) 推荐(0) 编辑

fontcreate promon
摘要:fontcreate promon fontcreate promon 阅读全文

posted @ 2020-08-03 12:04 lydstory 阅读(86) 评论(0) 推荐(0) 编辑

17597 18055 字体的编码方式
摘要:const FoxitFonts g_FoxitFonts[14] = { {g_FoxitFixedFontData, 17597}, {g_FoxitFixedBoldFontData, 18055}, {g_FoxitFixedBoldItalicFontData, 19151}, {g_Fo 阅读全文

posted @ 2020-08-03 11:38 lydstory 阅读(131) 评论(0) 推荐(0) 编辑

10个线程并且启动它
摘要:/* */ void *thread(void *ptr) { BaseSocks basesock; basesock.run(1,callback); return 0; } void *thread2(void *ptr) { BaseSocks basesock; basesock.run( 阅读全文

posted @ 2020-08-03 09:24 lydstory 阅读(395) 评论(0) 推荐(0) 编辑

socket发送接收数据
摘要:1.先发送长度 2.按长度接收数据 阅读全文

posted @ 2020-08-02 14:25 lydstory 阅读(142) 评论(0) 推荐(0) 编辑

linger
摘要:某些具体程序要求待未发送完的数据发送出去后再关闭socket,可通过设置让程序满足要求: struct linger { u_short l_onoff; u_short l_linger; }; struct linger m_sLinger; m_sLinger.l_onoff = 1; //在 阅读全文

posted @ 2020-08-02 12:20 lydstory 阅读(329) 评论(0) 推荐(0) 编辑

导航

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