11 2014 档案

摘要:1. Template functiontemplate // a template prefixT func(T a, T b, T c){ // return value is T type, 3 T-typed formal parameters return a + b + c;}We... 阅读全文
posted @ 2014-11-24 05:32 Rui Yan 阅读(156) 评论(0) 推荐(0)
摘要:refer to this article 1 bool IsPrimeOptimizationThree(int number) 2 { 3 if(number<2) 4 return false; 5 if(number==2) 6 return ... 阅读全文
posted @ 2014-11-21 10:09 Rui Yan 阅读(243) 评论(0) 推荐(0)
摘要:select distinct ?g where{ graph ?g { ?s ?p ?o. }} 阅读全文
posted @ 2014-11-18 05:28 Rui Yan 阅读(132) 评论(0) 推荐(0)
摘要:delete { ?s ?p ?o.}where{ ?s ?p ?o.} 阅读全文
posted @ 2014-11-18 04:59 Rui Yan 阅读(149) 评论(0) 推荐(0)
摘要:OK, here is the solution I found after searching lots of things:http://www.oschina.net/question/12_21632https://www.digitalocean.com/community/tutoria... 阅读全文
posted @ 2014-11-18 00:02 Rui Yan 阅读(347) 评论(0) 推荐(0)
摘要:So you have a C++ template class, but you want to specifiy a member function for a particular type of data: 1 // A template class called Image: 2 tem... 阅读全文
posted @ 2014-11-16 01:06 Rui Yan 阅读(183) 评论(0) 推荐(0)
摘要:tar -xvf yourfile.tar.gzThis will create a same named folder containing uncompressed files. 阅读全文
posted @ 2014-11-15 01:55 Rui Yan 阅读(275) 评论(0) 推荐(0)
摘要:please refer tohttp://stackoverflow.com/questions/11547458/what-is-the-difference-between-jvm-jdk-jre-openjdkAnswered byalain.janinmJVMTheJava Virtual... 阅读全文
posted @ 2014-11-15 01:49 Rui Yan 阅读(702) 评论(0) 推荐(0)
摘要:What Is Subversion? (please refer tohttp://svnbook.red-bean.com/en/1.6/svn.intro.whatis.html )Subversion is a free/open sourceversion control system(V... 阅读全文
posted @ 2014-11-15 01:47 Rui Yan 阅读(204) 评论(0) 推荐(0)
摘要:Please refer to :http://www.webopedia.com/TERM/H/HTTP.htmlShort forHyperTextTransferProtocol, HTTP is the underlyingprotocolused by theWorld Wide Web.... 阅读全文
posted @ 2014-11-13 05:06 Rui Yan 阅读(264) 评论(0) 推荐(0)
摘要:I was recently allocated a virtuoal server with apache installed. I tried to inspect the installation of apache and see if some back-end processes are... 阅读全文
posted @ 2014-11-13 04:34 Rui Yan 阅读(220) 评论(0) 推荐(0)
摘要:BFS is faster to find shortest path from root to leaf node of a tree. But the tradeoff is to use more memory.the basic trategy is to maintain a list t... 阅读全文
posted @ 2014-11-11 03:43 Rui Yan 阅读(179) 评论(0) 推荐(0)
摘要:please refer to this 阅读全文
posted @ 2014-11-07 05:10 Rui Yan 阅读(133) 评论(0) 推荐(0)
摘要:OK. I have been trying to learn github for really a long time, but (yes, there is always a but) I just couldn't know how to use it. This article will ... 阅读全文
posted @ 2014-11-04 05:03 Rui Yan 阅读(274) 评论(0) 推荐(0)