Long gone are the days when people used to
carry their laptops with plain black leather laptop bag. For now tend their
designer bags are definitely he...
分类:
其他好文 时间:
2014-05-26 17:13:40
阅读次数:
316
如果sql文件过大,会出现mysql out of memory
(NeededXXXbytes),或者"MySQL server has gone away"问题;
另外如果sql文件数据有中文,会出现乱码。解决的问题,修改max_allowed_packet参数,在my.ini或者my.cnf文...
分类:
数据库 时间:
2014-05-15 20:54:05
阅读次数:
395
在开发过程中,有时候,需要这样一种控件,正常情况下不可见,不占用任何布局空间,只在某种特定情况下显示,这种情况下,我们使用一个普通的View,利用设置setVisibility(View.GONE)自然也可以实现,但是这样的话即使我们不需要显示View,Android也会将这个View渲染出来,.....
分类:
其他好文 时间:
2014-05-07 20:19:21
阅读次数:
262
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:
其他好文 时间:
2014-05-07 08:48:52
阅读次数:
515
Maximum Weight Difference
Chef has gone shopping with his 5-year old son. They have bought N items so far. The items are numbered from 1 to N, and the item i weighs Wi grams.
Chef's son insist...
分类:
其他好文 时间:
2014-05-06 22:59:49
阅读次数:
451