我按照此在 Windows 8.1 上生成 ssh 密钥,但是如果在要求输入保存密钥的文件时按 Enter 键,则会出现错误could not create the directory '//.ssh'
现在,如果我输入“id_rsa”而不是按 Enter 键,那么在执行完之后clip < ~/.ssh/id_rsa.pub,我会得到The system cannot find the path specified。
有没有办法解决?我可以切换到 ubuntu,但我想在 Windows 上执行此操作。
我是OpenModelica的新手,并且对与软件一起作为示例代码分发的'BouncingBall.mo'的代码有一些疑问。
1)“何时”和“如果”之间有什么区别?
2)代码中的变量“ foo”的目的是什么?
3)在第(15)行中- “当{h <= 0.0且v <= 0.0,impact}时”,“ when”的表达式不应为“ {h <= 0.0且v <= 0.0}” “因为这个变得真当碰撞发生时,有什么目的的影响(对我来说它的冗余这里)的,什么是逗号(,)之前影响的手段?
model BouncingBall
parameter Real e = 0.7 "coefficient of restitution";
parameter Real g = 9.81 "gravity acceleration";
Real h(start = 1) "height of ball";
Real v "velocity of ball";
Boolean flying(start = true) "true, if ball is flying";
Boolean impact;
Real v_new;
Integer foo; …Run Code Online (Sandbox Code Playgroud) cmd ×1
github ×1
if-statement ×1
modelica ×1
modeling ×1
openmodelica ×1
ssh-keys ×1
windows ×1