Skip to content

Instantly share code, notes, and snippets.

drzax /
Created January 25, 2018 06:21 — forked from colingourlay/
Kill McAfee
sudo /usr/local/McAfee/AntiMalware/VSControl stopoas
sudo killall VShieldService
sudo killall VShieldScanner
drzax /
Last active March 3, 2016 22:43 — forked from colingourlay/
esnextbin sketch
We couldn’t find that file to show.
drzax /
Created January 25, 2016 10:41 — forked from eesur/
d3 | Reusable slopegraph

Reusable slopegraph inspired/adapted from Ben Van Dyke's example into a reusable chart.

This slopegraph example shows the number of personal computers installed in a country per household. This includes desktop PCs and laptops, but excludes smartphones and terminals connected to mainframe computers. All figures are calculated using total number of Personal Computers and the Total Number of Households.

data source

"Ministry":"01. Barton (Protectionist), 1 Jan 1901-24 Sept 1903",
"Title":"Minister for External Affairs",
"Name":"Barton, Edmund",
* See:
* Distance from a point to a line or segment.
* @param {number} x point's x coord
* @param {number} y point's y coord
* @param {number} x0 x coord of the line's A point
* @param {number} y0 y coord of the line's A point
* @param {number} x1 x coord of the line's B point