Skip to content

Instantly share code, notes, and snippets.

View widged's full-sized avatar

Marielle Lange widged

View GitHub Profile
@widged
widged / Installing R on dreamhost
Created August 4, 2011 02:01 — forked from leoniedu/Installing R on dreamhost
Installing R on dreamhost
## First do the unix account setup http://wiki.dreamhost.com/Unix_account_setup
cd ${HOME}
# create the first level directories (and log/setup)
mkdir -pv soft run www log log/setup backup data
# create the second level directories within run (our own FHS)
for subdir in bin etc include lib man share
do
mkdir -pv run/${subdir}
done
# symlink so that man pages stay all in the same place
@widged
widged / gist:1915768
Created February 26, 2012 09:56
How to reuse content with Sencha Touch - stackoverflow question
/*
Code for question on stackoverflow - http://stackoverflow.com/questions/9432309/how-to-reuse-content-with-sencha-touch
Expanding on a SenchaFiddle contributed by rdougan.
*/
Ext.Loader.setConfig({ enabled: true });
var topStore = Ext.create('Ext.data.Store', {
//give the store some fields
@widged
widged / README.md
Last active June 13, 2021 09:49
D3 companion planting
@widged
widged / README.md
Last active March 6, 2024 23:47
Quick coloring book in SVG
@widged
widged / README.md
Last active December 11, 2015 04:48
D3 for layout management
@widged
widged / README.md
Last active December 11, 2015 06:41
Load graphs in different tabs (stackoverflow)
@widged
widged / d3.phylogram.js
Last active December 14, 2015 21:19 — forked from kueda/d3.phylogram.js
d3.phylogram.js, stackoverflow answer
/*
d3.phylogram.js
Wrapper around a d3-based phylogram (tree where branch lengths are scaled)
Also includes a radial dendrogram visualization (branch lengths not scaled)
along with some helper methods for building angled-branch trees.
d3.phylogram.build(selector, nodes, options)
Creates a phylogram.
Arguments:
selector: selector of an element that will contain the SVG
@widged
widged / index.html
Last active December 15, 2015 04:39
D3js simple grouping
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3 grouping</title>
<script src="http://d3js.org/d3.v2.min.js"></script>
</head>
<body>
<style type="text/css">
@widged
widged / README.md
Last active December 15, 2015 08:59 — forked from mbostock/.block

Negative Bar graph transposed from horizontal to vertical

@widged
widged / index.html
Last active April 15, 2021 16:26
Rapid implementation of a ternary plot with d3js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>D3 Ternary Plot</title>
<style>
line.axis {
stroke-width: 2;
stroke: #363636;
}