One Person GameTime Limit:2 Seconds Memory
Limit:65536 KBThere is an interesting and simple one person game. Suppose there
is a number axis under your...
分类:
其他好文 时间:
2014-05-24 07:02:17
阅读次数:
310
JSONArray jsonArr =
JSONArray.toJSONObject("数组/集合"); JSONObject obj =
JSONObject.fromObject("对象");所需的jar
包有:json-lib-2.1.jarjson_simple.jarcommons-l.....
分类:
Web程序 时间:
2014-05-24 01:16:25
阅读次数:
250
The "." command is one of the most simple yet
powerful commands in Vim. Itrepeats the last change. For instance, suppose you
are editing an HTML filea...
分类:
其他好文 时间:
2014-05-23 22:52:50
阅读次数:
372
This is a simple tutorial to show a new linux user
(such as myself) how to setup freeglut and OpenGl. OS: ubuntu 12.1 I have just
recently become a .....
分类:
其他好文 时间:
2014-05-23 11:07:45
阅读次数:
380
http://note.youdao.com/share/?id=0f3b39a6c3e0d5363076729662d164a3&type=note一、简单网络管理协议(SNMP,Simple
Network Management Protocol)构成了互联网工程工作小组(IETF,Intern...
分类:
移动开发 时间:
2014-05-20 10:49:00
阅读次数:
363
Customizing the user login, register, and
password reset pages is fairly simple, and uses the following
concepts:preprocessing to set variablesregistr...
分类:
其他好文 时间:
2014-05-19 21:32:08
阅读次数:
487
A simple actions recognition system based on
PCA, MHI and SVM.
分类:
其他好文 时间:
2014-05-17 19:20:44
阅读次数:
222
用Chrome的插件Simple REST Client
调用POST的REST服务时,老是报415错误,如图。一开始就以为是服务端的问题,各种google,百度,折腾了一下午未果。
晚上继续看,一不小心看到返回的Response的Headers中Content-Type的值与冒号之间有一个空格,于...
分类:
其他好文 时间:
2014-05-17 17:47:55
阅读次数:
445
在Android中当我们需要在界面上显示列表内容,则要使用ListView控件。 本文主要介绍如何使用ListView控件来显示自己想要的内容。
本文的最终成果如下图所示,当用户点击ListView中的内容时,控制台将会输出相应的Item名字。
在layout当中,我们有两个xml文件,分别为 activity_main 和 simple_item 其中在 前者中创建了一个L...
分类:
其他好文 时间:
2014-05-15 20:28:46
阅读次数:
364
java API解析XML文件
解析xml方式:
a.DOM (Document Object Model)
优点:把xml文件放到内存中为一个树状结构,可以遍历和修改节点。
缺点:当文件比较大的时候,内存压力比较大,读写速度慢。
b.SAX(Simple API for XML)
把xml文件做为一个流,当触发标记开始、标记内容开始、标记结束这些动作。
优点:可以马上开始,速度快,没有内存压力
...
分类:
其他好文 时间:
2014-05-15 20:14:42
阅读次数:
434