1、环境说明: (Gentoo Linux环境) # uname -aLinux Crob
2.6.34-gentoo #1 SMP Mon May 31 15:45:25 CST 2010 x86_64 Intel(R) Core(TM)2 Duo
CPU E7500 @ 2.93GHz Genu...
分类:
其他好文 时间:
2014-04-30 16:53:08
阅读次数:
518
一、写在前面个人使用的是win7+ubuntu多系统的环境。因为目前正在学习linux环境下的C语言编程,安装了两个版本的ubuntu(12.04和14.04今天还按了一个kylin也不知道好用不)。这篇博文就和大家唠一下如何用grub2安装ubuntu14.04的iso镜像盘。有两点跟大家声明下:...
分类:
其他好文 时间:
2014-04-30 16:38:18
阅读次数:
625
【环境】CENTOS6.3 +
wdcp(php5.3)【症状】可正常加入队列,但不执行队列【原因】大部份都是用户权限造成【原理】
Ecstore2.0的导入导出、发送邮件、日常清理备份等任务操作,都通过用入任务队列,然后采用LINUX的CRON任务调试定时来执行并清空队列。【方法】
第一步:测.....
分类:
其他好文 时间:
2014-04-30 15:23:24
阅读次数:
2797
学Linux的人肯定都听说过一些开源协议,具体这些协议有什么区别?如果要开源自己的代码,需要选择什么样的开源协议呢?今天要说4个协议:BSD、GPL、LGPL和MIT。
分类:
其他好文 时间:
2014-04-30 14:07:49
阅读次数:
411
并查集的路径压缩。 1 #include 2 #include 3 4 #define MAXNUM
100005 5 6 int deg[MAXNUM], bin[MAXNUM]; 7 char isCycle[MAXNUM]; 8 9 int
find(int x) {10 i...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
308
Problem description:given a string, find the
longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start
and end of the substring...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
308
where do i beginto tell a story of how great a love
can bethe sweet love story that is older than the seathe simple truth about the
love she brings to...
分类:
其他好文 时间:
2014-04-29 17:18:46
阅读次数:
342
cd /etc/sysconfig/network-scriptscp ifcfg-eth0
bak.ifcfg-eth0cp ifcfg-eth1 bak.ifcfg-eth1vi
ifcfg-bond0DEVICE=bond0BROADCAST=192.168.8.255IPADDR=192.1...
分类:
系统相关 时间:
2014-04-29 17:17:47
阅读次数:
639
#include#include"regexpr2.h"usingnamespacestd;usingnamespaceregex;//greta库的命名空间//若链接出错,设置MFC静态链接//查找匹配串//返回结果匹配串(CStringArray数组指针类型)CStringArray*Find(...
分类:
其他好文 时间:
2014-04-29 17:15:48
阅读次数:
363
0、npm 命令C:\Users\Carrie>npm expressUsage: npm
where is one of: add-user, adduser, apihelp, author, bin, bugs, c, cache,
completion, config, ddp...
分类:
其他好文 时间:
2014-04-29 16:31:45
阅读次数:
396