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
/******************************************************************************* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2011, 2013 OpenWorm. | |
* http://openworm.org | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the MIT License | |
* which accompanies this distribution, and is available at | |
* http://opensource.org/licenses/MIT |
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
from __future__ import with_statement | |
import os | |
import urllib | |
import tempfile, shutil, zipfile, re, sys | |
from fabric.api import local, lcd, hide, show, settings | |
import os.path as op | |
import sys |
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
var giovanni={} | |
giovanni.X=4 | |
4 | |
giovanni.Y=5 | |
5 | |
giovanni | |
Object {X: 4, Y: 5} | |
gioInstance.getType= function(){return this.target}; | |
function (){return this.target} |
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
import os | |
import sys | |
from subprocess import check_output as co | |
from distutils.core import run_setup | |
class working_dir(object): | |
"""Context manager for changing the current working directory""" | |
def __init__(self, newPath): | |
self.newPath = newPath |
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
org.geppetto/utilities/source_setup/python gitall.py pull //make sure everything is updated | |
org.geppetto/mvn install //this will download all the new libraries required (if any) | |
org.geppetto/utilities/source_setup/python update_server.py eclipse //this will copy everything to virgo |
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
Matteos-MacBook-Pro:~ matteocantarelli$ python build_server_package.py | |
['http://ftp.osuosl.org/pub/eclipse//virgo/milestone/VP/3.6.0.M01/virgo-tomcat-server-3.6.0.M01.zip', 'https://github.com/openworm/org.openworm.simulationengine.core/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.samplesimulation/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.frontend/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.samplesolver/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.model.sph/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.solver.sph/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.simulator.sph/archive/master.zip', 'https://github.com/openworm/org.openworm.simulationengine.simulation/archive/master.zip', 'https://github.com/openworm/org.openwor |
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
Save the script as /etc/init.d/virgo | |
chmod 755 /etc/init.d/virgo | |
Make a link to it from /etc/rc3.d such as: | |
cd /etc/rc5.d | |
sudo ln -s ../init.d/virgo S90virgo | |
use chmod -R 777 on the virgo folder |
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
https://www.dropbox.com/s/iyr085zcegyis0n/sph-sim-config.xml?dl=1 23/04/13 Not working | |
https://www.dropbox.com/s/7vxeh6qbln9jesk/sph-sim-config-test.xml?dl=1 | |
https://dl.dropboxusercontent.com/u/7538688/funzionare.xml?dl=1 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<tns:simulation xmlns:tns="http://www.openworm.org/simulationSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openworm.org/simulationSchema ../../src/main/resources/schema/simulationSchema.xsd "> | |
<tns:configuration> | |
<tns:outputFormat>RAW</tns:outputFormat> | |
</tns:configuration> | |
<tns:entities> | |
<tns:entity> | |
<tns:id>muscle_cell</tns:id> | |
<tns:aspects> | |
<tns:aspect> |
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
* Basic simulation XML specification | |
* Basic simulation lifecycle | |
* Start/Pause/Stop/Reset | |
* Simulators currently in development | |
* Fluid hydrodynamics simulator bundle (PCI-SPH) | |
* Neuronal simulator bundle (LEMS/NeuroML) | |
* WebGL Frontend | |
* 3D visualization | |
* Particle system | |
* Ball stick morphologies |
OlderNewer