- 博客(5)
- 收藏
- 关注
原创 vim tip
<br />In vim edit mode, run ":retab! 4" command. --------------change tab to 4 blank spaces
2011-01-27 09:39:00 347
原创 如何做demo演示
<br /><br /> 1. 介绍项目支持哪些功能,主要介绍用户需要维护的测试用例文件,用户如何维护这个文件。<br /> <br /> 2. 运行脚本。<br /> <br /> 3. 如何检查测试结果。<br /> <br />注意事项:1. 不要详细介绍项目脚本,以免混乱用户思路。<br /> 2. 主要介绍用户需要维护的测试用例文件。
2011-01-20 10:57:00 6148
原创 python如何解析config文件
For example:importConfigParserconfig=ConfigParser.ConfigParser()config.read('example.cfg')# Set the third, optional argument of get to 1 if you wish to use raw mode.printconfig.get('Section1','foo',0)# -> "Python is fun!"printconfig.get('Section1','foo',1)
2011-01-07 16:12:00 1864
原创 umask值与权限的对照表
<br />下表是umask值与权限的对照表: <br />umask 文件 目录 <br />-------------------- <br />0 6 7 <br />1 6 6 <br />2 4 5 <br />3 4 4 <br />4 2 3 <br />5 2 2 <br />6 0 1 <br />7 0 0 <br />--------------------
2011-01-06 09:23:00 934
原创 用bash如何判断file和directory.
<br />-e check file exists<br />-s file size large 0 <br />-z file size is 0<br />-d check directory type<br />-f check file type
2011-01-05 13:12:00 455
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人