摘要: 装Oracle 11g的时候选了gbk编码,后来想改成utf-8. 打开SQL Plus,登录,逐行输入下面的命令: --查看Oracle数据库当前的字符集: select userenv('language') from dual; --修改Oracle数据库字符集为utf-8: 阅读全文
posted @ 2011-07-09 10:21 Clotho_Lee 阅读(989) 评论(0) 推荐(0)
摘要: 有时即使输入的是正确的用户名和密码,也会报这个错. 控制面板 -> 管理工具 -> 本地安全策略 -> 本地策略 -> 安全选项 在列表中找到"网络安全:LAN管理器身份验证级别",选择"仅发送 NTLM 响应". 阅读全文
posted @ 2011-06-01 13:48 Clotho_Lee 阅读(1323) 评论(0) 推荐(0)
摘要: nginx在windows下只用了select,在linux和freebsd下分别用了epoll和kqueue,所以nginx在windows下的效率远比在linux和freebsd下低.1.下载nginxhttp://nginx.org/en/download.html2.下载phphttp://windows.php.net/download/这里下载的是x86 Non Thread Safe的zip版,原因是fast-cgi是支持非线程安全的.3.解压分别解压到C:\nginx和C:\php目录.4.修改nginx配置打开C:\nginx\conf\nginx.conf,反注释下面这几行 阅读全文
posted @ 2011-05-31 11:32 Clotho_Lee 阅读(360) 评论(0) 推荐(0)
摘要: 接前面一篇TF-IDF的代码,用其结果来计算出向量的余弦值的代码View Code usingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespaceCluster{staticclassCosine{///<summary>///计算向量余弦值///</summary>///<paramname="vector1"></param>///<paramname="vector2"></param>publics 阅读全文
posted @ 2011-04-11 22:42 Clotho_Lee 阅读(2771) 评论(0) 推荐(1)
摘要: 官方文档: http://msdn.microsoft.com/en-us/library/bb190764.aspx 官方文档: http://msdn.microsoft.com/zh-cn/library/bb190764(vs.80).aspx 应用文档: http://blog.csdn. 阅读全文
posted @ 2011-03-30 10:48 Clotho_Lee 阅读(493) 评论(0) 推荐(0)
摘要: 翻代码时看到以前写的TF-IDF的C#实现,共享一下..ps: codeproject.com有一个泰国仔实现的版本,代码写得非常乱..代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespaceCluster{///summary///词项////summaryclassTerm{///summary/ 阅读全文
posted @ 2010-12-29 17:15 Clotho_Lee 阅读(1928) 评论(0) 推荐(0)
摘要: GOOGLE 66.249.70.212 - - [11/Jan/2009:00:03:35 -0700] "GET www.vidun.com/user-f2fc990265c712c49d51a18a32b39f0c.html?umid=f2fc990265c712c49d51a18a32b39 阅读全文
posted @ 2010-07-29 16:03 Clotho_Lee 阅读(3880) 评论(0) 推荐(1)
摘要: ms pgothic一定要搭配font-size: small才好看. Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->body{ font-fam 阅读全文
posted @ 2010-07-24 10:42 Clotho_Lee 阅读(383) 评论(0) 推荐(0)
摘要: IntelliSense comes in two modes: Completion and Suggestion.You are already familiar with IntelliSense Completion mode, it's the traditional mode that we have all used for years.But if you are into Test Driven Development (TDD) then Completion mode can be very annoying at times.As a TDD developer 阅读全文
posted @ 2010-07-23 14:37 Clotho_Lee 阅读(1521) 评论(0) 推荐(0)
摘要: regedit -> HKEY_CLASSES_ROOT -> .psd -> 删除ShellNew -> 右键.psd -> 权限 -> 完全控制+读取 -> 拒绝 阅读全文
posted @ 2010-07-22 11:24 Clotho_Lee 阅读(550) 评论(0) 推荐(0)