Skip to content

Instantly share code, notes, and snippets.

View eric-brechemier's full-sized avatar

Eric Bréchemier eric-brechemier

  • Compiègne, France
  • 22:02 (UTC +02:00)
View GitHub Profile
@locriani
locriani / .bash_profile
Last active March 9, 2017 22:24
SSH Terminal Color Hack
alias ssh="~/.bash/ssh.sh"
@mbostock
mbostock / .block
Last active April 19, 2024 09:41 — forked from mbostock/.block
Radial Cluster Dendrogram
license: gpl-3.0
height: 950
border: no
@demoive
demoive / slugify.js
Last active February 24, 2021 08:59
Converts a string to a "URL-safe" slug
/**
* Converts a string to a "URL-safe" slug.
* Allows for some customization with two optional parameters:
*
* @param {string} Delimiter used. If not specified, defaults to a dash "-"
* @param {array} Adds to the list of non-alphanumeric characters which
* will be converted to the delimiter. The default list includes:
* ['–', '—', '―', '~', '\\', '/', '|', '+', '\'', '‘', '’', ' ']
*/
if (!String.prototype.slugify) {
@mbostock
mbostock / .block
Last active March 6, 2019 05:06 — forked from mbostock/.block
Contour Plot
license: gpl-3.0
height: 673
border: no
redirect: https://observablehq.com/@d3/volcano-contours
@mbostock
mbostock / .block
Last active September 28, 2023 07:09 — forked from mbostock/.block
Circle Packing
license: gpl-3.0
height: 960
border: no
redirect: https://beta.observablehq.com/@mbostock/d3-circle-packing
@mbostock
mbostock / .block
Last active September 6, 2023 14:50
Sunburst Partition
license: gpl-3.0
redirect: https://beta.observablehq.com/@mbostock/d3-sunburst
@mbostock
mbostock / .block
Last active May 15, 2023 07:29
Bubble Chart
license: gpl-3.0
height: 960
border: no
redirect: https://observablehq.com/@d3/bubble-chart
@mbostock
mbostock / .block
Last active September 15, 2023 11:14
Streamgraph
license: gpl-3.0
redirect: https://beta.observablehq.com/@mbostock/streamgraph-transitions
@mbostock
mbostock / .block
Last active November 21, 2019 20:19
Stacked-to-Grouped Bars
license: gpl-3.0
redirect: https://observablehq.com/@d3/d3-stacked-to-grouped-bars