The current version will be found at https://gist.github.com/mike-bourgeous/2be6c8900bf624887fe5fee4f28552ef
Please make all comments, stars, forks, etc. there.
The current version will be found at https://gist.github.com/mike-bourgeous/2be6c8900bf624887fe5fee4f28552ef
Please make all comments, stars, forks, etc. there.
/* | |
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. | |
Copyright (c) 2013, Ken-ichi Ueda | |
All rights reserved. |
""" | |
http://code.activestate.com/recipes/577982-recursively-walk-python-objects/ | |
A small function that walks over pretty much any Python object and yields the | |
objects contained within (if any) along with the path to reach them. I wrote it | |
and am using it to validate a deserialized data-structure, but you can probably | |
use it for many things. | |
Example use: In one configuration mechanism I implemented, there exists an | |
UNCONFIGURED sentinel that marks configuration items that are required but |
# Unload all Parallels kernel extensions | |
for kext in $(kextstat | grep parallels | awk '{print $6}'); do kextunload -v 1 -b $kext; done | |
# Delete all Parallels kernel extensions | |
rm -v /System/Library/Extensions/prl* | |
# Delete all other Parallels files | |
rm -vr \ | |
/Applications/Parallels\ Desktop.app \ | |
/Library/Parallels/Parallels\ Service.app \ |
var app = angular.module("modalFormApp", ['ui.bootstrap']); | |
app.controller("modalAccountFormController", ['$scope', '$modal', '$log', | |
function ($scope, $modal, $log) { | |
$scope.showForm = function () { | |
$scope.message = "Show Form Button Clicked"; | |
console.log($scope.message); | |
var modalInstance = $modal.open({ |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install gcc-5 g++-5 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 |
#' Bagplot | |
#' | |
#' The bag geom is useful for graphical summaries of scatterplots. It | |
#' is effective at showing the location, spread, skewness, and | |
#' outliers of a data set. | |
#' | |
#' A bagplot is a bivariate generalization of the well known boxplot. It | |
#' was proposed by Rousseeuw, Ruts, and Tukey. This geom plots bagplots that | |
#' are very similar to the one described in Rousseeuw et al. and | |
#' uses code from their bagplot functions in the aplpack pacakge. |
%!PS-Adobe-2.0 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% % | |
% Mandelbrot set via PostScript code. Not optimized % | |
% in any way. Centered in A4 paper. Escape time, B&W % | |
% % | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
/fun { |