Format the article below with HTML.
<html>
<head>
<title></title>
var layers = ['water', 'road']; | |
window.renderTiles = function(d) { | |
var svg = d3.select(this); | |
this._xhr = d3.request("http://maps.dallasnews.com/" + d[2] + "/" + d[0] + "/" + d[1] + ".pbf").responseType('arraybuffer').get(function(error, json) { | |
if(error) return console.error(error); | |
var tile = new VectorTile( new Pbf( new Uint8Array(json.response) ) ); | |
var extents = 4096; |
var layers = ['water', 'road']; | |
window.renderTiles = function(d) { | |
var svg = d3.select(this); | |
this._xhr = d3.request("http://maps.dallasnews.com/" + d[2] + "/" + d[0] + "/" + d[1] + ".pbf").responseType('arraybuffer').get(function(error, json) { | |
if(error) return console.error(error); | |
var tile = new VectorTile( new Pbf( new Uint8Array(json.response) ) ); | |
var extents = 4096; |
Let's say, like me, you accidentally upgraded PostgresQL or PostGIS or something super important and now you need to go back in time and install the previous version.
Find the commit of the old version that you want to install by looking through the Formula/ directory in the homebrew-core
repo: https://github.com/Homebrew/homebrew-core/commits/master/Formula/ (If the above doesn't work, you'll need to clone the homebrew-core
repo to your machine and run git log master -- Formula/<formula name>.rb
).
Unlink the existing (newer) version:
$ brew unlink <formula_name>