大约有 40,000 项符合查询结果(耗时:0.0462秒) [XML]

https://www.tsingfun.com/it/cpp/2140.html 

解决WaitForSingleObject阻塞UI线程的问题 - C/C++ - 清泛网 - 专注C/C++及内核技术

..., FALSE, INFINITE, QS_ALLINPUT); switch(dwRet) { case WAIT_OBJECT_0: break; //break the loop case WAIT_OBJECT_0 + 1: //get the message from Queue //and dispatch it to specific window PeekMessage(&msg, NULL, 0, 0, PM_REMOVE); DispatchMessage(&msg); continue; def...
https://www.tsingfun.com/it/cpp/2186.html 

MFC 获取当前时间的几种方法总结 - C/C++ - 清泛网 - 专注C/C++及内核技术

...me::GetCurrentTime();//获取当前的时间 COleDateTimeSpan timespan( 0, 8, 0, 0 ); //(Day, Hour, Minute, Second); COleDateTime time=today + timespan; //Time比Today加了八小时 CString str; str=time.Format("%H:%M %Y-%m-%d"); AfxMessageBox(str); 4.time_t(转换成秒) SY...
https://www.tsingfun.com/it/os_kernel/2494.html 

【解决】bufferevent_openssl.c:228:19: error: storage size of \'methods...

...revent_openssl.lo' failed 原因: 系统openssl的安装版本是1.1.0+,而xunsearch安装包里的libevent 2.0.x需要openssl < 1.1.0,导致不兼容报错。 常用的几个Linux发行版已经把系统的openssl升级到了1.1.0+,即对应需要libevent 2.1.x+,而libevent 2.1.x...
https://www.tsingfun.com/it/bigdata_ai/1800.html 

C# 操作MongoDb插入、更新、查询 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...MongoDb插入、更新、查询Mongo连接字符串形式:mongodb: 127.0.0.1:27017 插入或更新一条记录BsonDocument doc = new BsonDocument();...MongoServer serv...Mongo连接字符串形式:mongodb://127.0.0.1:27017 // 插入或更新一条记录 BsonDocument doc = new BsonDocument...
https://www.tsingfun.com/it/tech/1086.html 

设置用户默认权限 Umask命令详解 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...解它。umask用在创建文件或目录时设置权限掩码,通常是0022:shell> umask0022注:0...说起来umask是个很常见的命令,但很多人其实并不完全理解它。 umask用在创建文件或目录时设置权限掩码,通常是0022: shell> umask 0022 注:0022...
https://www.tsingfun.com/it/tech/1133.html 

CSS counter-increment 属性经典详解 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...实例详解它的用法: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body {counter-reset:section;} h1 {counter-reset:subsection;} h1:before { counter-increment:sectio...
https://www.tsingfun.com/it/tech/1781.html 

nsis安装、卸载时如何判断程序是否正在运行 并提示关闭? - 更多技术 - 清...

...-------------!include logiclib.nshFindProcDLL::FindProc "Test.exe"StrCmp $R0... ;-------------------------------------------------------------- !include logiclib.nsh FindProcDLL::FindProc "Test.exe" StrCmp $R0 1 0 +2 messagebox::show MB_SETFOREGROUND|MB_ICONHAND|MB_DEFBUTTON3|MB_TOPMOST "${PR...
https://www.tsingfun.com/it/tech/2430.html 

Google breakpad stackwalker无法加载符号 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...++11.sym #todo: mkdir -p ./symbols/c++11/6EDC6ACDB282125843FD59DA9C81BD830 mv tmp/c++11.sym ./symbols/c++11/6EDC6ACDB282125843FD59DA9C81BD830 rm -rf tmp 路径有要求,GUID来自 .so 文件的头部。 为了方便,写个 python 脚本 gen_symbols.py 自动生成: #!/usr/bin/pyth...
https://www.tsingfun.com/it/tech/2469.html 

h5页面在手机端禁用横向滚动 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...单的css就能解决,代码如下,亲测有效: * { padding: 0; margin: 0; } html,body { width: 100%; height: 100%; position: absolute; left: 0;top: 0; overflow: hidden; overflow-y: auto; } 完美~
https://bbs.tsingfun.com/thread-487-1-1.html 

Linux Shell脚本参数的获取方法 - 脚本技术 - 清泛IT社区,为创新赋能!

$0 (脚本名),$1-$9 参数$# 参数个数(脚本名除外) $? 取上个命令退出码(exit xx, 函数return xx)一般0成功,1失败 #!/bin/sh echo 'file name:' $0 echo 'param num: ' $# if [ $# -gt 1 ]; then echo 'the second param:' $2 fi ./param.sh file name: ./param.sh param num:...