Table of contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//JavaScript implementation of winding number algorithm to determine whether a point is inside a polygon | |
//Based on C++ implementation of wn_PnPoly() published on http://geomalgorithms.com/a03-_inclusion.html | |
function pointInPolygon(point, vs) { | |
var x = parseFloat(point[0]), y = parseFloat(point[1]); | |
var wn = 0; | |
for (var i = 0, j = vs.length - 1; i < vs.length; j = i++) { | |
var xi = parseFloat(vs[i][0]), yi = parseFloat(vs[i][1]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage[margin=1in]{geometry} | |
\usepackage{fancyhdr} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\usepackage{listings} | |
\usepackage{graphicx} | |
\usepackage{enumerate} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Starting app xxxxxxxx | |
error: Error running command deploy | |
error: socket hang up | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> | |
help: irc: <irc://chat.freenode.net/#nodejitsu> | |
help: email: <support@nodejitsu.com> | |
help: | |
help: Copy and paste this output to a gist (http://gist.github.com/) | |
info: Nodejitsu not ok |