2016年8月30日 星期二 --出埃及记 Exodus 16:31The people of Israel called the bread manna. It was white like coriander seed and tasted like wafers made with honey ...
分类:
其他好文 时间:
2016-08-30 10:42:17
阅读次数:
117
在android开发中,主线程不能进行耗时操作,所以我们经常把耗时操作放在子线程中进行,那么就需要子线程与主线程相互交流,就需要使用到handler.而在使用handler过程中,如果对handler使用不太熟练的话就偶尔会出现Can‘tcreatehandlerinsidethreadthathasnotcalledLooper.prepa..
分类:
其他好文 时间:
2016-08-26 15:45:36
阅读次数:
152
__CLASS__获取当前的类名, get_class()与上面一样,都是获取当前的类名 get_called_class()获取当前主调类的类名 当涉及到继承时,在方法中使用类名。直接贴图了 MVC框架中,涉及到单例时很好用,一般在基类中 其他类只要继承这个类,然后通过getInstance()就 ...
分类:
Web程序 时间:
2016-08-24 15:49:49
阅读次数:
410
getWriter() has already been called for this response response已经被其他对象调用了,导致无法继续使用如下 类似的方法 PrintWriter out = response.getWriter(); out.print("就是不让我使用") ...
分类:
其他好文 时间:
2016-08-23 14:42:50
阅读次数:
192
High Performance MySQL, Third Edition by Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko Is an Index the Best Solution?An index isn’t always the ri ...
分类:
数据库 时间:
2016-08-22 23:21:25
阅读次数:
187
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText // called when text changes (including clear) { if (searchBar.text.len ...
分类:
移动开发 时间:
2016-08-20 23:23:13
阅读次数:
223
Whenever you first start an Android application, a thread called "main" is automatically created. The main thread, also called the UI thread, is very ...
分类:
其他好文 时间:
2016-08-19 20:26:35
阅读次数:
172
一、题目描述 In the main() function, after ModifyString(text) is called, what’s the value of ‘text’? 二、分析 FindSubString() 函数就是要找到一个先递增再递减且递增和递减的数量相等的回文序列,例如 ...
分类:
其他好文 时间:
2016-08-18 21:16:43
阅读次数:
116
IntroductionHistoryThere is a payment called P2SH( pay to script hash) in bitcoin. With this feature, you can compile many interesting scripts( the original form of contract) like this wiki and this. H...
分类:
其他好文 时间:
2016-08-18 16:01:56
阅读次数:
254
213 Message DecodingSome message encoding schemes require that an encoded message be sent in two parts. The first part,called the header, contains the ...
分类:
其他好文 时间:
2016-08-18 00:49:52
阅读次数:
277