Last night you robbed a bank but couldn’t escape and when you just got outside today, the police started chasing you. The city, where you live in, consists of some junctions which are connected by some...
分类:
其他好文 时间:
2015-05-18 23:07:07
阅读次数:
237
Taha has got a standard deck of cards with him. In addition to the 52 regular ones, there are 2 joker cards. Every regular card has a rank and a suit. The ranks in ascending order are: A, 2, 3, 4, 5, 6...
分类:
其他好文 时间:
2015-05-18 09:10:39
阅读次数:
163
Today I got a issue that window.location.origin returns undefined in IE 9 .But we can fix this issue with following code:if (!window.location.origin) ...
Know Your LimitsGreg ColvinMan’s got to know his limitations.
—Dirty HarryYOUR RESOURCES ARE LiMiTED. You only have so much time and money to do your work, including the time and mo...
分类:
其他好文 时间:
2015-05-13 10:23:04
阅读次数:
109
[root@localhost bin]# mysqlbinlog logbin.000002/*!40019 SET @@session.max_insert_delayed_threads=0*/;/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TY...
分类:
其他好文 时间:
2015-05-12 13:23:13
阅读次数:
126
主库添加log-bin-index 参数后,从库报这个错误:Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log in...
分类:
其他好文 时间:
2015-05-09 13:03:27
阅读次数:
204
reset slave会清除从库的所有复制信息。一般应用场景:如切换为不同的Master, 主从重做等; 1. 命令在slave上执行,执行前一定要stop slave。 2. 执行reset slave后,会清除复制相关的所有信息,包括:master.info, relay-log.info,.....
分类:
其他好文 时间:
2015-05-09 13:02:05
阅读次数:
174
??
Please refer to
https://developer.android.com/tools/debugging/debugging-memory.html,http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html.
In DDMS, got an ...
分类:
移动开发 时间:
2015-05-08 16:38:30
阅读次数:
211
用AFNetworking postJSON数据的时候,刚开始提示我//Error Domain=NSURLErrorDomain Code=-1007 "too many HTTP redirects",说是多重定向问题
后来我改了之后又报错//NSLocalizedDescription=Expected status code in (200-299), got 400
解决办法:
...
分类:
移动开发 时间:
2015-05-08 14:59:28
阅读次数:
347
Language:FiringTime Limit:5000MSMemory Limit:131072KTotal Submissions:8744Accepted:2631DescriptionYou’ve finally got mad at “the world’s most stupid” ...
分类:
其他好文 时间:
2015-05-07 20:13:42
阅读次数:
183