Skip to content

Instantly share code, notes, and snippets.

View ChrisJamesC's full-sized avatar

Christopher Chiche ChrisJamesC

  • beeld
  • Lausanne, Switzerland
View GitHub Profile
@ChrisJamesC
ChrisJamesC / test1.cpp
Created August 31, 2017 08:22
My medium article
hello world
@ChrisJamesC
ChrisJamesC / Readme.md
Created September 23, 2016 14:44
Typescript 2.0.3 - Enzyme - Out of memory

This gist contains the minimum set of files I found necessary to reproduce an out of memory exception in Typescript 2.0.3.

On my computer, triggering a save on index.ts only once was sufficient to make the typescript compiler crash.

Here is the diagnostic on the first run:

> tsc --diagnostics index.ts

Files: 4
@ChrisJamesC
ChrisJamesC / Yo
Last active August 29, 2015 14:05
Utlimate Yo
#!/usr/bin/python
# This script first executes the command passed as argument, then, when the command
# is done, it sends you a yo
#
# All you need to do is define the YO_USER and YO_TOKEN environment variables with:
# YO_USER: your Yo username
# YO_TOKEN: the Yo API token corresponding to the Yo API account you want to receive
# Yos from, don't forget to subscribe to your accounts.
#

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.

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.

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.

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.

@ChrisJamesC
ChrisJamesC / README.md
Last active August 29, 2015 13:56 — 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.

@ChrisJamesC
ChrisJamesC / README.md
Last active December 19, 2015 04:19 — forked from mbostock/.block

Line chart with a circle on each point.

This line chart is constructed from a TSV file storing the daily average temperatures of New York, San Francisco and Austin over the last year. The chart employs conventional margins and a number of D3 features:

@ChrisJamesC
ChrisJamesC / README.md
Last active December 14, 2015 04:28 — forked from mbostock/.block
Force directed graph with non-formated data.