摘要: 1. 安装cygwin, 并安装sshd.(跟openssh有关的都选上^^)2. 打开cygwin控制台:输入ssh-host-config,一路yes.(如果vista或者win7,需要右键->管理员身份运行 cygwin)部分屏幕显示:$ ssh-host-configOverwrite existing /etc/ssh_config file? (yes/no) yesGenerating /etc/ssh_config fileOverwrite existing /etc/sshd_config file? (yes/no) yesPrivilege separation 阅读全文
posted @ 2012-03-29 22:53 June-X 阅读(2523) 评论(0) 推荐(0) 编辑
摘要: #waxian velocityfrom rsf.proj import *import mathpar = { 'nz':400, 'dz':2.0, 'oz':0, 'nx':400, 'dx':10.0, 'ox':0 } def reflector(formula,par): return ''' math n1=%d o1=%g d1=%g n2=1 output="%s" ''' % (par['nx' 阅读全文
posted @ 2011-04-11 08:46 June-X 阅读(377) 评论(0) 推荐(0) 编辑
摘要: from rsf.proj import *Flow('v',None, ''' spike mag=1.0,2.0 nsp=2 n1=800 n2=1000 d1=1 d2=1 o1=0 o2=0 p2=0.2,0.2 k1=200,500 l1=499,800| add add=2.0 ''')Flow('v0',None, ''' spike mag=1.0 nsp=1 n1=200 n2=1000 d1=1 d2=1 o1=0 o1=0 ''')Flow(&# 阅读全文
posted @ 2011-04-10 10:33 June-X 阅读(388) 评论(0) 推荐(0) 编辑