文 库
库中万物皆非宝,临到用时价千斤!

随笔分类 -  编程语言相关

包括C/C++,HTML,perl等
Sample Testlink API client in python
摘要:Please note, you will need to generate a devKey for this to work from within your Testlink installation. Steps to enable Testlink API via xmlrpc and g 阅读全文
posted @ 2016-07-02 22:29 Cursorkey 阅读(1649) 评论(0) 推荐(0)
pexpect实现的ssh连接(pexpect可从sourceforge下载)
摘要:defssh_cmd(ip,passwd,cmd,newpwd): ret= -1 ssh=pexpect.spawn('ssh -q -p36000 root@%s "%s"'%(ip,cmd)) try: i=ssh.expect(['password:','continue connecting (yes/no)?'],timeout=5) ifi==0: ssh.sendline(passwd) elifi==1: ssh.sendline('yes\n') ssh.expect('passwo 阅读全文
posted @ 2011-08-02 23:44 Cursorkey 阅读(941) 评论(0) 推荐(0)
Using the command-line connection tool Plink
摘要:Plink (PuTTY Link) is a command-line connection tool similar to UNIXssh. It is mostly used for automated operations, such as making CVS access a repository on a remote server.Plink is probably not what you want if you want to run an interactive session in a console window.7.1 Starting PlinkPlink is 阅读全文
posted @ 2011-08-02 23:24 Cursorkey 阅读(1592) 评论(0) 推荐(0)
SVN的Local方式
摘要:SVN全名Subversion。SVN与CVS一样,是一个跨平台的软件,支持大多数常见的操作系统。本文只讨论Windows的情况。其官方网站是:http://subversion.tigris.org(tigris/是一个和sourceforge类似的开源网站,与sf不同的是,sf提供的CVS服务,而tigris提供的是SVN服务)。 在介绍SVN的应用前,先讨论一下源码管理的一个重要的基本概念:... 阅读全文
posted @ 2009-09-23 00:31 Cursorkey 阅读(1915) 评论(2) 推荐(0)