- Clustered groups of elements (I.e., "group x circles into y groups")
- Hexbin maps (E.g., hexbin election constituency maps)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### dump_mysql_for_rds.sh | |
## 2014 Ændrew Rininsland (@aendrew) | |
# usage: ./dump_mysql_for_rds.sh <root_user> <password> <path_to_mysql_socket> <dbs,to,exclude> <filename for dump> | |
ARG_DBUSER=$1 | |
ARG_DBPASS=$2 | |
ARG_DBSOCKET=$3 | |
ARG_EXCLUDE=$4 | |
ARG_DUMPFILE=$5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"name": "Dreamhost API", | |
"timestamp": 1410102836319, | |
"requests": [{ | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "00c11594-394a-410e-9847-760aaa3f1bc8", | |
"name": "MySQL — Add hostname", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-add_hostname\">Adds a MySQL hostname</a>.<br/>\n<b>hostname:</b> the full hostname you want to serve as a mysql hostname (unless the domain following the first . is hosted with Dreamhost, you will not be able to access phpMyAdmin from this hostname).", |
I hereby claim:
- I am aendrew on github.
- I am aendra (https://keybase.io/aendra) on keybase.
- I have a public key ASDXFgxGnrfWtsZP1091Zfi1tEPw6YdJvpxMiZys7J_ugwo
To claim this, I am signing this object: