2016
11月29日
Excuses are born out of fear. Eliminate your fear and there will be no excuses.
Your past never defines your future.
11月30日
今天是你的生日,祝你生日快乐!
Happy birthday
It’s time to start living the life you’ve only imagined
Your past never defines your future
Excuses are born out of fear. Eliminate your fear and there will be no excuses.
Your past never defines your future.
今天是你的生日,祝你生日快乐!
Happy birthday
It’s time to start living the life you’ve only imagined
|
|
js代码
java代码
|
|
示例:在离开你的页面时,显示 :,在返回之后就会变成
,停个4s又变回来了。只要在你的
themes\next\layout
文件下的_layout.swig
文件的body体中添加
|
|
这是相当笨拙的,更干净简洁的做法是:
下面是看Lucene in Action 第四章 分词
单词:
只是去掉空格,就按空格分成若干个token
首先会去年非字符,转小写 还会省略数字
和上一个差不多,只是会去掉一些特定的英文单词(stop words)eg:the , a
是Lucene最精妙的核心Analyzer,可以去有一定的逻辑去识别特定的各种符号,比如公司名称,e-mail, etc,, 也会转小写和根据stop words删除
我是看Lucene in action学习的,也想一步一步学的猿们可以移步。这本书是基于lucene 3.0 写的,里面还是有一些api已经没有了或者过时了,我是用5.0测试的。
下载 require.js 右键另存为就可以了
在你的html里面引入require.js,还有一个切入点js,你可以在main.js里面写require的配置