Skip to content

Instantly share code, notes, and snippets.

@mzsima
mzsima / readme.md
Last active May 13, 2020 14:40
ブタの貯金箱に貯金する

image

snapshot

gremlin

schema.vertexLabel("Customer").
       ifNotExists().
       partitionBy("name", Text).
       create();
@mzsima
mzsima / readme.md
Last active May 12, 2020 14:46
D2C 太郎は無印の商品を直販かファミマで購入する

image

snapshot

gremlin code

schema.vertexLabel("Consumer").
       ifNotExists().
       partitionBy("name", Text).
       create();
@mzsima
mzsima / readme.md
Last active May 11, 2020 15:04
二郎は太郎から車を借りる

image

snapshot

gremlin code

schema.vertexLabel("Customer").
       ifNotExists().
       partitionBy("name", Text).
       create();
@mzsima
mzsima / readme.md
Last active May 10, 2020 13:39
a circle of friends

image

snapshot

gremlin

schema.vertexLabel('User').
       ifNotExists().
       partitionBy('uid', Text).
 property('name', Text).
@mzsima
mzsima / readme.md
Last active May 9, 2020 15:00
find 3+likes

image

snapshot

gremlin code

schema

schema.vertexLabel("User").
 ifNotExists().
@mzsima
mzsima / readme.md
Last active May 6, 2020 12:42
Taro が Tweet

イメージ

snapshot

コード(GREMLIN)

schema.vertexLabel("User").
       ifNotExists().
 partitionBy("uid", Text).
@mzsima
mzsima / README.md
Last active May 5, 2020 14:25
Taro が Jiro を follow

イメージ

Screen Shot 2020-05-05 at 23 20 29

@mzsima
mzsima / Index.razor
Last active June 18, 2019 14:00
blazor_d3_sparkline_bar
@page "/"
@using System.Collections.Generic
@using MathNet.Numerics.Random;
@using MathNet.Numerics.Distributions;
@using System.Linq;
@inject IJSRuntime JsRuntime;
<h1>sparklines bar</h1>
@if (records == null)
@page "/"
@using System.Collections.Generic
@using MathNet.Numerics.Random;
@using MathNet.Numerics.Distributions;
@using System.Linq;
@inject IJSRuntime JsRuntime;
<h1>sparklines bar</h1>
@if (records == null)
@mzsima
mzsima / Index.razor
Created June 14, 2019 15:22
blazor_sigmajs_click
@page "/"
@inject IJSRuntime JsRuntime;
<h1>sigma click</h1>
<div id='container' style="width:300px;height:300px;margin: auto;"></div>
@code {
protected override async Task OnAfterRenderAsync() {
await JsRuntime.InvokeAsync<Object> ("myHelper.setup", "");