Skip to content

Instantly share code, notes, and snippets.

tarelli / ScriptOutput.txt
Created Nov 22, 2012
Output from running script
View ScriptOutput.txt
Matteos-MacBook-Pro:~ matteocantarelli$ python
['', '', '', '', '', '', '', '', '', '', '
tarelli / instructions
Last active Dec 10, 2015
Automatic Virgo startup
View instructions
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
tarelli / gist:5441745
Last active Dec 16, 2015
Geppetto simulations
View gist:5441745 23/04/13 Not working
tarelli / GEPPETTO.xml
Last active Dec 19, 2015
Geppetto integration sample scripts
<?xml version="1.0" encoding="UTF-8"?>
<tns:simulation xmlns:tns="" xmlns:xsi="" xsi:schemaLocation=" ../../src/main/resources/schema/simulationSchema.xsd ">
tarelli / gist:5928415
Last active Dec 19, 2015
Geppetto Alpha Release 0.0.2
View gist:5928415
* 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
View gist:6229869
This file has been truncated, but you can view the full file.
View Plot one var against another
* The MIT License (MIT)
* Copyright (c) 2011, 2013 OpenWorm.
* 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
tarelli / gist:9793438
Last active Aug 29, 2015
Geppetto-Sibernetic Script
View gist:9793438
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
tarelli / gist:10278549
Last active May 17, 2016
Deploy JARs to Github/Maven
View gist:10278549
mvn install:install-file -DgroupId=edu.ucar -DartifactId=netcdf -Dversion=4.3.20 -Dfile=/Users/matteocantarelli/Documents/Development/MetaCellWorkspace/Geppetto/org.geppetto.core/lib/netcdf-4.3.20.jar -Dpackaging=jar -DgeneratePom=true -DlocalRepositoryPath=/Users/matteocantarelli/Documents/Development/MetaCellWorkspace/Geppetto/org.geppetto.maven -DcreateChecksum=true
mvn install:install-file -DgroupId=org.jscience -DartifactId=jscience -Dversion=4.3.1 -Dfile=/Users/matteocantarelli/Documents/Development/MetaCellWorkspace/Geppetto/org.geppetto.core/lib/jscience-4.3.1.jar -Dpackaging=jar -DgeneratePom=true -DlocalRepositoryPath=/Users/matteocantarelli/Documents/Development/MetaCellWorkspace/Geppetto/org.geppetto.maven -DcreateChecksum=true
mvn install:install-file -DgroupId=org.scala-saddle -DartifactId=jhdf5 -Dversion=13.06.2 -Dfile=/Users/matteocantarelli/Desktop/jhdf5.jar/ -Dpackaging=jar -DgeneratePom=true -DlocalRepositoryPath=/Users/matteocantarelli/Documents/Development/MetaCellWorkspace/Geppetto
tarelli / gist:2c47ae47930e0571453c
Created Feb 10, 2015
Instance types meeting notes
View gist:2c47ae47930e0571453c
var giovanni={}
Object {X: 4, Y: 5}
gioInstance.getType= function(){return};
function (){return}