本人是用终端命令来使用svn的,但是使用终端有两个烦恼
第一个是不能一次性添加全部文件,最后我通过在网上查找发现这样一条命令
svn st | awk '{if($1="?"){print $2}}' | xargs svn add
开始我也不知道是什么意思,就感觉挺好用。
但是这个命令不能添加 home_image@2x.png 这样的图片文件,需要在图片后面加“@”符号...
分类:
移动开发 时间:
2014-12-04 20:01:25
阅读次数:
197
看了一些文章,通过写PageBase的页面并使其它page继承这个PageBase,可以方便地实现用户检验等需求。
后来发现子类page继承后,父类的PageLoad不执行了。
以下帖子提出了问题,但是没有提供正解:
http://bbs.csdn.net/topics/390482363?ticket=ST-704066-MoolZ4f7GW3lTwMCb6cK-passport.csdn...
分类:
Web程序 时间:
2014-12-04 12:10:22
阅读次数:
213
/** * 导入和导出Excel文件类 * 支持2003(xls)和2007(xlsx)版本的Excel文件 * * @author yxm */ public class OperationExcelForPOI { public static void main(St...
分类:
编程语言 时间:
2014-12-04 11:40:41
阅读次数:
236
一、代码如下 1 int code = int.Parse(this.TextBox1.Text);//图片编码 2 string value = this.FileUpload1.PostedFile.FileName.ToString();//图片路径 3 st...
分类:
数据库 时间:
2014-12-04 11:32:54
阅读次数:
240
For a recent mobile project we used XMPP. It worked really well and I’m keen to use it again. But, in the process I learnt quite a lot about it. To st...
分类:
系统相关 时间:
2014-12-04 08:46:38
阅读次数:
206
#include #include int main(){char a[] = "100";char b[] = "100";char c[] = "0x11";int x, y, z;x = strtol( a, NULL, 10 );y = strtol( b, NULL, 2 );z = st...
分类:
其他好文 时间:
2014-12-03 23:14:28
阅读次数:
228
本文包括三部分:1,源码,2,功能测试。 3,边界测试。
其中源码包括4部分:求CArray的 交集、并集、差集、对称差...
分类:
编程语言 时间:
2014-12-03 19:12:44
阅读次数:
171
1 sys/stat头文件中定义了stat、fstat、lstat函数2 struct stat 结构struct stat{ mode_t st_mode; ino_t st_ino; dev_t ...
分类:
其他好文 时间:
2014-12-03 18:42:16
阅读次数:
146
1 Unicode编码的字符串转换为数字类型 CString str;
str = _T("1234");
int i = _ttoi(str);
float f = _tstof(str); 2 数字转换为wchar_t wchar_t c[10];
int num = 100;
_itow_s(num,c,10,10进制);
wstring st...
分类:
其他好文 时间:
2014-12-03 14:35:07
阅读次数:
224
题目:给你一个数字的英文写法,翻译成阿拉伯数字(没有and)。
分析:模拟,递归。这个可以用很多方法求解吧。
这里利用递归,将数字分成几个部分的和(只考虑百万,千,万),分别求解相加即可。
说明:(⊙_⊙)。
#include
#include
#include
#include
#include
#include
using namespace st...
分类:
其他好文 时间:
2014-12-02 22:40:16
阅读次数:
315