This assumes running Deis on AWS. Note this is a work-in-progress.
- Get IP of a Deis instance.
- Connect:
ssh -i ~/.ssh/deis core@$DEIS_IP fleetctl list-units
| /** | |
| * Convert Google Sankey chart data to D3.js Sankey data (nodeJS) | |
| * Usage: node convert_google_to_d3.js in-file.json out-file.json | |
| * | |
| * Requires: lodash — npm install lodash | |
| */ | |
| 'use strict'; | |
| var _ = require('lodash'); |
| SELECT DISTINCT ?name (CONCAT(STR(YEAR(?date)), | |
| "-", | |
| STR(MONTH(?date)), | |
| "-", | |
| STR(DAY(?date))) as ?displayDate) | |
| WHERE { | |
| ?person dcterms:subject <http://dbpedia.org/resource/Category:UK_MPs_2010%E2%80%9315>. | |
| ?person a foaf:Person. | |
| ?person dbpedia-owl:birthDate ?date. | |
| ?person rdfs:label ?name. |
| { | |
| "id": "21153401-a788-3abe-5fbb-54833ca0e400", | |
| "name": "UNHCR", | |
| "description": "Data from the UN Refugee Agency.\n\nDocs at [data.unhcr.org/wiki/index.php/API_Documentation](http://data.unhcr.org/wiki/index.php/API_Documentation).", | |
| "order": [], | |
| "folders": [ | |
| { | |
| "id": "c1514c2c-f817-f8d6-b434-eacd23a9c937", | |
| "name": "Countries", | |
| "description": "", |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <!-- | |
| Name: RSS feed date format to ISO 8601 | |
| Version: 1.0 | |
| Author: Ændrew Rininsland <[email protected]> | |
| Based on work by: Brian Zerangue <[email protected]> | |
| URL: https://gist.github.com/aendrew/eaa220e619008cbb628c | |
| N.b., currently the timezone handling is a bit screwy. | |
| license: mit |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style> | |
| circle { | |
| fill: green; | |
| } |
| license: mit |