apt-get install eclipse eclipse-cdt eclipse-jdt# don't include eclipse if you have it already after a successful install, do the following at termin.....
分类:
系统相关 时间:
2014-06-28 11:24:15
阅读次数:
317
阅读内核代码习惯和喜欢使用source insight。如果能在source insight上修改内核代码,同时又不需要把修改的内核代码再拷贝到虚拟ubuntu上去那就方便了。于是想通过用samba与xp共享的方式来实现。即xp、samba、虚拟ubuntu9.10等工具。事实上是可以的,用sour...
分类:
其他好文 时间:
2014-06-24 09:57:21
阅读次数:
391
AVOS Cloud 学习笔记(一) 功能总结(What it can do?)第一章、对象存储对象新建、保存、更新、删除和检索1 //创建新对象,根据类名2 AVObject *gameScore = [AVObject objectWithClassName:@"GameScore"];3 [....
分类:
其他好文 时间:
2014-06-23 08:29:54
阅读次数:
340
有时候,我们因为需要给dede网站的自定义表单添加验证码,防止恶意填写表单提交。我们可以用以下的方法来实现:首先,我们要找到 /plus/diy.php 这个文件在头部引入文件:require_once(DEDEINC.'/membermodel.cls.php');然后找到elseif($do =...
分类:
Web程序 时间:
2014-06-23 07:52:06
阅读次数:
333
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=743题意:有两个音乐厅出租。给出n个租客,每个租客有个租的时间段[L,R],以及租费。任意时候音乐厅只能租给最多一个租客。问如何选择租给哪些租客使得赚的钱最多?思路:f[...
分类:
其他好文 时间:
2014-06-23 07:46:10
阅读次数:
265
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4255题意:n个人订餐。n个人位于一条线上,饭店也在这条线上。每个人有一个脾气值p。若第i分钟得到他预定的饭不满意度为p*i。送饭人的速度已知。求一种送饭顺序使得总不满意...
分类:
其他好文 时间:
2014-06-23 07:39:56
阅读次数:
243
A lot of computations involve processing a string one character at a time. Often they start at the beginning, select each character in turn, do someth...
分类:
其他好文 时间:
2014-06-23 07:19:02
阅读次数:
257
var p =params.join("&");var a = document.createElement('a');a.href = 'report/exportpubcount.do'+p;a.target = '_blank';a.id='exppub';document.body.appe...
分类:
Web程序 时间:
2014-06-23 06:57:40
阅读次数:
2175
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=15题意:给定一个图。判断是不是弦图?思路:(1)神马是弦图?对于一个无向图,若该图的任意一个长度大于3的环中存在一条边连接这个环上不相邻的两点,则此图称作弦图。(2)什么...
分类:
Web程序 时间:
2014-06-23 06:50:38
阅读次数:
300
测试使用agentd监听获取数据。服务端的安装可以查看http://blog.chinaunix.net/space.php?uid=25266990&do=blog&id=3380929下载http://www.zabbix.com/downloads/2.0.3/zabbix_agents_2....
分类:
系统相关 时间:
2014-06-23 06:30:18
阅读次数:
261