1:安装svn客户端,并且在客户端下,能建立仓库,在自己的硬盘上,建一个库利用file:///D:/xx/yy来管理自己的仓库.2:把svn与apache整合.2.1为什么与apache一起整合?答:因为80端口支持广泛.2.2:整合步骤在windows,选取与apache相适应的subversion的压缩包,并与apache整合.下载地址:ht..
分类:
其他好文 时间:
2014-07-24 17:57:36
阅读次数:
212
1.创建url 链接到form
$items['qianfeng/add'] = array(
'title' => t('添加信息'),
'page callback' => 'drupal_get_form',
'page arguments' => array('qianfeng_add',1),
'file' => 'videocloud_qian...
分类:
其他好文 时间:
2014-07-24 17:46:31
阅读次数:
240
MySQL数据目录/data/mysql所在的上层目录/data磁盘空间不足导致MySQL启动失败,所以清理了/data目录下除了mysql子目录外的其他无用目录。重启发现还是失败。检查错误日志。看到如下错误:
/usr/local/mysql/bin/mysqld: Can't create/write to file '/data/tmp/ibbLmEoD' (Errcode: 13 - P...
分类:
数据库 时间:
2014-07-24 17:41:56
阅读次数:
272
在PHP中,is_file和file_isexist是有很小区别的
1) is_file:
$path ="/path/to/file/text.txt";
if(file_exists($path))
echo "File Exists";
else
echo "File not Exists";
比如在这个例子中,文件存在会返回true...
分类:
Web程序 时间:
2014-07-24 17:39:06
阅读次数:
262
1、action.classprivate File pictureType; private String pictureTypeContentType; private String pictureTypeFileName;public String editType() throw...
分类:
其他好文 时间:
2014-07-24 17:35:05
阅读次数:
241
在网上看到的算法,跟之前自己写的一个非遍历算法类似,先记录下来。非递归:import java.io.File;import java.util.LinkedList;public class FileSystem { public static void main(String[] args...
分类:
编程语言 时间:
2014-07-24 17:31:15
阅读次数:
421
对于linux的权限掌握以下几个命令就可以非常熟练的操作系统中的各种权限了。使用权限 : 所有使用者使用方式 : chmod [-cfvR] [--help] [--version] mode file...说明 : Linux/Unix 的档案存取权限分为三级 : 档案拥有者、群组、其他。利用 c...
分类:
系统相关 时间:
2014-07-24 17:22:25
阅读次数:
302
备份pg_dump -f "F:/dump.sql" -U postgres -h 10.38.197.120 -p 5432 -O恢复psql -f "F:/dump.sql" -U postgres -h -p 5432
分类:
数据库 时间:
2014-07-24 17:16:35
阅读次数:
268
一个程序简单的程序如下:1 hello.h#ifndef HELLO_H#define HELLO_Hvoid hello(const char *name);#endif2 hello.c#include #include void hello(const char *name){ printf(...
分类:
其他好文 时间:
2014-07-24 17:06:15
阅读次数:
187
//捕获fopen调用中的错误#include#include#include#defineMYFILE"missing.txt"intmain() { FILE*fin; fin=fopen(MYFILE,"r"); if(fin==(FILE*)NULL) { printf("%s:%s\n",...
分类:
系统相关 时间:
2014-07-24 16:56:45
阅读次数:
298