1. 安装Apache :yum install httpd2. 安装SVN :yum install mod_dav_svn subversion3. 配置SVN :vim /etc/httpd/conf.d/subversion.conf DAV svn SVNParentPat...
分类:
其他好文 时间:
2014-09-05 19:49:51
阅读次数:
237
最近想找一个single-page JavaScript application Framework ,而不是单纯的Toolkit+Widget。来看YUI3的一段介绍:引用The YUI App Framework is a rollup of the Controller, Model, Mod...
分类:
其他好文 时间:
2014-09-05 18:10:31
阅读次数:
171
1257: [CQOI2007]余数之和sumTime Limit:5 SecMemory Limit:162 MBSubmit:1779Solved:823[Submit][Status]Description给出正整数n和k,计算j(n, k)=k mod 1 + k mod 2 + k mo....
分类:
其他好文 时间:
2014-09-05 18:05:11
阅读次数:
162
首先,你的拥有一个有泛域名解析的顶级域名,例如: domain.com 其次,在 httpd.conf 中打开 mod_rewrite 之后,在 httpd.conf 的最后,添加以下内容: RewriteEngine on RewriteMap lowercase int:tolower ...
分类:
系统相关 时间:
2014-09-05 14:20:21
阅读次数:
312
2242: [SDOI2011]计算器Time Limit:10 SecMemory Limit:512 MBSubmit:1274Solved:491[Submit][Status]Description你被要求设计一个计算器完成以下三项任务:1、给定y,z,p,计算Y^Z Mod P 的值;2、...
分类:
其他好文 时间:
2014-09-05 00:56:20
阅读次数:
308
快速幂模+佩尔方程#include #include #include #include const int Mod=8191;struct Matrax { int m[3][3];};Matrax a,per;void slove(int d,int &x1,int &y1){ y1=1; wh...
分类:
其他好文 时间:
2014-09-04 22:13:20
阅读次数:
233
队列头指针为front,队列尾指针为rear(指向队尾元素),after_rear为队尾元素的后一位置(按顺时针方向),队列容量为maxsize 如果用 front == rear 来表示队列为空,也就是说front和rear指向同一个位置,那么: 队列满时:(rear+1) mod maxsize...
分类:
其他好文 时间:
2014-09-04 22:07:50
阅读次数:
513
Divide two integers without using multiplication, division and mod operator.思路:取被除数和除数的绝对值求解即可。不过,需要考虑特殊情况:INT_MIN取绝对值仍然是INT_MIN。 1 class Solution { 2...
分类:
其他好文 时间:
2014-09-04 20:46:30
阅读次数:
214
http://www.ubuntukylin.com/ukylin/forum.php?mod=viewthread&tid=8631
https://bugs.launchpad.net/ubuntu/+source/vino/+bug/1290666
解决方案如下:
1、安装dconf-editor
sudo apt-get install dconf-editor
2、用Dco...
用putty连上服务器后,先更新:[root@AY1207241 /]# yum update然后安装LAMP环境:[root@AY1207241 /]# yum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_s...
分类:
其他好文 时间:
2014-09-04 18:39:29
阅读次数:
156