Skip to content

Instantly share code, notes, and snippets.

View mwatts15's full-sized avatar
🏠
Working from home

Mark Watts mwatts15

🏠
Working from home
  • United States
  • 20:15 (UTC -06:00)
View GitHub Profile
@mwatts15
mwatts15 / CElegansConnectome.nml
Created May 28, 2014 16:54
Generated through PyOpenWorm
This file has been truncated, but you can view the full file.
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta2.xsd" id="CElegansConnectome">
<network id="CElegansConnectome">
<population id="PVPL" component="PVPL" size="1">
<instance id="0">
<location y="0." x="0." z="0."/>
</instance>
</population>
<population id="AVFR" component="AVFR" size="1">
<instance id="0">
<location y="0." x="0." z="0."/>
@mwatts15
mwatts15 / extract.py
Created March 13, 2014 04:55
A script for extracting tags and titles from firefox bookmarks
import sqlite3
import time
import sys
from os import environ
try:
sys.setappdefaultencoding('utf-8')
except:
sys = reload(sys)
sys.setdefaultencoding('utf-8')