Skip to content

Instantly share code, notes, and snippets.

View phantomas1234's full-sized avatar
🤙

Nikolaus Sonnenschein phantomas1234

🤙
View GitHub Profile
%%
%% This is file `msb.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs (with options: `ay,nat,nm-rvx,ed-rev,jnrlst,nmlm,x20,x0,m20,m0,keyxyr,dt-beg,yr-par,yrp-x,note-yr,atit-u,jxper,vol-bf,vnum-x,volp-sp,pp-last,num-xser,jnm-x,add-pub,edparxc,fin-bare,pp,ed,abr,xedn,jabr,amper,and-xcom,xand,etal-it,nfss,')
%% ----------------------------------------
%% *** Bibliography style for Molecular Systems Biology ***
%%

Remove files that have not been deleted using git rm (taken from commandlinefu.com)

git rm $(git ls-files --deleted)

@phantomas1234
phantomas1234 / index.html
Last active December 17, 2015 16:39
Messing with D3
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 960px;
height: 500px;
position: relative;
}
@phantomas1234
phantomas1234 / index.html
Last active December 17, 2015 16:39
Drawing a pathway with raphael.js
<!DOCTYPE html>
<html>
<head>
<title>Canvas tutorial</title>
<script src="https://dl.dropboxusercontent.com/u/22461024/raphael-min.js" type="text/javascript">
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<style type="text/css">
@phantomas1234
phantomas1234 / index.html
Last active December 17, 2015 16:39
Random jsplumb network
<!DOCTYPE html>
<html>
<head>
<title>Canvas tutorial</title>
<!-- <canvas id="canvas" height="2320" width="3200"></canvas> -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://dl.dropboxusercontent.com/u/22461024/jquery.jsPlumb-1.3.7-all-min.js"></script>
<style type="text/css">
/* canvas { border: 1px solid black; } */
@phantomas1234
phantomas1234 / index.html
Created August 7, 2013 10:49
d3 + jsplumb
<!DOCTYPE html>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
var svg = d3.select("body").append("svg")
.attr("width", width)
.attr("height", height)
.append("g")
@phantomas1234
phantomas1234 / _.md
Created September 8, 2013 07:48
sin waves
@phantomas1234
phantomas1234 / _.md
Created September 8, 2013 14:42
Tributary inlet
@phantomas1234
phantomas1234 / _.md
Created September 8, 2013 14:47
pathway map
@phantomas1234
phantomas1234 / _.md
Created September 10, 2013 17:58
Testvar svg = d3.select("svg") .append("svg:g") var line = svg.selectAll("g.line") .data(lines) .enter().append("svg:g") .attr("class", "line") .each(lineenter);