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
上篇实例为图片浏览器是从小说阅读器直接将图片分页替换文本分页,还是双页显示。页面小阅读比较吃力,本篇拟改动几行代码,用全屏显示,看看效果如何。
#pgnumber{position:fixed;font-size:12px;left:200px;height:25px;top:10px;width:200px;z-index:1;} 原top改成10px,也就是从页脚改到页眉,可以动...
分类:
移动开发 时间:
2014-05-23 02:28:51
阅读次数:
397
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
The start index: this is inclusive, i.e. this
will be the first index value in the loopThe end index: this is exclusive, so it
won’t be processed in t...
分类:
Web程序 时间:
2014-05-22 15:59:26
阅读次数:
264