window.location属性描述hash设置或获取 href 属性中在井号“#”后面的分段。host设置或获取 location 或 URL 的 hostname 和 port 号码。hostname设置或获取 location 或 URL 的主机名称部分。href设置或获取整个 URL 为字...
分类:
Web程序 时间:
2014-07-16 19:12:42
阅读次数:
255
http://bbs.aliyun.com/read/137391.html "\\=\\+\\/v(?:8|9|\\+|\\/)|\\%0acontent\\-(?:id|location|type|transfer\\-encoding)",);$args_arr = array( 'xs...
分类:
数据库 时间:
2014-07-16 18:34:05
阅读次数:
566
namespace一般在项目比较复杂的情况下使用较好。 在struts2的项目中,namespace主要在以下环境中常使用: 1. 在配置文件中(struts.xml)以及被它包含的XX.xml文件中 一般namespace用来提供给查找action使用。 对于result,返回的结果一般都写成绝对...
分类:
其他好文 时间:
2014-07-16 18:12:32
阅读次数:
146
Given a number ‘n’, find the smallest number ‘p’ such that if we multiply all digits of ‘p’, we get ‘n’. The result ‘p’ should have minimum two digits...
分类:
其他好文 时间:
2014-07-16 08:55:04
阅读次数:
208
/// /// 重命名文件夹/// function ReNameDirectort(SourceDirectort, DestinationDirectort: string): Boolean;var pDirOperate: TSHFileOpStruct;begin Result := Fa...
分类:
其他好文 时间:
2014-07-15 09:51:32
阅读次数:
186
主要是用 async和 await 调用 RunOnUiThread来更新。调用函数://异步加载数据开始doInBackground ();//异步加载数据开始endprotected async void doInBackground (){ var result = await T...
分类:
编程语言 时间:
2014-07-15 09:36:32
阅读次数:
282
VC++ 修改VMware BIOS、uuid_location、ethernet0_address等,主要问题如下
(1)随机产生16进制数;
(2)修改vmx对应项,根据规则一般只修改最后三项值;
/************************************************************************/
/*
摘要:产生十六进制随机数串,例...
分类:
移动开发 时间:
2014-07-14 18:31:31
阅读次数:
281
在iOS开发中,为了数据的安全经常对内容进行加密,在这儿我们对常用的加密算法进行了总结:
1、MD5
+ (NSString *)md5Hash:(NSString *)str {
const char *cStr = [str UTF8String];
unsigned char result[16];
CC_MD5( cStr, strlen(cStr), re...
分类:
移动开发 时间:
2014-07-14 18:17:16
阅读次数:
265