Skip to content

Instantly share code, notes, and snippets.

View robgaston's full-sized avatar

Rob Gaston robgaston

View GitHub Profile
@robgaston
robgaston / arches_vagrant_setup.log
Created April 7, 2014 19:01
Setting up an Arches development virtual machine from scratch using vagrant
This file has been truncated, but you can view the full file.
machine_name:~ user$ hg clone https://bitbucket.org/arches/arches projects/arches
requesting all changes
adding changesets
adding manifests
adding file changes
added 1857 changesets with 33084 changes to 28726 files (+2 heads)
updating to branch default
6457 files updated, 0 files merged, 0 files removed, 0 files unresolved
machine_name:~ user$ hg clone https://bitbucket.org/arches/cds projects/arches/archesproject/packages/cds
requesting all changes
OpenLayers.Util.QuickHull = (function() {
var buildConvexHull = function (baseLine, points, allBaseLines) {
var convexHullBaseLines = [],
maxDistance = 0,
maxPoint = [],
newPoints = [],
point, distance, i, vY, vX;
for (i = 0; i < points.length; i++) {
point = points[i];
vY = baseLine[1][0] - baseLine[0][0];