Skip to content

Instantly share code, notes, and snippets.

View aaronbauman's full-sized avatar

Aaron Bauman aaronbauman

View GitHub Profile
@aaronbauman
aaronbauman / property-assessments.v2.json
Last active October 11, 2019 17:30 — forked from timwis/property-assessments.v2.json
Property assessments VizWit configuration
{
"version": "2",
"header": {
"title": "OPA Property Records",
"description": "Records of buildings and parcel data from the Office of Property Assessment. All maps and charts are interactive: click on an area to filter the visualization by that dimension, and scroll down to view the filtered results as a table.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3h6i-2hfj/rows.csv?accessType=DOWNLOAD&bom=true"
}
<?php
/**
* Implement of drush_hook_COMMAND_validate().
*
* Prevent catastrophic sql-sync to live. Note that this file has to be local to the
* machine that intitiates sql-sync command.
*/
function drush_policy_sql_sync_validate($source = NULL, $destination = NULL) {
if (strstr($destination, '.live')) {