Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:
其他好文 时间:
2017-01-05 07:54:13
阅读次数:
151
ng-repeat是angular的一个指令,用来循环生成某些东西。常用的是拿到数据循环生成样式展示在视图中。 ...
分类:
其他好文 时间:
2017-01-05 01:24:14
阅读次数:
386
术语: Event :Events are records of activity in log files, stored in Splunk indexes. 简单说,处理的日志或话单中中一行记录就是一个Event;Source type: 来源类型,identifies the format ...
分类:
其他好文 时间:
2016-12-29 19:22:40
阅读次数:
354
作用:查找指定目录(一个或多个)及子目录下的所有重复文件,分组列出,并可手动选择或自动随机删除多余重复文件,每组重复文件仅保留一份。(支持文件名有空格,例如:"file name" 等) 实现:find遍历指定目录查找所有文件,并对找到的所有文件进行MD5校验,通过比对MD5值分类处理重复文件。 不 ...
分类:
其他好文 时间:
2016-12-29 17:34:00
阅读次数:
254
Problem: Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] ...
分类:
其他好文 时间:
2016-12-29 14:27:12
阅读次数:
173
今天添加了一个新类(包括m,h,xib文件),还没有调用,—编译遇到如下错误,根据错误提示, 分析: 变量param1报错,给出了两个类型ClassA和ClassB,查看后发现,在两个类的m文件中都定义了全局静态常量param1; 解决方案: 将其中一个类中的param1重命名改为param2即可~ ...
分类:
其他好文 时间:
2016-12-29 08:05:00
阅读次数:
201
SELECT t.* FROM person, jsonb_to_record(info) AS t(num text, name text, score text) WHERE person.id=1; SELECT t.errmsg,sms_records.* FROM sms_records,... ...
分类:
数据库 时间:
2016-12-28 19:36:45
阅读次数:
254
所需支付宝jar包: sdk2-2.0.jar(点击下载) 工具类目录结构: 点击下载 商户信息已经公钥私钥的配置(公钥私钥的生成与支付宝商户平台配置请看官方文档:https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nB ...
分类:
移动开发 时间:
2016-12-28 19:32:56
阅读次数:
730
今天调试 Android 应用遇到这么个问题: Duplicate files copied in APK META-INF/DEPENDENCIES File 1: httpmime-4.3.2.jar File 2: httpmime-4.3.2.jar 貌似说两个包里面的文件重复了还是怎么的, ...
分类:
移动开发 时间:
2016-12-27 23:15:20
阅读次数:
215
通过ntp服务实现时间同步。 1:首先搭建本地yum源见网址(http://www.cnblogs.com/zj21/p/6223462.html) 2:先安装ntp服务 [root@jw37 ~]# yum install ntp -y 3:修改ntp的配置文件 [root@jw37 ~]# vi ...
分类:
其他好文 时间:
2016-12-26 21:50:29
阅读次数:
303