Linux文件查找详解 locate: 非实时,模糊匹配,查找根据全系统文件数据库进行的#updatedb ,手动生成文件数据库 生成耗时,但是查找快find: 实时 精确 支持众多查找标准 遍历指定目录中的所有文件完成查找,速度慢 find 查找路径 查找标准 查找到以后的处理运作查找路径: 默认 ...
分类:
其他好文 时间:
2019-05-19 10:19:52
阅读次数:
121
Embedding SAPUI5 Applications You can embed SAPUI5 applications directly into the SAP Fiori launchpad on Portal to enhance the user experience. Prereq ...
分类:
其他好文 时间:
2019-05-17 10:55:46
阅读次数:
148
问题:The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we rec ...
分类:
其他好文 时间:
2019-05-13 09:12:55
阅读次数:
691
在ip_local_deliver中,如果检测到是分片包,则需要将报文进行重组。其所有的分片被重新组合后才能提交到上层协议,每一个被重新组合的数据包文用ipq结构实例来表示 网络空间分段管理结构 struct netns_frags { /* The percpu_counter "mem" nee ...
分类:
其他好文 时间:
2019-05-11 18:21:31
阅读次数:
113
网上很多流传关于Mysql字符串对比的函数性能说法是 INSTR >> LOCATE >> LIKE 字符串,所以今天我自己测一下看看真假。 这是在字符串较长的情况下测试的结果 一亿次执行的情况下 like 优于 locate 和 instr , instr 和 locate 十分接近。 这是在字符 ...
分类:
其他好文 时间:
2019-05-09 21:37:55
阅读次数:
461
D. Animals and Puzzle 题目连接: http://codeforces.com/contest/713/problem/D Description Owl Sonya gave a huge lake puzzle of size n?×?m to hedgehog Filya ...
分类:
其他好文 时间:
2019-05-09 10:58:57
阅读次数:
146
exportname=VALUE环境变量赋值,声明exportname=VALUEdeclare-xname=VALUE变量引用${name}$name花括号保存了变量完整性查看环境变量envprintenvexportdeclare-x删除环境变量unsetname这些都是位置变量$1脚本第一个参数$2脚本第二个参数$*脚本所有参数但是这些参数看成1个整体$@脚本所有参数,但这些参数分开排列$0
分类:
其他好文 时间:
2019-05-01 16:06:21
阅读次数:
144
错误信息:1,浏览器报500页面,2,nginx日志报错信息如下:[error]11243#0:*11550FastCGIsentinstderr:"PHPmessage:PHPFatalerror:Allowedmemorysizeof134217728bytesexhausted(triedtoallocate57257775bytes)解决方法:因为php默认内存限制是128M,所
分类:
其他好文 时间:
2019-05-01 10:23:42
阅读次数:
127
一、搜索文件 1、locate xxx.log 全盘搜索xxx.log文件 2、which java 查找命令 3、ll xxx.log 在目录下查找文件 二、搜索内容 1、grep xxx *.log 在指定文件中查找内容。不需要打开文件 2、grep xxx *.log --color -C20 ...
分类:
系统相关 时间:
2019-04-30 16:52:27
阅读次数:
159
这里需要用到cfgmgr32.h,参考网络上好几篇博文,大多数写的不是很清楚或者不甚完整。 网上的文章基本上没提到要引入lib,我用VS2010测试会报错,提示“...error LNK2019: 无法解析的外部符号 __imp__CM_Reenumerate_DevNode@8...”、“...e ...
分类:
编程语言 时间:
2019-04-29 23:45:47
阅读次数:
268