- 博客(10)
- 收藏
- 关注
转载 lucene使用技巧
建立索引 为了对文档进行索引,Lucene 提供了五个基础的类,他们分别是 Document, Field, IndexWriter, Analyzer, Directory。下面我们分别介绍一下这五个类的用途: Document Document 是用来描述文档的,这里的文档可以指一个 HTML 页面,一封电子邮件,或者是一个文本文件。一个 Document 对象由多个 Field 对象组
2013-05-22 15:40:55
441
原创 NLS_CHARACTERSET NLS_NCHAR_CHARACTERSET 字符集
NLS_CHARACTERSET是数据库字符集,NLS_NCHAR_CHARACTERSET是国家字符集 ORACLE中有两大类字符型数据,VARCHAR2是按照数据库字符集来存储数据。而NVARCHAR2是按照国家字符集存储数据的。同样,CHAR和NCHAR也一样,一是数据库字符符,一是国家字符集。 字符集不同,二进制码的组合就不同。 比如有一串二进制信息:1101,0110,1101,0
2012-07-26 16:57:50
2490
转载 reset.css
a, abbr, acronym, address, applet, article, aside, audio, b, blockquote, big, body, center, canvas, caption, cite, code, command, datalist, dd, del, details, dfn, dl, div, dt, em, embed, fieldset, fi
2012-03-12 17:04:44
304
原创 IE6的双倍边距bug
body, div, ul ,li, a, img {margin:0; padding:0; border:0; font-size:12px; line-height:1.5em} #layout{ width:390px; margin:50px 40px; border:1px solid #ccc; overflow:hidden; height:1%; } #layou
2012-03-02 17:25:14
332
原创 支持IE6的二级列表
startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("menu"); var allli = navRoot.getElementsByTagName("li") for (i=0; i node = allli[i]; node.
2012-03-02 16:05:54
290
原创 纵向一级列表
body, ul, li { margin:0;padding:0; font-size:12px; line-height: 2em;} a{ text-decoration:none; color:#000000 } a:hover{ text-decoration:none; color:#FF0000; } a:visited{ text-decoration:none
2012-03-02 15:32:17
251
原创 IE6 3像素问题
body,div { margin:0;padding:0;} #side { background: #99FF99; height: 300px; width: 120px; float: left; _margin-right:-3px;} #side1 { background: #99FF99; height: 300px; width: 120px; float: right;
2012-03-02 15:15:22
499
转载 IE6正常显示PNG-24图片
function correctPNG() { for(var i=0; i { var img = document.images; var imgName = img.src.toUpperCase(); if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
2012-03-02 09:14:17
363
原创 oracle用户管理
3个默认用户 sys change_on_install [as sysdba] system manager scott tiger 创建用户 create user lisi identified by lisi; 系统权限 grant create session to lisi; grant create table to lisi; grant unlimited
2012-02-17 09:24:02
218
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅