Computing
In this page I've basically put programs that I've found to be very useful (and hence want to remember) or programs from publications.
Python
Most of my programming is now done in python. Python is an easy language to learn, but has the scope to do almost anything.
- The main package I'm currently involved in is pysbml. This is a python library for manipulating SBML.
- Scripts to access the BASIS web-services.
Cascading style sheets (CSS)
All the web-sites that I've built use CSS as much as possible, e.g. the new school web-site (not quite up yet), and the user only section of the basis web-site.
When I can be bothered, I will design other style sheets for this site. However, just now you can you either:
The current CSS sheet can be found here.
Apache tips and tricks
- When doing web-pages create a directory with all the stuff that appears on more less every web-page, e.g. banner, sidelinks. Now simply use an apache include on each web-page i.e.
<!--#include virtual="/~ncsg3/includes/banner.htm" -->
- To have a 'last modified' on your web-page then include
<!--#config timefmt="%B %d %R, %Y" -->Changing the % variables in timefmt alters the format of the last modified string.
<!--#echo var="LAST_MODIFIED" --> -
Html pages really shouldn't have file extension, e.g. it should be page not page.html. The reason is simple, in a few years time, will we still use html? Anyway, to remove file extensions we simply use apache. Placing this in you .htaccess file and you can have clean files:
RewriteEngine onYou'll need to change the rewriteBase to something sensible.
RewriteBase /~ncsg3/
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) $1\.html [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
Discrete Stohcastic Test Suite
The Discrete stochastic test suite is a repository of SBML models together with a brief description of each, and appropriate data for verifying the correct behaviour of discrete stochastic simulators.