1、将文件checkout到本地目录
svn checkout path(path是服务器上的目录)
例如:svn checkout svn://192.168.1.1/pro/domain
简写:svn co
2、往版本库中添加新的文件
svn add
file
例如:svn add test.php(添加test.php)
svn add
*.php(添加当前目录下...
分类:
系统相关 时间:
2015-01-19 12:53:46
阅读次数:
202
转:http://www.cnblogs.com/peida/archive/2012/12/05/2803591.html开始详细系统的学习linux常用命令,坚持每天一个命令,所以这个系列为每天一个linux命令。学习的主要参考资料为: 1.《鸟哥的linux私房菜》 2.http://co.....
分类:
系统相关 时间:
2015-01-19 10:49:21
阅读次数:
186
当我们需要使用BeanPostProcessor时,直接在Spring配置文件中定义这些Bean显得比较笨拙,例如: 使用@Autowired注解,必须事先在Spring容器中声明AutowiredAnnotationBeanPostProcessor的Bean: 使用 @Required注解,.....
分类:
编程语言 时间:
2015-01-18 23:57:51
阅读次数:
258
首先我们需要引用两个第三方组件:AForge和zxing。Aforge是摄像头操作组件,zxing是二维码识别组件。都是开源项目。避免重复造轮子。其实一些操作代码我也是参照别人的,若侵犯您的版权,请和我联系。此博客仅供技术交流。下载和用法大家可以自行搜索下。首先获取所有可用的摄像头设备,并加入到co...
题目:
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
click to show clarification.
Clarification:
What co...
分类:
编程语言 时间:
2015-01-18 14:30:02
阅读次数:
239
使用hadoop 进行页面的pv uv 计算
不推荐的做法
将访问者的cookie放在hashmap中进行去重计算uv,因为当访问量大时,会将hashmap撑爆,报出
java.lang.OutOfMemoryError: Java heap space
推荐做法:
使用textpair 将cookie作为second key 进行排序,在reduce中进行判断,如果上一个co...
分类:
其他好文 时间:
2015-01-18 11:55:00
阅读次数:
224
http://poj.org/problem?id=3133题意:n×m的网格,有2个2,2个3,他们不会重合。还有障碍1。现在求2到2的路径和3到3的路径互不相交的最短长度-2。(2#include #include using namespace std;struct H { static co...
分类:
其他好文 时间:
2015-01-17 22:13:24
阅读次数:
164
StdAfx.h文件实现各种预定义.#ifndef _STDAFX_H#define _STDAFX_H#define UL unsigned long#endifconstd编写相应的实现方法.#include#include#include"StdAfx.h"extern "C" void co...
分类:
其他好文 时间:
2015-01-17 19:23:05
阅读次数:
120
sp_configure 'show advanced options', 1RECONFIGUREGOsp_configure 'awe enabled', 1RECONFIGUREGOsp_configure 'min server memory', 1024RECONFIGUREGOsp_co...
分类:
其他好文 时间:
2015-01-17 17:45:36
阅读次数:
182
升级vsftpd或者vsftpd-ext后,登录时可能会出现这样的错误:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()这是由于下面的更新造成的:- Add stronger checks for the co...
分类:
其他好文 时间:
2015-01-16 20:37:28
阅读次数:
192