Skip to content

Instantly share code, notes, and snippets.

<?xml version='1.0' encoding='utf-8'?>
<!--
This CellML file was generated on 04/12/2007 at 15:20:38 using:
COR (0.9.31.821)
Copyright 2002-2007 Dr Alan Garny
http://COR.physiol.ox.ac.uk/ - COR@physiol.ox.ac.uk
CellML 1.0 was used to generate this cellular model
http://www.CellML.org/
<?xml version='1.0' encoding='UTF-8'?>
<model name="net1" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cellml.org/cellml/1.1# http://www.cellml.org/cellml/cellml_1_1.xsd">
<!--
<documentation>
<p xmlns="http://www.w3.org/1999/xhtml">
This CellML file has been generated by org.neuroml.export (see https://github.com/NeuroML/org.neuroml.export)
org.neuroml.export v1.3.0
org.neuroml.model v1.3.0
jLEMS v0.9.5.2
@agarny
agarny / gist:b051897560031a2591a2
Created July 10, 2014 16:03
parabola_as_dae_model.cellml
<?xml version="1.0" encoding="iso-8859-1"?>
<model
name="parabola_as_dae_model"
cmeta:id="parabola_as_dae_model"
xmlns="http://www.cellml.org/cellml/1.1#"
xmlns:cellml="http://www.cellml.org/cellml/1.1#"
xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
<component name="main" cmeta:id="main">
<variable name="time" units="dimensionless"/>
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ExamDiff Pro Diff Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
body {font-family: Lucida Console; font-size:13px; font-style: normal; font-weight:400; background-color:#C0C0C0;}
table {background-color:#FFFFFF;}
div {font-family: Lucida Console; font-size:13px; font-style: normal; font-weight:400; background-color:#FFFFFF;}
<?xml version="1.0" encoding="UTF-8"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bqbiol="http://biomodels.net/biology-qualifiers/" xmlns:semsim="http://www.bhi.washington.edu/SemSim#" xmlns:dcterms="http://purl.org/dc/terms/" name="niederer_replace_units">
<documentation xmlns="http://cellml.org/tmp-documentation">
<article>
<section id="sec_status">
<title>Model Status</title>
<para>This model is known to run in OpenCell and COR to reproduce the output shown in the publication. The units have been checked and they are consistent.</para>
</section>
<sect1 id="sec_structure">
<title>Model Structure</title>
@agarny
agarny / git-remove-files-from-history
Created May 8, 2013 15:05
A simple shell script (based on information found at https://help.github.com/articles/remove-sensitive-data) to remove files based on their extension. The idea was for me to permanently remove some binary files I had in a git repository history.
#!/bin/sh
function updateFiles()
{
export files=`git rev-list --all --objects | awk '{ print $2; }' | sort | uniq | grep -e "\.dll$" -e "\.dll\.a$" -e "\.dylib$" -e "\.lib$" -e "\.pdf$" -e "\.pptx$" -e "\.so$" -e "\.so\..$" -e "\.zip$" | sort | uniq`
}
updateFiles
needCleaningUp=0
@agarny
agarny / git-big-files
Created May 8, 2013 15:30
Retrieve and return the n largest files in a git repository
#!/bin/sh
# Retrieve and return the n largest files in a git repository
# Note: adapted from http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/
# Usage
function usage()
{
echo "Usage: `basename $0` [-n count]"
@agarny
agarny / gist:5560821
Last active December 17, 2015 05:49
fink_slepchenko_moraru_watras_schaff_loew_2000v2.cellml
<?xml version='1.0' encoding='utf-8'?>
<model xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bqs="http://www.cellml.org/bqs/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#" name="fink_slepchenko_moraru_watras_schaff_loew_2000_version01" cmeta:id="fink_slepchenko_moraru_watras_schaff_loew_2000_version01">
<units name="micromolar">
<unit units="mole" prefix="micro"/>
<unit units="litre" exponent="-1"/>
</units>
<units name="micrometre">
<unit units="metre" prefix="micro"/>
</units>
@agarny
agarny / gist:5574882
Last active December 17, 2015 07:39
Ohara_Rudy_2011.cellml
<?xml version="1.0" encoding="utf-8"?>
<model name="MyModel1" cmeta:id="MyModel1" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
<units name="millisecond">
<unit units="second" prefix="milli"/>
</units>
<units name="per_millisecond">
<unit units="millisecond" exponent="-1"/>
</units>
<units name="millivolt">
<unit units="volt" prefix="milli"/>