`
xmeteor
  • 浏览: 73104 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论
文章列表
@echo off setlocal enabledelayedexpansion set errorlevel=>nul rem set “JAVA_OPTS=-Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server -Djava.library.path=C:\jboss-5 ...
例1:        @echo off set a=4 set a=5&echo %a% pause 结果:4 解说:为什么是4而不是5呢?在echo之前明明已经把变量a的值改成5了?让我们先了解一下批处理运行命令的机制:批处理读取命令时是按行读取 ...
检测操作系统的类型 print "$^O\n"; linux on Linux and MSWin32 on Windows use English qw' -no_match_vars '; print "$OSNAME\n"; use Config; print "$Config{osname}\n"; print "$Config{archname}\n"; http://stackoverflow.com/questions/334686/how-can-i-detect-the-operat ...
在一组测试操作中,有时候当前的测试Case需要使用上一测试Case产生的的变量,这个时候我们就需要使用XPath Extractor XPath Extractor 引用名称: TOKEN XPath query: //form[@name="userform"]/input[@name="token"]/@value (XPath query的用法参见Apache的文档) Http Request Parameters:   Name: token   Value:${TOKEN} http://test-china.org/topics/28 ...
录制Jmeter脚本有两个简单的方法: 1. 使用Badboy录制,比较简单 http://www.badboy.com.au/ 2. 使用Jmeter的Http代理服务器 http://www.cnblogs.com/wdpp/archive/2011/04/25/2386263.html 1. 在“WorkBench”右键 -> “Add” -> “Non-Test Elements” -> “HTTP Proxy Server”; 2. 在“HTTP Proxy Server”窗口的的“Test plan content” -> “Target control ...
C1 C2 C3 C4 C5 11 12 13 14 15 21 22 23 24 25 my $data = [ [11,12,13,14,15], [21,22,23,24,25] ]; my $column_ids = ["C1", "C2", "C3", "C4", "C5"]; # %h - {'C1'=>'x1', 'C2'=>'x2', 'C3'=>'x3', 'C5'=& ...
http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/Extension.html 1. 创建一个extension的开发框架 extensions/create.pl TEST 2. 程序的Hook写在extensions/TEST/Extension.pm里,有哪些Hook可以用,可参考下面的链接,或者参考extensions/Example/Extension.pm http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/Hook.html#HOOKS 3. 模板的Hook放到” ...
1. 在Komodo中指定Debug端口    Edit->Preferences->Debugger->Connection->a specific port: 9000 2. Copy "C:\Program Files\ActiveState Komodo IDE 6\lib\support\dbgp\perllib"到远程主机的"/home/test/lib"目录 3. 在Apache的httpd.conf文件中加入下面的参数 SetEnv PERL5LIB "/home/test/lib/perllib/&q ...
Mysql更新的时候报错: Insecure dependency in parameter 1 of DBI::st=HASH(0x19dd70)->FETCH method call while running with -T switch sub trick_taint { require Carp; Carp::confess("Undef to trick_taint") unless defined $_[0]; my $match = $_[0] =~ /^(.*)$/s; $_[0] = $m ...
有两个方法解决这个问题 1. 检查"/etc/hosts"文件里面是否有"127.0.0.1", 如果有注释掉。 2. swinstall -s /soft/test.depot 在安装UI界面中的Option菜单里选中"All targets to resolve the source locally"
1. 下载安装Python (http://www.python.org/ftp/python/) 2. 下载安装Setuptools (http://pypi.python.org/pypi/setuptools) 3. 运行"<PYTHON_HOME>\scripts\easy_install.exe --always-unzip -U install_lib" 安装你的依赖包 4. 下载安装py2exe (http://sourceforge.net/projects/py2exe/files/py2exe/) 5. 写一个setup.py文件 ...
http://help.github.com/win-set-up-git/ https://help.github.com/articles/generating-ssh-keys http://help.github.com/fork-a-repo/
 http://httpd.apache.org/dev/debugging.html   1. gdb /apache_home/bin/httpd 2. r -X 3. Ctrl + C 4. b xxx 5. c
During installation, if saw: ./configure:Error: APACI failed ERROR: Could not configure ApacheUse following commands to fix it. rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash) ln -s /bin/bash /bin/sh     It is because Ubuntu developers have replaced Bash with Dash, so the regular ...
Refference: http://www.cyberciti.biz/faq/missing-codepage-helper-program-other-error/   I've netapp NFS server with /data3 as shared directory. I type the following command at Ubuntu Linux to mount the NFS server: mount fs2:/data3 /nfs/ ORmount 192.168.1.100:/data3 /nfs/But I'm getting an error whi ...
Global site tag (gtag.js) - Google Analytics