Setting up mysql on mac with sequel pro and homebrew
MacOS high sierra 10.13.6
Homebrew version 1.7.6
Assuming you've installed homebrew...
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> |
function getAngleRad(p1, p2){ | |
// returns the angle between 2 points in radians | |
// p1 = {x: 1, y: 2}; | |
// p2 = {x: 3, y: 4}; | |
return Math.atan2(p2.y - p1.y, p2.x - p1.x); | |
} |
<html> | |
<head> | |
<meta charset='utf-8' /> | |
<title></title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.4/mapbox-gl.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.4/mapbox-gl.css' rel='stylesheet' /> | |
<style> | |
body { margin:0; padding:0; } |
[{ | |
"status": "incomplete", | |
"task": "get a job", | |
"_id": 1 | |
}, | |
{ | |
"status": "incomplete", | |
"task": "find inner peace", | |
"_id": 2 | |
} |
boro_name | Rate_per_100k_people | Total_Count | |
---|---|---|---|
Bronx | 2405.65 | 35398 | |
Brooklyn | 1523.2 | 41327 | |
Manhattan | 1035.55 | 19499 | |
Queens | 1931.92 | 48382 | |
Staten Island | 2273.91 | 11424 | |
Citywide | null | 156100 |