Skip to content

Instantly share code, notes, and snippets.

@cyrilcherian
cyrilcherian / d3-context-menu.css
Last active October 22, 2022 08:06
Heirarchical graphs
.d3-context-menu {
position: absolute;
display: none;
background-color: #f2f2f2;
border-radius: 4px;
font-family: Arial, sans-serif;
font-size: 14px;
min-width: 150px;
border: 1px solid #d4d4d4;
@cyrilcherian
cyrilcherian / .block
Last active April 30, 2018 12:24
Bubble Chart
license: gpl-3.0
height: 880
border: no
@cyrilcherian
cyrilcherian / .block
Last active April 30, 2018 08:29
Bubble Chart
license: gpl-3.0
height: 880
border: no
@cyrilcherian
cyrilcherian / .block
Last active April 30, 2018 08:10
Bubble Chart
license: gpl-3.0
height: 880
border: no
[
{ "id": 1, "name": "Cyril" },
{ "id": 2, "name": "Tia" },
{ "id": 3, "name": "Josh" },
{ "id": 4, "name": "Foo" }
]
[
{ "id": 1, "name": "DONE" },
{ "id": 2, "name": "IN PROGRESS" },
{ "id": 3, "name": "RESOLVED" },
{ "id": 4, "name": "QA" }
]
@cyrilcherian
cyrilcherian / tasks.json
Last active December 22, 2017 05:40
tasks
[{ "id": 1, "assignee": "1", "subject": "blah blah", "status": "1" },
{ "id": 2, "assignee": "2", "subject": "blah", "status": "3" },
{ "id": 3, "assignee": "3", "subject": "blah blah", "status": "2" },
{ "id": 4, "assignee": "4", "subject": "blah blah blah", "status": "4" },
{ "id": 5, "assignee": "1", "subject": "blah blah blah ..", "status": "4" }
]
@cyrilcherian
cyrilcherian / .block
Created October 31, 2017 12:42
Spinning globe with city markers
license: mit
{"batchcomplete":"","continue":{"uccontinue":"20151114233741|690681382","continue":"-||"},"query":{"usercontribs":[{"userid":4587601,"user":"Catrope","pageid":54577010,"revid":791054661,"parentid":791002268,"ns":5,"title":"Wikipedia talk:Wikipedia Signpost/2017-07-15/Technology report","timestamp":"2017-07-17T21:02:21Z","size":767},{"userid":4587601,"user":"Catrope","pageid":54485479,"revid":791054455,"parentid":791054381,"ns":4,"title":"Wikipedia:Wikipedia Signpost/2017-07-15/Technology report","timestamp":"2017-07-17T21:00:55Z","size":10261},{"userid":4587601,"user":"Catrope","pageid":54485479,"revid":791054381,"parentid":790679528,"ns":4,"title":"Wikipedia:Wikipedia Signpost/2017-07-15/Technology report","timestamp":"2017-07-17T21:00:25Z","size":10268},{"userid":4587601,"user":"Catrope","pageid":9293658,"revid":776104949,"parentid":775178514,"ns":0,"title":"One Montgomery Tower","timestamp":"2017-04-19T00:25:51Z","size":2328},{"userid":4587601,"user":"Catrope","pageid":53100078,"revid":768876730,"parentid"
link model role access
link1 model1 role1 true
link1 model1 role2 true
link1 model1 role3 true
link1 model1 role4 true
link1 model2 role1 false
link1 model2 role2 false
link1 model2 role3 false
link1 model2 role4 false
link2 model1 role1 false