Unit testing means testing individual modules of an application in isolation (without any interaction with dependencies) to confirm that the code is d ...
分类:
其他好文 时间:
2020-07-01 12:21:45
阅读次数:
66
受害者端:nfsniff.c #include <linux/module.h> #include <linux/kernel.h> #include <linux/skbuff.h> #include <linux/in.h> #include <linux/ip.h> #include <lin ...
分类:
其他好文 时间:
2020-06-30 15:58:59
阅读次数:
58
大数据的时代,网络爬虫已经成为了获取数据的一个重要手段。 但要学习好爬虫并没有那么简单。首先知识点和方向实在是太多了,它关系到了计算机网络、编程基础、前端开发、后端开发、App 开发与逆向、网络安全、数据库、运维、机器学习、数据分析等各个方向的内容,它像一张大网一样把现在一些主流的技术栈都连接在了一 ...
分类:
编程语言 时间:
2020-06-30 14:26:14
阅读次数:
46
前言 我负责努力,其余交给运气。 写这篇文章,是因为之前写了一篇如何解决button点击范围过小的文章,然后评论区小伙伴说hitTest也可以,然后我就查了一下hitTest,发现真的有其牛逼之处,所以整理一下。 一、什么是hitTest 官方文档中介绍(若理解翻译的不对还请指正):- (UIVie ...
分类:
移动开发 时间:
2020-06-30 10:55:30
阅读次数:
65
QComboBox下拉列表框 //定义字符串列表 QStringList str; str << "数学" << "语文" << "地理"; //将字符串列表绑定QComboBox 控件 comboBox->addItems(str); QFontComboBox字体下拉列表框 fontComboB ...
分类:
其他好文 时间:
2020-06-30 00:55:51
阅读次数:
100
最近真没有什么好写的东西,就是两个刀框总出各种问题,然后收集日志的本事就见涨,这个真不是什么好事。一般情况下,在刀框发生问题时,在你给DELL报修前,先自己去收集一下日志,方法如下:第一,先保证刀框CMC开启Telnet功能,在CMC里去做一下设置,就是在CMC/NETWORK下的SERVICE下,把TelenetConnection启用了。第二,下载PUTTY工具,先设置指定一下日志存放的位置。
分类:
其他好文 时间:
2020-06-30 00:53:34
阅读次数:
89
基本用法 Object.assign方法用于对象的合并,将源对象(source)的所有可枚举属性,复制到目标对象(target const target = { a: 1 }; const source1 = { b: 2 }; const source2 = { c: 3 }; Object.as ...
分类:
其他好文 时间:
2020-06-29 17:07:56
阅读次数:
54
说明:rem是基于html元素的字体大小来决定,而em则根据使用它的元素的大小决定。 一、页面自适应 1、允许网页宽度自动调整 代码: <meta name="viewport" content="width=device-width, initial-scale=1" /> 说明:网页宽度默认等于 ...
分类:
其他好文 时间:
2020-06-29 13:43:46
阅读次数:
46
Linux下PS命令详解 https://www.cnblogs.com/softidea/p/5274988.html Linux:PS命令详解与使用 https://www.cnblogs.com/moonbaby/p/10528443.html 要对系统中进程进行监测控制,查看状态,内存,CP ...
分类:
系统相关 时间:
2020-06-29 13:06:11
阅读次数:
81
//获取当前日期 function getNowFormatDate() { var date = new Date(); var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var strDate ...
分类:
Web程序 时间:
2020-06-29 11:40:40
阅读次数:
83