2014年7月7日 14:33:36函数定义在 system/core/common.php中使用方法是 load_class('Hooks', 'core'): 在core目录内寻找Hooks类,返回对象其中的core目录: 先在application/core下找Hooks.php文件,然后在s...
分类:
其他好文 时间:
2014-07-09 23:09:19
阅读次数:
217
无意中发现任务管理器中一个非常奇特的进程,迅速吃掉了我50%的cpu资源,并且是持续性的,于是上google一番查找,终于有了新的发现。 非常多问答产品所有都是清一色的错误解决方式:正常情况下,系统中应该有两个ccsvchst进程。路径为X:/progamme files/common files....
分类:
其他好文 时间:
2014-07-09 22:57:12
阅读次数:
179
SPOJ Problem Set (classical)
1812. Longest Common Substring II
Problem code: LCS2
A string is finite sequence of characters over a non-empty finite set Σ.
In this problem, Σ is...
分类:
其他好文 时间:
2014-07-08 17:14:39
阅读次数:
291
【版权声明:转载请保留出处:blog.csdn.net/gentleliu。Mail:shallnew at 163 dot com】
一般一个稍大的linux项目会有很多个源文件组成,最终的可执行程序也是由这许多个源文件编译链接而成的。编译是把一个.c或.cpp文件编译成中间代码.o文件,链接是就使用这些中间代码文件生成可执行文件。比如在当前项目目录下有如下源文件:
# ls
common....
分类:
其他好文 时间:
2014-07-08 14:48:35
阅读次数:
165
#include #include #include #include #include #include #include #include #include #include #include #include #include "common.h"#include "serversignal....
分类:
Web程序 时间:
2014-07-06 21:53:31
阅读次数:
165
一、概念:SeaJS是一个遵循CommonJS规范的JavaScript模块加载框架。在 Sea.js 中,所有 JavaScript 模块都遵循 CMD(Common Module Definition) 模块定义规范。该规范明确了模块的基本书写格式和基本交互规则。在 CMD 规范中,一个模块就是...
分类:
Web程序 时间:
2014-07-06 20:42:08
阅读次数:
177
There are a bunch of different methods you can use to back up your MongoDB data, but if you want to avoid downtime and/or potential
performance degradation, the most common advice seems to be that y...
分类:
数据库 时间:
2014-07-06 09:26:04
阅读次数:
437
需要进一步学习hadoop、需要看看内部源码实现,因此需要将hadoop源码导入都eclipse中,简单总结一下,具体步骤如下:
首先确保已经安装了git、maven3、protobuf2.5、如果没有安装需要提前安装一下
1、下载hadoop源码
git clone git://git.apache.org/hadoop-common.git
2、进入hadoop-common目录,...
分类:
系统相关 时间:
2014-07-05 23:37:02
阅读次数:
288
Write a function to find the longest common prefix string amongst an array of strings.class Solution {public: string longestCommonPrefix(vector &st...
分类:
其他好文 时间:
2014-07-05 18:36:22
阅读次数:
209
没事折腾struts2,遇到异常,浪费好长时间,于是干脆把所有可能的异常都给跑一遍,来个痛快的。
文件的结构
WEB-INF
|------configs
|-------struts-common.xml
|-------struts.xml
|------web.xml
遇到的异常...
分类:
其他好文 时间:
2014-07-03 17:00:52
阅读次数:
231