Skip to content

Instantly share code, notes, and snippets.

View kt3k's full-sized avatar

Yoshiya Hinosawa kt3k

View GitHub Profile
@kt3k
kt3k / build.gradle
Last active February 22, 2016 06:32 — forked from mystelynx/build.gradle
gradle で ebean を enhance する
configurations {
// ebean enhance 用の configuration を宣言
enhance
}
dependencies {
// ebean enhance 用の dependency を追加
enhance 'org.avaje.ebeanorm:avaje-ebeanorm-agent:4.9.1'
}
@kt3k
kt3k / flare.json
Created February 21, 2015 03:04 — forked from mbostock/.block
{
"name": "domain",
"children": [
{
"name": "Level",
"children": [
{
"name": "id",
"children": [
{
@kt3k
kt3k / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block
@kt3k
kt3k / README.md
Last active August 29, 2015 14:15 — forked from robschmuecker/README.md

This example pulls together various examples of work with trees in D3.js.

The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.

One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.

Dragging can be performed on any node other than root (flare). Dropping can be done on any node.

Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.

@kt3k
kt3k / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block
@kt3k
kt3k / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block

Enclosure diagrams use containment to represent the hierarchy. Although circle packing is not as space-efficient as a treemap, it better reveals the hierarchy. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

See also this zoomable version.

@kt3k
kt3k / journal.yml
Last active August 29, 2015 14:14 — forked from anonymous/journal.yml
- id: 0
date: 2015-01-05
name: 開業
dr:
預金: 2400
cr:
元入金: 2400
- id: 1
date: 2015-01-20