必须提醒你的是:locate命令非常快,其实 locate 命令他查询的是系统中的一个数据库。这个数据库通常会在一定时间更新。这样确实很方便,但是:如果你新建一个文件 $ touch file_for_test然后你输入$ locate file_for_test这样你是不会找到这个文件的。这时你必...
分类:
系统相关 时间:
2014-06-28 18:38:39
阅读次数:
242
#ifndef COMMON_HHH#define COMMON_HHH#define ASSERT(p) \ do{\ if (!p){\ printf("%s:%d\n",__FILE__,__LINE__ );\ }\ } while (...
分类:
其他好文 时间:
2014-06-28 18:34:04
阅读次数:
293
Configuration ErrorDescription: An error occurred during the processing of a configuration file required to service this request. Please review the sp...
5. 在这里我加一个struts2的一个上传验证的问题上传时我们可以这样来验证//判断上传的文件是否合要求 public boolean filterType(String []types){ //这里用的是 上传的file对象的方法length //上传的类...
分类:
其他好文 时间:
2014-06-28 16:28:01
阅读次数:
223
#ifndef __CCCONFIG_H__#define __CCCONFIG_H__#include "platform/CCPlatformConfig.h"/**@filecocos2d (cc) configuration file*//** @def CC_ENABLE_STACKABL...
分类:
其他好文 时间:
2014-06-28 16:27:23
阅读次数:
280
线上配置/etc/rsyncd.confuid = rootgid = rootuse chroot = yesmax connections = 10pid file=/var/run/rsyncd.pidlist = yesstrict modes = nohosts ...
分类:
其他好文 时间:
2014-06-28 16:24:42
阅读次数:
327
【MSSQL】MDF、NDF、LDF文件的含义2012-09-03 15:32:56|分类:SQL数据库|举报|字号订阅MDF是 primary data file 的缩写;NDF是 Secondary data files的缩写;LDF是 log data files的缩写。并不是取单词的首字母。...
分类:
数据库 时间:
2014-06-21 14:01:43
阅读次数:
330
Bulk Insert命令具体 BULK INSERT以用户指定的格式复制一个数据文件至数据库表或视图中。 语法:Sql代码 BULKINSERT[['database_name'.]['owner'].]{'table_name'FROM'data_file'} WITH( [BATCHSIZE[...
分类:
其他好文 时间:
2014-06-20 18:50:45
阅读次数:
265
原文来自:http://www.pixelstech.net/article/1347582974-Hide-a-file-in-a-picture本文来自:http://blog.csdn.net/svitter有时你想在电脑中隐藏一些重要的不想让别人看见的文件,那么你应该怎么做?去寻找一个专业的...
分类:
其他好文 时间:
2014-06-20 17:01:05
阅读次数:
179
1 //1.C++很简单的一种办法: 2 #include 3 #include 4 using namespace std; 5 #define FILENAME "stat.dat" 6 int main() 7 { 8 fstream _file; 9 _file.o...
分类:
编程语言 时间:
2014-06-20 15:45:52
阅读次数:
327