码迷,mamicode.com
首页 >  
搜索关键字:expect tcl/tk    ( 1323个结果
expect自动远程拷贝脚本
expect自动远程拷贝脚本,利用rsync命令,脚本内容如下:#!/usr/bin/expect --proc Usage_Exit {self} { puts "" puts "Usage: $self ip user passwd port sourcefile d...
分类:其他好文   时间:2014-07-06 16:24:17    阅读次数:333
Quartz Quick Start Guide
Welcome to the QuickStart guide for Quartz. As you read this guide, expect to see details of:Downloading QuartzInstalling QuartzConfiguring Quartz to ...
分类:其他好文   时间:2014-06-25 18:34:59    阅读次数:190
人机交互命令 expect
使用expect批量完成ssh指令并在对端机器执行指定指令...
分类:其他好文   时间:2014-06-21 20:08:34    阅读次数:343
【CentOS】一个简单的Expect实例详解
Expect是基于Tcl的相对简单的一个免费的基本变成工具语言,用于实现自动和交互式任务程序进行通信,无须人工干预。一、Expect的安装检查与Linux系统的实验环境1、Expect的安装[root@C58-Server]#rpm-qaexpect expect-5.43.0-8.el5 expect-5.43.0-8.el5 #如果未安装expect,可以..
分类:其他好文   时间:2014-06-17 17:52:49    阅读次数:251
打消Xcode 5中JosnKit类库的bit masking for introspection of objective-c 警告
Xcode 5中苹果对多个体系框架及相干类库进行了改进。之前建树的项目在Xcode 5中从头编译会产生一些新题目。JosnKit是常用的轻量级Josn解析类,在Xcode 5中: BOOLworkAroundMacOSXABIBreakingBug = (JK_EXPECT_F(((NSUInteg...
分类:其他好文   时间:2014-06-07 08:54:47    阅读次数:474
expect实现配置机器信任关系
利用expect的交互功能,自动配置信任机器之间的信任关系。代码里会判断机器是否生成了秘钥,如果没有生成过,则自动帮助你执行 ssh-keygen 1 #!/bin/sh 2 3 expect_ssh_copy_id() 4 { 5 if [ "$#" -ne "5" ]; then...
分类:其他好文   时间:2014-06-02 21:46:37    阅读次数:357
Creating a Timer
【Creating a Timer】 Even if you specify a leeway value of 0, you should never expect a timer to fire at the exact nanosecond you requested. The system....
分类:其他好文   时间:2014-05-26 16:21:39    阅读次数:338
JavaScript Patterns 2.5 (Not) Augmenting Build-in Prototypes
Other developers using your code will probably expect the built-in JavaScript methods to work consistently and will not expect your additions. And pro...
分类:编程语言   时间:2014-05-22 02:21:49    阅读次数:298
介绍EasyMock
你能够依据调用次序来mock同一个办法:EasyMock.expect(request.getParameter("userName")).andReturn("trilogy").once();EasyMock.expect(request.getParameter("userName")).an...
分类:其他好文   时间:2014-05-21 22:17:46    阅读次数:248
linux中的likely与unlikely
likely() 与 unlikely()是内核(2.6的版本应该都有)中定义的两个宏。位于/include/linux/compiler.h中, 具体定义如下: #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) __builtin_expect是gcc...
分类:系统相关   时间:2014-05-21 06:36:34    阅读次数:368
1323条   上一页 1 ... 130 131 132 133 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!