1、charAt()方法:
从整个字符串中找到某子字符,即返回指定位置的字符。charAt(str.length)。里面的数字最大为字符串长度减一eg:stringObject.charAt(index);如果参数
index 不在 0 与 string.length 之间,该方法将返回一个空字符串...
分类:
其他好文 时间:
2014-05-26 22:58:28
阅读次数:
279
在数据库表中,使用索引可以大大提高查询速度。All storage engines
support at least 16 indexes per table and a total index length of at least 256
bytes. Most storage engines h...
分类:
数据库 时间:
2014-05-26 21:23:17
阅读次数:
349
一、RSA方式1. 建立CA根证书 1) 建立目录RSA 2) 创建以下子目录certs,
crl, newcerts 3) 在RSA目录下执行以下操作:echo 01 > serialtouch index.txtopenssl req
-new -x509 -newkey rsa:1024 -k...
分类:
其他好文 时间:
2014-05-26 20:46:24
阅读次数:
280
webstuffshare.com/demo/CubeInformation/index.htmlhttp://www.w3cplus.com/demo/419.html
分类:
其他好文 时间:
2014-05-26 15:19:11
阅读次数:
186
给大家推荐一个可以申请免费的顶级域名的网站地址
http://www.dot.tk/zh/index.html?lang=zh。可以在上面申请.tk免费顶级域名。功能还是很强大的支持域名转发(隐性转发哦)电邮转发、A记录解析、CNAME别名记录、MX邮件记录、设置DNS服务器等服务。
我今天就申请了...
分类:
其他好文 时间:
2014-05-26 14:52:55
阅读次数:
203
http://redis.readthedocs.org/en/latest/index.html
分类:
其他好文 时间:
2014-05-26 14:47:47
阅读次数:
173
基本思想就是:在JS动态创建select控件的option,通过Ajax获取在PHP从SQL数据库获取的省市区信息,代码有点长,但很多都是类似的,例如JS中省、市、区获取方法类似,PHP中通过参数不同执行不同的select语句。index.html代码:
PHP+Ajax获取SQL数据库 ...
分类:
Web程序 时间:
2014-05-26 14:22:40
阅读次数:
425
1、相关资料
官方文档:http://htmlparser.sourceforge.net/samples.html
API:http://htmlparser.sourceforge.net/javadoc/index.html
其它HTML 解释器:jsoup等。由于HtmlParser自2006年以后就再没更新,目前很多人推荐使用jsoup代替它。
2、使...
分类:
Web程序 时间:
2014-05-23 02:16:30
阅读次数:
488
MySQL各种索引(因为是浅析大多都不刻意区分搜索引擎)
INDEX(普通索引):最基本的索引,没有任何限制
ALTER TABLE `table_name` ADD INDEX index_name ( `column` )
UNIQUE(唯一索引):与"普通索引"类似,不同的就是:索引列的值必须唯一,但允许有空值。
ALTER TABLE `table_name` ADD UNIQUE (`column`)
注:创建唯一索引的目的不是为了提高访问速度,而只...
分类:
数据库 时间:
2014-05-23 01:24:44
阅读次数:
313
【题目】
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal is to reach the last index in the minimum number of ju...
分类:
其他好文 时间:
2014-05-22 17:02:20
阅读次数:
244