This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this code was autogenerated from PJS | |
(function($p) { | |
var ModifiedEulerIntegrator = (function() { | |
function ModifiedEulerIntegrator() { | |
var $this_1 = this; | |
function $superCstr(){$p.extendClassChain($this_1)} | |
$this_1.s = null; | |
function step$1(t) { | |
$this_1.s.clearForces(); | |
$this_1.s.applyForces(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class JVMHelper { | |
private static final Runtime runtime = Runtime.getRuntime(); | |
/** | |
* Aggressively suggest to free memory, then return the amount of free | |
* memory in the system. | |
* | |
* @return | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UserData: | |
Fn::Base64: | |
Fn::Join: | |
- '' | |
- - "#!/bin/bash\n" | |
- "export SDKMAN_DIR=/usr/local/sdkman && curl -s https://get.sdkman.io | bash && source /usr/local/sdkman/bin/sdkman-init.sh\n" | |
- "echo 'export SDKMAN_DIR=/usr/local/sdkman; source /usr/local/sdkman/bin/sdkman-init.sh' > /etc/profile.d/sdkman.sh\n" | |
- "yum update -y && yum upgrade -y && yum install -y java-1.8.0-openjdk > /home/ec2-user/yumupdates.log\n" | |
- "yum remove -y java-1.7.0-openjdk > /home/ec2-user/yumremovejava7.log\n" | |
- "java -version > /home/ec2-user/java-version-before-sdkmvn.log\n" |