Skip to content

Instantly share code, notes, and snippets.

FROM pritunl/archlinux
MAINTAINER Celia Cintas <[email protected]> Pablo Navarro <[email protected]>
COPY packages/ /packages
RUN pacman -S --noconfirm git make
RUN pacman -S --noconfirm python2 python2-pip
RUN pacman -S --noconfirm cmake boost
RUN cd packages && pacman -U --noconfirm vtk6-6.3.0-2-x86_64.pkg.tar.xz opencv-3.1.0-3-x86_64.pkg.tar.xz
RUN pacman -S --noconfirm gcc gcc-libs
@aaizemberg
aaizemberg / d3.js para principiantes
Last active March 22, 2023 19:49
d3.js para principiantes
Ariel Aizemberg
@aaizemberg ( https://twitter.com/aaizemberg )
http://www.linkedin.com/in/arielaizemberg
Introducción
Que es D3
Quién creó esta librería
Mirar algunos ejemplos de la galería
https://github.com/mbostock/d3/wiki/Gallery
@ecarter
ecarter / mapOrder.js
Created December 2, 2011 15:40
Order an array of objects based on another array order
/**
* Sort array of objects based on another array
*/
function mapOrder (array, order, key) {
array.sort( function (a, b) {
var A = a[key], B = b[key];