额外任务:学习YouXianMing封装好的GCD源码1、GCD串行队列与并发队列串行队列一次只执行一个线程,按照添加到队列的顺序依次执行并发队列一次可以执行多个线程,线程的执行没有先后顺序UI界面所在的线程队列是串行队列下面使用将基于C语言的GCD封装成面向对象的可复用的源码,资源文件下载地址: ...
分类:
其他 时间:
2015-12-25 06:24:23
收藏:
0 评论:
0 赞:
0 阅读:
283
There is a fence with n posts, each post can be painted with one of the k colors.You have to paint all the posts such that no more than two adjacent f...
分类:
其他 时间:
2015-12-25 06:24:13
收藏:
0 评论:
0 赞:
0 阅读:
130
这也能算hard题……Given a string, find the length of the longest substring T that contains at most 2 distinct characters.For example, Given s =“eceba”,T is "...
分类:
其他 时间:
2015-12-25 06:24:03
收藏:
0 评论:
0 赞:
0 阅读:
229
Given twosparse matricesAandB, return the result ofAB.You may assume thatA's column number is equal toB's row number.Example:A = [ [ 1, 0, 0], [-1, .....
分类:
其他 时间:
2015-12-25 06:23:52
收藏:
0 评论:
0 赞:
0 阅读:
240
1.启用Apache(httpd)Centos7默认已经安装httpd服务,只是没有启动。如果你需要全新安装,可以yum install -y httpd启动服务:systemctl start httpd.service设置开机自动启动:systemctl enable httpd.service...
分类:
其他 时间:
2015-12-25 06:23:13
收藏:
0 评论:
0 赞:
0 阅读:
186
Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimize your algorithm?Hint:Expected runtime complexity is...
分类:
其他 时间:
2015-12-25 06:22:43
收藏:
0 评论:
0 赞:
0 阅读:
214
x射线晶体照像术1) x射线是1895年由伦琴(Roentgen)发现的,其波长为$10^{-8}$厘米左右,常用的测量可见光波长的方法会由于其波长太小而无法测量。2) 晶体(Crystals),晶体的原子结构符合一定规律——原子有序地排列成晶格。劳厄(Laue)在1912年做了一系列著名实验,其目...
分类:
其他 时间:
2015-12-25 06:22:13
收藏:
0 评论:
0 赞:
0 阅读:
141
概述: DMitry(Deepmagic Information Gathering Tool)是一个一体化的信息收集工具。它可以用来收集以下信息:1. 端口扫描2. whois主机IP和域名信息3. 从Netcraft.com获取主机信息4. 子域名5. 域名中包含的邮件地址尽管这些信息可以在Ka...
分类:
其他 时间:
2015-12-25 06:22:03
收藏:
0 评论:
0 赞:
0 阅读:
234
Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.According ...
分类:
其他 时间:
2015-12-25 06:21:23
收藏:
0 评论:
0 赞:
0 阅读:
243
题目内容:一个楼梯有N级(N >=0), 每次走1级或2级, 从底走到顶一共有多少种走法?输入要求:只有一行输入,并且只有一个数N(如果N > 20,则N = N%21,即保证N的范围控制为:0 2)级楼梯,因为一次可以上一级或者两级,那么我们可以考虑从N-1级和N-2级楼梯到N级的走法,那么F(....
分类:
其他 时间:
2015-12-25 06:21:03
收藏:
0 评论:
0 赞:
0 阅读:
114
★.1host:DNS信息 参数: 一般情况下,host查找的是A,AAAA,和MX的记录 案例: DNS服务器查询 host -t ns 域名 A记录和MX记录查询 host 域名(host -t a 域名 + host -t mx 域名) PS:A (Address) 记录是用来指定主机名(或....
分类:
其他 时间:
2015-12-25 06:20:53
收藏:
0 评论:
0 赞:
0 阅读:
206
官网:http://www.edge-security.com安装:apt-get install theHarvester运行:终端输入 theharvester (小写) 用法+参数:(返回邮箱+子域名) 最常见用法:theharvester -d 域名|公司名 -b 搜索来源(google,b...
分类:
其他 时间:
2015-12-25 06:20:44
收藏:
0 评论:
0 赞:
0 阅读:
155
第7层 应用层:OSI中的最高层。为特定类型的网络应用提供了访问OSI环境的手段。应用层确定进程之间通信的性质,以满足用户的需要。应用层不仅要提供应用进程所需要的信息交换和远程操作,而且还要作为应用进程的用户代理,来完成一些为进行信息交换所必需的功能。它包括:文件传送访问和管理FTAM...
分类:
其他 时间:
2015-12-25 06:19:43
收藏:
0 评论:
0 赞:
0 阅读:
263
Sentinel(哨兵)是用于监控redis集群中Master状态的工具,它可以实现对redis的监控、通知、自动故障转移。Sentinel作用:Master状态检测当被监控的某个 Redis Master异常无法连接时 Sentinel 可以向系统管理员发送通知, 也可以通过 API 向其他程序发...
分类:
其他 时间:
2015-12-25 06:19:34
收藏:
0 评论:
0 赞:
0 阅读:
269
参数: 使用方法: fping [选项] [目标...]-a显示是活着的目标-A 显示目标地址-b n 大量 ping 数据要发送,以字节为单位 (默认 56)-B f 将指数退避算法因子设置为 f-c n 的计数的 ping 命令发送到每个目标 (默认为 1)-C n-c,相同报告结果在冗长的格....
分类:
其他 时间:
2015-12-25 06:19:26
收藏:
0 评论:
0 赞:
0 阅读:
187
★Kali信息收集~ 0.Httrack 网站复制机http://www.cnblogs.com/dunitian/p/5061954.html★Kali信息收集~ 1.Google Hacking + Github Hackinghttp://www.cnblogs.com/dunitian/p/...
分类:
其他 时间:
2015-12-25 06:18:54
收藏:
0 评论:
0 赞:
0 阅读:
342
★3.1Netcraft :子域名查询 官网:http://searchdns.netcraft.com/输入要查询的域名,即可得知子域名 3.2Fierce :子域名查询概述: fierce 是使用多种技术来扫描目标主机IP地址和主机名的一个DNS服务器枚举工具。运用递归的方式来工作。它的工作原....
分类:
其他 时间:
2015-12-25 06:18:43
收藏:
0 评论:
0 赞:
0 阅读:
181
#import <UIKit/UIKit.h>@interface CustomFlowLayout : UICollectionViewFlowLayout@property(nonatomic, assign)IBOutlet id <UICollectionViewDelegateFlowLayout> delegate;
@end
?
#import ...
分类:
其他 时间:
2015-12-25 02:12:58
收藏:
0 评论:
0 赞:
0 阅读:
177
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>${1:新建H5模板}</title> ...
分类:
其他 时间:
2015-12-25 02:10:28
收藏:
0 评论:
0 赞:
0 阅读:
272
在Exif这个类中添加方法以取得exif中的时间(照片详情里显示的时间)public static String getTime(byte[] jpegData) {
if (jpegData == null)
return null ...
分类:
其他 时间:
2015-12-25 02:10:03
收藏:
0 评论:
0 赞:
0 阅读:
200