摘要: 最近看了一些图模型的书籍和课程,慢慢的喜欢上了这个方向,想想自己一年来的探索,图模型正是自己想要的,我打算将我将来的研究重点放在这里。 阅读全文
posted @ 2013-08-17 19:31 lycan785 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 原文:Example:publicclassSecureextendsController{@BeforestaticvoidcheckAuthenticated(){if(!session.containsKey("user")){unAuthorized();}}}AndonanotherCon... 阅读全文
posted @ 2014-10-27 21:51 lycan785 阅读(146) 评论(0) 推荐(0) 编辑
摘要: run自己的配置play run --%jlc 阅读全文
posted @ 2014-10-27 18:18 lycan785 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 在ubuntu下面(1)sudo apt-get install git(2)sudo apt-get install ssh(3)sudo ssh-keygen -t emailaddress 在隐藏文件中找id_rsa.pub(4)git config --global user.email "... 阅读全文
posted @ 2014-10-27 18:05 lycan785 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 使用easybcd修复未果,直接使用启动盘修复,主要根据这个帖子来的,验证可用http://blog.csdn.net/kevin6216/article/details/7764292由于重装windows 7,原来的Grub启动菜单不见了,修复 Ubuntu 12.04 Grub 引导具体修 复... 阅读全文
posted @ 2014-10-26 15:24 lycan785 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Web开发:PHP/JAVA算法研究:python/C++ 阅读全文
posted @ 2014-10-18 20:26 lycan785 阅读(122) 评论(0) 推荐(0) 编辑
摘要: inthighAve(structtree*root){if(root==NULL)return0;intlefthigh=highAve(root->left);intrighthigh=highAve(root->right);if(abs(lefthigh-righthigh)>=2)retu... 阅读全文
posted @ 2014-10-09 16:34 lycan785 阅读(172) 评论(0) 推荐(0) 编辑
摘要: boolisSub(stringstr0,stringstr1){if(str0.length()!=str1.length())returnfalse;str0=str0.append(str0);if(str0.find(str1)==string::npos)returnfalse;elser... 阅读全文
posted @ 2014-10-09 14:14 lycan785 阅读(141) 评论(0) 推荐(0) 编辑
摘要: char*newstr(char*str){if(str==NULL)returnNULL;intblank=0;intlen=strlen(str);inti=0;for(i=0;i<len;i++)if(str[i]=='')blank++;intj=0;char*newhead=newchar... 阅读全文
posted @ 2014-10-09 13:58 lycan785 阅读(171) 评论(0) 推荐(0) 编辑
摘要: boolcomp(chara,charb){returna>b?true:false;}boolcheck(char*str0,char*str1){if(str0==NULL&&str1==NULL)returntrue;if(str0==NULL||str1==NULL)returnfalse;... 阅读全文
posted @ 2014-10-09 13:25 lycan785 阅读(134) 评论(0) 推荐(0) 编辑
摘要: voidreverse(char*str){if(str==NULL)return;intlen=strlen(str);inti=0;chartmp;for(i=0;i<len/2;i++){tmp=*(str+i);*(str+i)=*(str+len-1-i);*(str+len-1-i)=t... 阅读全文
posted @ 2014-10-09 13:04 lycan785 阅读(114) 评论(0) 推荐(0) 编辑