Skip to content

Instantly share code, notes, and snippets.

View delormev's full-sized avatar

Vincent Delorme delormev

View GitHub Profile
@delormev
delormev / notify
Created February 9, 2016 10:53
Prepend "notify" before a command to get notified of its status and output by email
#!/bin/sh
output=`$* 2>&1 | tee /dev/stdout; echo ${PIPESTATUS[0]}`
rv=`echo "$output" | tail -1`
label="[FAILED] "
if [ "$rv" -eq 0 ]; then
label="[SUCCESS] "
fi;
echo "$output" | mail -s "$label" your.email@gmail.com
@delormev
delormev / README.md
Last active May 9, 2017 13:39
Alzheimer

## Learn D3js: Part 2 - Data binds & updates

Features:

  • data loading & processing
  • scales
  • data / graph updates
  • transitions (with delay)
@delormev
delormev / README.md
Last active May 9, 2017 13:37
Data Science

# Learn D3js: Part 1 - Static graphic

Features:

  • overall structure and margins (see this example)
  • SVG objects (circles, paths, text)

Blog post coming soon!