上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 40 下一页
  2013年12月28日
摘要: 今天在Opensuse下配置vim 遇到两个问题配置插件找到一个很好的博客。学到一些有用技巧http://hahaya.github.io/2013/07/26/use-vundle.html但是遇到两个问题 一个是YouCompleteMe unavailable: requires Vim compiled with Python 2.x support解决办法http://stackoverflow.com/questions/3373914/compiling-vim-with-python-support就是安装zypper ar http://download.opensuse.o 阅读全文
posted @ 2013-12-28 18:51 c3tc3tc3t 阅读(4049) 评论(0) 推荐(0)
摘要: IndexReader。使用过程中有时会出现document被删除,reader还是原来的reader没有改变,所以使用openifchanged保证,又因为IndexReader 初始化很耗费资源所以放在静态代码块里private static Directory directory = null; private static IndexReader reader = null; static { try { directory = FSDirectory.open(new File("E:/lucene/index02")); reader = IndexReader 阅读全文
posted @ 2013-12-28 13:07 c3tc3tc3t 阅读(351) 评论(0) 推荐(0)
  2013年12月26日
摘要: 安装时候报: Oracle 支持在具有 DHCP 分配的公共 IP 地址的系统上进行安装。但应使用静态 IP 地址来配置系统的主网络接口, 以便 Oracle 软件正常工作。有关在配置有 DHCP 的系统上安装软件的详细信息, 请参阅 Installation Guide。网上找方案解决 下面方式好使到控制面板/添加硬件,在向导中选择“是,已经连接了此硬件”→“网络适配器”→“Microsoft Loopback Adapter”,添加完成,你会发现新建了个“本地连接”,用的就是这个假的“Microsoft Loopback Adapter”(因为根本就没有连接这个硬件,只是骗下Oracle而 阅读全文
posted @ 2013-12-26 21:11 c3tc3tc3t 阅读(1641) 评论(0) 推荐(0)
摘要: 今天遇到这个问题网上搜了一下答案找到了转贴http://blog.csdn.net/lidew521/article/details/8546155plsql 登录后提示:Database character set (AL32UTF8) and Client character set (ZHS16GBK) are different.Character set conversion may cause unexpected results.Note: you can set the client character set through the NLS_LANG environment 阅读全文
posted @ 2013-12-26 20:32 c3tc3tc3t 阅读(403) 评论(0) 推荐(0)
  2013年12月19日
摘要: 手动包装jquery1.10.2,firebug说$没有定义define(function (require, exports, module) {//jquery源码module.exports=$.noConflict(true); //此处的$被提示没定义});但是按照上面方式 jquery1.9 和1.8就没问题,我用的seajs是2.1.1昨天终于解决了就是去掉require, exports, module修改成define(function () {//jquery源码return $.noConflict(); });暂时不知道原因。以后再研究 阅读全文
posted @ 2013-12-19 09:32 c3tc3tc3t 阅读(568) 评论(0) 推荐(0)
摘要: define(["jquery"],//Requirejqueryfunction($){//把你原来的插件代码放这里吧,这样就行了//注意文件命名}); 阅读全文
posted @ 2013-12-19 09:30 c3tc3tc3t 阅读(149) 评论(0) 推荐(0)
  2013年12月14日
摘要: 在上一个笔记修改完字体后.再添加上行号以上设置是老版本在新版本0.6.4上这样设置,去掉两边括号 和true:editor [:lt.objs.editor/no-wrap :lt.objs.editor/line-numbers 阅读全文
posted @ 2013-12-14 11:05 c3tc3tc3t 阅读(471) 评论(0) 推荐(0)
  2013年12月13日
摘要: view->command->use.behaviors加上这一句 (:lt.objs.style/font-settings "Inconsolata" 14 1)字体是 "Inconsolata"字体大小是 14行高度间距是 1在0.6.4 字体不加双引号(:lt.objs.style/font-settings Inconsolata14 1) 阅读全文
posted @ 2013-12-13 18:15 c3tc3tc3t 阅读(605) 评论(0) 推荐(0)
  2013年12月8日
摘要: 下载地址http://pan.baidu.com/s/1mtQdY 阅读全文
posted @ 2013-12-08 16:32 c3tc3tc3t 阅读(1759) 评论(0) 推荐(0)
  2013年12月1日
摘要: 原地址是http://www.w3school.com.cn/schema/schema_complex_empty.asp下面这个例子是不正确的 xmlspy报错。因为定义的这个integer不是复杂类型,comlexContent包含的应该是复杂类型,integer不是。所以应该用simpleContentcomplexContent 定义对复杂类型(包含混合内容或仅包含元素)的扩展或限制。 simpleContent 包含对 complexType 元素的扩展或限制且不包含任何元素。 下面这个是正确的 阅读全文
posted @ 2013-12-01 13:56 c3tc3tc3t 阅读(262) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 40 下一页