==========================================xml文件<?xml version=”1.0″ encoding=”GB2312″?><RESULT><VALUE><NO>A1234</NO><ADDR>四川省XX县XX镇XX路X段XX号</ADDR></VAL...
分类:
其他好文 时间:
2014-07-09 00:18:31
阅读次数:
441
//输入数字的汉语拼音,每个拼音的首字母大写。输出该数字的阿拉伯数字。//JiuBaiJiuShiJiu -> 999#include#includeint result = 0;void add(int n,char wei[]){ if(strcmp(wei,"Wan") == 0) ...
分类:
其他好文 时间:
2014-07-08 22:55:14
阅读次数:
387
concat()连接多个字符串,返回合并后的字符串。1 var s1="a";2 var s2="b";3 var s3="c";4 5 console.log(s1.concat(s2,s3));//abcconcat() 方法的结果等同于:result = s1 + s2 + ... + sN。...
分类:
编程语言 时间:
2014-07-08 22:20:46
阅读次数:
299
Git 的BUG小结
Git 在push的时候出现了:
fatal: The remote end hung up unexpectedly
在网上找了很多 发现出现了以下错误提示也可能是相同的问题:
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everythi...
分类:
其他好文 时间:
2014-07-08 21:10:53
阅读次数:
180
Eclipse->Help->Install New Software->
Work With->add->name(cdt)
location:http://download.eclipse.org/tools/cdt/releases/juno
版本要对上:help->about eclipse查看版本
在http://www.eclipse.org/cdt/downl...
分类:
系统相关 时间:
2014-07-08 19:51:56
阅读次数:
576
1.如何保证日期格式与系统设定的一致:
Date date = new Date(location.getTime());
DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(getApplicationContext());
mTimeText.setText("Time: " + dateFormat....
分类:
移动开发 时间:
2014-07-08 13:13:48
阅读次数:
291
it is much easier to get the same result through PHP because the PHP language offers some global constant variables and built-in functions....
分类:
Web程序 时间:
2014-07-08 12:48:07
阅读次数:
196
function GetParam(name) { var match = new RegExp(name + "=*([^&]+)*", "i").exec(location.search); if (match...
分类:
其他好文 时间:
2014-07-08 11:27:15
阅读次数:
181
//举例查询(userid,name,sex为user表的数据库字段)publicfunctiontesta(){$this->load->database();$query=$this->db->query(‘SELECT*FROMuser‘);foreach($query->result()as$row){echo$row->userid;echo$row->name;echo$row->sex;}}//举例插入(use..
分类:
数据库 时间:
2014-07-08 08:41:54
阅读次数:
273
apache服务可以使用mod_status模块进行监控,该模块在apache配置文件httpd.conf中表示为LoadModulestatus_modulemodules/mod_status.so。应把前面的#注释掉,来加载该模块。按G跳转到配置文件的最后,添加<location/server-status>SetHandlerserver-statusOrderDeny,Allo..
分类:
其他好文 时间:
2014-07-08 08:41:18
阅读次数:
214