摘要: solrconfig.xml data-config.xml text View Codesolrconfig.xml同一个目录下增加 data-config.xml 文件 ... 阅读全文
posted @ 2014-07-08 15:46 dfg727 阅读(387) 评论(0) 推荐(0)
摘要: 参考了各位大大的,然后自己写了个爬虫用到的modules:utils.js --- momentmodule_url.js var http = require("http"); //获得页面数据 var cheerio = require("cheerio")... 阅读全文
posted @ 2014-06-26 10:49 dfg727 阅读(864) 评论(4) 推荐(0)
摘要: sublime text 3:按快捷键 ctrl+` 或者点击 View → Show/Hide Console 调出控制台Console;import urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.instal 阅读全文
posted @ 2014-06-12 09:55 dfg727 阅读(10480) 评论(0) 推荐(0)
摘要: Solr Schema.xml和solrconfig.xml分析 (http://yinwufeng.iteye.com/blog/964040)一、字段配置(schema)schema.xml位于solr/conf/目录下,类似于数据表配置文件,定义了加入索引的数据的数据类型,主要包括type、fields和其他的一些缺省设置。1、先来看下type节点,这里面定义FieldType子节点,包括name,class,positionIncrementGap等一些参数。name:就是这个FieldType的名称。class:指向org.apache.solr.analysis包里面对应的clas 阅读全文
posted @ 2014-02-13 10:18 dfg727 阅读(2912) 评论(0) 推荐(1)
摘要: Git核心:http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+gitTortoiseGit :http://code.google.com/p/tortoisegit/首先,在服务器创建一个文件夹用于存放你要公开的版本库。然后进入这个文件夹,右键->Git create repository here,弹出的窗口中勾选Make it Bare!之后将这个文件夹完全共享(共享都会吧?注意权限要让使用这个文件夹的用户为“完全控制”)。在客户机打开我的电脑,点“映射网络驱动器”之后找到服务器刚才共 阅读全文
posted @ 2013-12-23 12:22 dfg727 阅读(3799) 评论(0) 推荐(0)
摘要: NAnt help:http://nant.sourceforge.net/release/latest/help/tasks/NAntContrib help:http://nantcontrib.sourceforge.net/nightly/latest/help/tasks/index.ht... 阅读全文
posted @ 2013-11-26 16:50 dfg727 阅读(560) 评论(0) 推荐(0)
摘要: CruiseControl.NET-1.8.4.0-Setup.exe 是服务器,安装时可以选择生成windows service以便开启,建议测试时不用windows service,直接用CruiseControl.NET的运行文件,这样配置有问题时可以直接在上面看的到错误原因 CruiseCo... 阅读全文
posted @ 2013-11-24 17:25 dfg727 阅读(1789) 评论(0) 推荐(0)
摘要: jquery ajax/post/get 传参数给 mvc的action1.ActionResult Test1 2.View Test1.aspx3.ajax page4.MetaObjectMigration.cs string json convert to class5.相关的代码下载(包含用的相关类, jquery.json.js等)ActionResult Test1public ActionResult Test1(string nameJS, UserInfoInputData model, string js) { UserInfoInp... 阅读全文
posted @ 2013-08-10 20:15 dfg727 阅读(3936) 评论(0) 推荐(0)
摘要: 通过spring.net中的spring.caching CacheResult实现memcached缓存1.SpringMemcachedCache.cs2.APP.config3.Program.cs4.Common待解决问题:CacheResult,CacheResultItems有什么区别????SpringMemcachedCache.cs memcached的实现, 继承了Spring.Caching.AbstractCache, memcached的实现用了Enyim.Caching 1 using System; 2 using Spring.Caching; 3 u... 阅读全文
posted @ 2013-08-08 10:55 dfg727 阅读(1768) 评论(1) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.IO;using System.Data;using System.Web;using System.Data.Odbc;using System.Text.RegularExpressions;using System.Collections;namespace KernelClass{ public class CSVHelper { ... 阅读全文
posted @ 2013-06-22 23:12 dfg727 阅读(965) 评论(0) 推荐(0)