<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[红羊家园]]></title><description><![CDATA[ 未出土时便有节,待凌云处更虚心(竹)  ]]></description><link>https://blog.youkuaiyun.com/jiangredsheep</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; jiangredsheep]]></copyright><item><title><![CDATA[个性化vim之映射(map,vmap)]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/45851801</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/45851801</guid><author>jiangredsheep</author><pubDate>Tue, 19 May 2015 22:53:30 +0800</pubDate><description><![CDATA[map是一个映射命令,将常用的很长的命令映射到一个新的功能键上。



map的格式：
map  ,比如 map T :q!后，则在命令模式下按T并按回车，就会退出vim


vmap 和map类似，二者的区别在于前者用于所谓的Visual模式，后者用于通常的命令模式。 



映射
:map  ggvG
解除映射
:unmap 
清除所有映射
:mapclear]]></description><category></category></item><item><title><![CDATA[The Complete Guide to UML Diagram Types with Examples/ UML 图类型以及样例]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/45643723</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/45643723</guid><author>jiangredsheep</author><pubDate>Mon, 11 May 2015 14:27:10 +0800</pubDate><description><![CDATA[The Creately Blog
Try
 creately now






Home » diagrams »
 The Complete Guide to UML Diagram Types with Examples

The Complete Guide to UML Diagram Types with Examples

2
 February 20]]></description><category></category></item><item><title><![CDATA[Windows下使用doxygen阅读和分析C/C++代码]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/45621239</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/45621239</guid><author>jiangredsheep</author><pubDate>Sun, 10 May 2015 15:29:18 +0800</pubDate><description><![CDATA[虽然使用各种IDE或者Source Insight 可以方便地在windows下阅读和分析C/C++代码，但是一步步Go to Definetion 实在令人痛苦。Doxygen能够生成函数调用关系图，所有的函数调用关系可以一目了然，另外他还能统计文档中所有的类，成员变量，成员函数等。总的来说，Doxygen不但能从局部把握代码，还能从全局审视代码，后者是一般IDE和Source Insight ]]></description><category></category></item><item><title><![CDATA[怎么学习阅读大型项目的代码]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/45618309</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/45618309</guid><author>jiangredsheep</author><pubDate>Sun, 10 May 2015 09:11:26 +0800</pubDate><description><![CDATA[第一章: 导论

++++++++++++


1.要养成一个习惯, 经常花时间阅读别人编写的高品质代码.

2.要有选择地阅读代码, 同时, 还要有自己的目标. 您是想学习新的模式|编码风格|还是满足某些需求的方法.

3.要注意并重视代码中特殊的非功能性需求, 这些需求也许会导致特殊的实现风格.

4.在现有的代码上工作时, 请与作者和维护人员进行必要的协调, 以避免重复]]></description><category></category></item><item><title><![CDATA[ROC和AUC介绍以及如何计算AUC]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/45149535</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/45149535</guid><author>jiangredsheep</author><pubDate>Mon, 20 Apr 2015 13:54:07 +0800</pubDate><description><![CDATA[孔明 2013-06-23
 12:31:24



原帖发表在我的博客：http://alexkong.net/2013/06/introduction-to-auc-and-roc/

ROC（Receiver Operating Characteristic）曲线和AUC常被用来评价一个二值分类器（binary classifier）的优劣，对两者的简单介绍见[这里](http]]></description><category></category></item><item><title><![CDATA[测试一个奇怪的问题]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/25225515</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/25225515</guid><author>jiangredsheep</author><pubDate>Wed, 07 May 2014 16:29:01 +0800</pubDate><description><![CDATA[我是一个中国人的老师。]]></description><category></category></item><item><title><![CDATA[xmlrpc 中文编码问题]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/19612257</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/19612257</guid><author>jiangredsheep</author><pubDate>Fri, 21 Feb 2014 11:29:09 +0800</pubDate><description><![CDATA[用的包是：
Tim Cooper的

http://sourceforge.net/projects/xmlrpcc4win/



在处理中文时有些问题，比如我的应用中，server端需要接受UTF8格式的中文。


但是这个包会把已经转化了UTF8的字符，再次进行打包处理，所以会导致乱码。
搞定方法很简单：
在
TimXmlRpc.cpp中找到 如下函数:

st]]></description><category></category></item><item><title><![CDATA[Linux上SVN的 "db/txn-current-lock: Permission denied" 问题解决办法]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/13296547</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/13296547</guid><author>jiangredsheep</author><pubDate>Mon, 28 Oct 2013 16:58:33 +0800</pubDate><description><![CDATA[有时可能建SVN repo时使用root做的，因此 svn_repo/db 的owner是root, 权限也很严格，会导致一般用户无法更新之。
解决：
 1. 将svn_repo/db的own变成一般用户： 
    su
    chown -R   user1    svn_repo/db
2.  读写权限都放开:
     chmod 777 -R svn_repo/db/
]]></description><category></category></item><item><title><![CDATA[samba服务配置时常见问题]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/12870657</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/12870657</guid><author>jiangredsheep</author><pubDate>Sat, 19 Oct 2013 14:01:35 +0800</pubDate><description><![CDATA[配置完，ｗｉｎｄｏｗｓ链接时，位置不可用等问题，有两个原因：
１.　防火墙没关　
　　　ｓｅｔｕｐ－＞　关掉
２．　SELINUX　没关：




/usr/sbin/setenforce 0 立刻关闭 SELINUX
/usr/sbin/setenforce 1 立刻启用 SELINUX

加到系统默认启动里面
echo "/usr/sbin/setenforce 0"]]></description><category></category></item><item><title><![CDATA[Win7下ultraEdit等正确显示日文，韩文等字体的方法]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/9922457</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/9922457</guid><author>jiangredsheep</author><pubDate>Mon, 12 Aug 2013 13:00:54 +0800</pubDate><description><![CDATA[在控制面板-》字体-》字体设置里有显示。把“根据语言设置隐藏字体”的勾勾去掉，就可以从记事本、UE中找到相关字体了。


韩文字体：韩语中最为常见的3个字体就是Dotum、Batang和 Gulim 

日文字体：MS Gothic]]></description><category></category></item><item><title><![CDATA[如何在EditPlus、UltraEdit中正常显示韩文]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/8808560</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/8808560</guid><author>jiangredsheep</author><pubDate>Tue, 16 Apr 2013 13:48:26 +0800</pubDate><description><![CDATA[如何在EditPlus、UltraEdit中正常显示韩文

2008-11-14 12:11:02

标签：文本文件 editplus txt 休闲

原文地址：[url]http://www.20ju.com/content/V36249.htm[/url]
在工作中经常会遇到韩文的文档，如SQL用Word打开，看起来不方便；用Eclipse又太笨重；而用EditPlus、Ultr]]></description><category></category></item><item><title><![CDATA[perl内置变量总结【怒了，每次都得搜，堆在这里放着备查】]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/7992419</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/7992419</guid><author>jiangredsheep</author><pubDate>Tue, 18 Sep 2012 16:45:39 +0800</pubDate><description><![CDATA[一、正则表达式特殊变量：
1、$n 　　:包含上次模式匹配的第n个子串
2、$& 　　:前一次成功模式匹配的字符串
3、$`　　 :前次匹配成功的子串之前的内容
4、$’ 　　:前次匹配成功的子串之后的内容
5、$+　　:前一次使用括号的模式匹配的字符串.

二、文件句柄特殊变量:
1、$|　　:如果设置为零,在每次调用函数write或print后，自动调用函数fflush,将所写]]></description><category></category></item><item><title><![CDATA[perl的hash of hash 最便于一对多对应的处理]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/7963815</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/7963815</guid><author>jiangredsheep</author><pubDate>Mon, 10 Sep 2012 16:00:19 +0800</pubDate><description><![CDATA[假设一个文件里面，每行格式为：
中文单词;英文单词


但是，全部行可能重复，也可能英文单词不一样，如果想方便地整理出所有中文单词的候选英文单词，用hash of hash最方便。
看下面的例子，英文候选\t分割。


my %chn_eng_hash = ();
while(){
chomp();
my ($chn,$eng) = split(/\;/);
$chn =~]]></description><category></category></item><item><title><![CDATA[perl按照字符串长度进行排序，sort函数的示例]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/7945042</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/7945042</guid><author>jiangredsheep</author><pubDate>Wed, 05 Sep 2012 10:02:55 +0800</pubDate><description><![CDATA[## rank by len
print join("\n",sort sort_by_len keys %chn_hash);


sub sort_by_len
{
if(length($a)  length($b)) {1} else {0}
}]]></description><category></category></item><item><title><![CDATA[perl sort]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/7029774</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/7029774</guid><author>jiangredsheep</author><pubDate>Thu, 01 Dec 2011 10:07:10 +0800</pubDate><description><![CDATA[sort

Perl functions A-Z | Perl functions by category | The
 'perlfunc' manpage

sort SUBNAME LIST




sort BLOCK LISTsort LIST

In list context, this sorts the LIST and returns the sorted]]></description><category></category></item><item><title><![CDATA[一些有意思的算法代码]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/7023194</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/7023194</guid><author>jiangredsheep</author><pubDate>Tue, 29 Nov 2011 13:52:37 +0800</pubDate><description><![CDATA[http://coolshell.cn/articles/6010.html


一些有意思的算法代码

2011年11月29日陈皓发表评论阅读评论1,483
 人阅读    





Keith Schwarz是一个斯坦福大学计算机科学系的讲师。他对编程充满了热情。他的主页上他自己正在实现各种各样的有意思的算法和数据结构，http://www.keithschwarz.]]></description><category></category></item><item><title><![CDATA[多年没登陆了，终于找回了账号，感谢csdn管理员的高效率工作。]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/6976417</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/6976417</guid><author>jiangredsheep</author><pubDate>Wed, 16 Nov 2011 12:09:55 +0800</pubDate><description><![CDATA[以后接着写技术博客。]]></description><category></category></item><item><title><![CDATA[[Notice] 朋友们，blog更新http://jiang-hongfei.spaces.live.com]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/1495504</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/1495504</guid><author>jiangredsheep</author><pubDate>Sat, 27 Jan 2007 12:50:00 +0800</pubDate><description><![CDATA[http://jiang-hongfei.spaces.live.com ]]></description><category></category></item><item><title><![CDATA[简易的samba服务配置]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/1493683</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/1493683</guid><author>jiangredsheep</author><pubDate>Thu, 25 Jan 2007 22:32:00 +0800</pubDate><description><![CDATA[这里只给出我以前用的一个简易的samba服务配置的过程。是从windows xp访问linux机器。安全性比较差。1．  首先是一些准备工作。比如安装smb，必须有root权限等等。关于这一步里面的如何查看是否安装了samba服务以及是否启动等，网上有很多介绍。2．  开始，第一步，先设置smb服务的配置文件。在/etc/samba目录下，有smb.conf，这就是samba服务的]]></description><category></category></item><item><title><![CDATA[为什么英文的windows操作系统安装中文的软件会出现乱码？]]></title><link>https://blog.youkuaiyun.com/jiangredsheep/article/details/1477527</link><guid>https://blog.youkuaiyun.com/jiangredsheep/article/details/1477527</guid><author>jiangredsheep</author><pubDate>Mon, 08 Jan 2007 21:33:00 +0800</pubDate><description><![CDATA[ 英文版你得先开启东亚语言支持！ 我以前也遇到了这样的问题 不光是装软件的问题 就连我的中文的文件名也是显示的乱码！ 具体如下 进入Control Panel（控制面板）->Date, Time, Language, and Regional Options->Regional and Language Options-> 出现有3个窗卡的窗口 先进入Languages窗卡查看Supplement]]></description><category></category></item></channel></rss>