if([MFMessageComposeViewController canSendText]) { MFMessageComposeViewController * controller = [[MFMessageComposeViewController alloc] init]; contro... ...
分类:
其他好文 时间:
2017-01-04 20:26:36
阅读次数:
181
前面的文章:多线程爬坑之路-学习多线程需要来了解哪些东西?(concurrent并发包的数据结构和线程池,Locks锁,Atomic原子类) 多线程爬坑之路-Thread和Runable源码解析 前面大致的了解了Thread的一些方法和属性下面对一些方法进行运用看看具体效果<下面可能还是会贴很多的源 ...
分类:
编程语言 时间:
2017-01-04 18:32:40
阅读次数:
335
STARTED 事件起因: 业务的人mail过来说是有张表记录的10K+的优惠码记录没了,要我们确认下之前是否有这样的相关清除操作。 当然,先去数据库确认下这张表关于这个字段的count,的确没有相关的记录。 于是想着之前是不是有人做了相关的DML操作, 先看下这个视图, select table_ ...
分类:
其他好文 时间:
2017-01-04 00:05:21
阅读次数:
320
题意:给你一个n*m的矩形,0表示空着的,1反之,现在两个人轮流放2*2的矩形,谁不能放了,谁就输了。 ...
分类:
其他好文 时间:
2017-01-01 19:45:30
阅读次数:
123
import unittest from time import sleep from appium import webdriver import desired_capabilities class ChromeTests(unittest.TestCase): def setUp(self):... ...
分类:
移动开发 时间:
2016-12-31 00:31:48
阅读次数:
304
influxdb influxdb是最新的一个时间序列数据库,最新一两年才产生,但已经拥有极高的人气。influxdb 是用Go写的,0.9版本的influxdb对于之前会有很大的改变,后端存储有LevelDB换成了BoltDB,读写的API也是有了很大的变化,也将支持集群化,continuous ...
分类:
数据库 时间:
2016-12-30 13:07:44
阅读次数:
1873
Problem: Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another ar ...
分类:
其他好文 时间:
2016-12-30 13:03:19
阅读次数:
180
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all ...
分类:
其他好文 时间:
2016-12-29 08:16:31
阅读次数:
158
Friendship Time Limit: 2000MS Memory Limit: 20000K Total Submissions: 10614 Accepted: 2945 Description In modern society, each person has his own frie ...
分类:
其他好文 时间:
2016-12-28 18:52:17
阅读次数:
177
Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma - which is living with the results of other people's thi ...
分类:
其他好文 时间:
2016-12-28 18:04:34
阅读次数:
154