关掉虚拟机。 VM->Settings,选中Hard Disk,在右边出现了Utilities的一个下拉栏,OK,点击它选择Map,这时弹出一个“Map Virtual Disk”窗口,选择系统分区,将“Open file in read-only mode”的默认选择去掉,这时会有个警告的提示框。...
分类:
其他好文 时间:
2014-07-29 11:38:06
阅读次数:
222
Android在4.0之后执行线程更新UI操作会报异常:CalledFromWrongThreadException:Only the original thread that created a view hierarchy can touch its views.那么你肯定能看到很多文章说and...
分类:
移动开发 时间:
2014-07-29 10:57:06
阅读次数:
398
DescriptionThe Happy Desert is full of sands. There is only a kind of animal called camel living on the Happy Desert. ‘Cause they live here, they need...
分类:
其他好文 时间:
2014-07-28 23:44:04
阅读次数:
329
早上经理给我考了个项目,让我部署,遇到了这个问题
解决办法:由于 我的是JDK 6 TOMCAT 6 而他的是JDK 7 TOMCAT 7 ,我不想换JDK,
于是修改配置文件就OK了
找到项目目录下的.settings 文件夹里面的org.eclipse.wst.common.project.facet.core.xml
修改如下:...
分类:
编程语言 时间:
2014-07-28 16:00:33
阅读次数:
249
DisclaimerThe way I’m doing this relies on a feature I wrote for Graphite that was only recently merged to trunk, so at time of writing that feature i...
分类:
移动开发 时间:
2014-07-28 15:36:43
阅读次数:
430
A real-time operating system (RTOS) for use with minimal-memory controllers has a kernel for managing task execution, including context switching, a p...
分类:
其他好文 时间:
2014-07-28 11:25:50
阅读次数:
302
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. Y...
分类:
其他好文 时间:
2014-07-28 00:28:19
阅读次数:
273
Description
Polycarpus loves hamburgers very much. He especially adores the hamburgers he makes with his own hands. Polycarpus thinks that there are only three decent ingredients to make hamburgers...
分类:
其他好文 时间:
2014-07-28 00:07:29
阅读次数:
363
题目:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space....
分类:
编程语言 时间:
2014-07-27 21:26:35
阅读次数:
267
c中的const表达着“常量”的意思,更准确地说是“read-only”(只读)的含义。当const与指针相遇时,由于其与*的相对位置不同,会产生不一样的效果。
举例说明
(1)const位于*的左侧
如,const int *p;此时等同于int const *p;
此时,const的含义体现在:*p是只读的。
(1)const位于*的右侧
如,int *const p;
此时,const的含义体现在:p是只读的。...
分类:
其他好文 时间:
2014-07-27 11:25:42
阅读次数:
185