we small stone crusher is especially designed
to handle and process bulk materials. The emergence of small stone crusher makes
up for the deficiency i...
分类:
其他好文 时间:
2014-05-23 06:31:25
阅读次数:
239
Using Sessions and Session PersistenceThe
following sections describe how to set up and use sessions and session
persistence:Overview of HTTP Sessions...
分类:
其他好文 时间:
2014-05-22 00:29:42
阅读次数:
298
1.编译时出现No rule to make target
错误,尝试删除XXX/proj.android/obj/local/armeabi/objs这个文件夹。2.android.mk正确写法LOCAL_PATH
:= $(call my-dir)include $(CLEAR_VARS)LOC...
分类:
移动开发 时间:
2014-05-21 22:59:16
阅读次数:
374
一、在项目中批量修改数据时应该写一条Update的Sql语句来执行,不能先将所要修改的数据筛选出来,然后再遍历修改。原因:1.这样只操作一次数据库,而后者需要操作无数次,性能很差。2.绕圈子。需要修改数据时直接修改就行,不需要先全部查出来再逐条修改。3.修改数据时时可以使用join的,例如:1
up...
分类:
其他好文 时间:
2014-05-21 21:27:58
阅读次数:
332
function
is_mobile(){$regex_match="/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|";$regex_match.="htc|dopod|bl...
分类:
移动开发 时间:
2014-05-21 19:02:55
阅读次数:
302
The semaphore module can be used as an arbiter to ensure mutual exclusivity when sharing resources over multiple cores in a multicore device. It provides up to 64 independent semaphores that can be ac...
分类:
其他好文 时间:
2014-05-21 16:26:59
阅读次数:
234
网上很多方法, 又重启编译器又clear的, 都没好使。
实际上是因为项目执行前没有自动保存, 而单单勾选project 中的 build automatically是没有用的 。
将项目先save 一下, 执行就可以了。
当然还是自动保存比较方便。
Windows-> preferences->run/debug>launching->save
re...
分类:
系统相关 时间:
2014-05-21 16:25:35
阅读次数:
354
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230
题意:现在有一群人,告诉你每个人都认识哪些人,让你将这一群人分成两组,其中每一组中的每个人都相互认识,并且使得两组中的人数尽量相近。问你是否能分成这样两组,如果不能输出No
Solution ,否则输出人数最相近的方案。 注意你认识我不代表我认识你,组中的每一个人都必须是相互认识的。 首先建立由人和...
分类:
其他好文 时间:
2014-05-21 05:04:15
阅读次数:
306
Java中List.remove(removeRange,clear类似)报出UnsupportedOperationException的错误。原来该List是一个AbstractList,不支持增删改操作。一般情况下我们会使用LinkedList和ArrayList,什么情况下出现AbstractList呢?通过ArrayList.asList()函数得到的List就是AbstractList。..
分类:
编程语言 时间:
2014-05-20 20:15:11
阅读次数:
427