Skip to content

Instantly share code, notes, and snippets.

@vabarbosa
vabarbosa / codegen-pixiedust.json
Last active June 28, 2017 05:20
PixieDust codegen
[
{
"id": "spark.cloudant",
"iconUri": "//ibm-watson-data-lab.github.io/pixiedust_learning/codegen/icons/cloudant_tile.png",
"title": "Spark Cloudant connector",
"subtopics": [
{
"id": "cloudant.load",
"iconUri": "//ibm-watson-data-lab.github.io/pixiedust_learning/codegen/icons/cloudant_tile.png",
"title": "Load a dataframe from Cloudant",
@vabarbosa
vabarbosa / cloudant-couchdb-api.json
Last active December 5, 2016 18:17
Cloudant & CouchDB API Reference
[
{
"endpoint": "/",
"method": "GET",
"database": ["Cloudant", "CouchDB 1.6", "CouchDB 2.0"],
"summary": "Meta information about the cluster.",
"comment": "",
"links": ["https://docs.cloudant.com/advanced.html#get-/", "http://docs.couchdb.org/en/1.6.0/api/server/common.html#", "http://docs.couchdb.org/en/2.0.0/api/server/common.html#"]
},
@vabarbosa
vabarbosa / chango.user.js
Last active October 24, 2024 20:16
add simple data visualizations to Cloudant and CouchDB views
// ==UserScript==
// @name chango
// @namespace vabarbosa.simple-data-vis
// @description add simple data visualizations to cloudant.com and couchdb views
// @match *://*.cloudant.com/dashboard.html*
// @include /^http://127.0.0.1:5984/_utils/#/database/.*/_design/.*/_view/.*$/
// @require https://d3js.org/d3.v4.min.js
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/simpledatavis.js
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/vis/simpledatavis-barchart.js
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/vis/simpledatavis-bubblechart.js