Skip to content

Instantly share code, notes, and snippets.

View danse's full-sized avatar

Francesco Occhipinti danse

  • Internet
View GitHub Profile
@danse
danse / 1-readme.md
Created December 8, 2023 15:16 — forked from simonmichael/1-readme.md
SM's Handy Haskell Keywords (2023-12-08)
@danse
danse / flatten.js
Created May 27, 2019 12:53
test for Theorem
/*
in order to run the tests install
https://github.com/davidchambers/doctest either globally or locally
and run `$ doctest theorem.js`
*/
// > flatten([3])
// [3]
@danse
danse / .block
Created November 20, 2017 20:06 — forked from mbostock/.block
Polar Clock
license: gpl-3.0
@danse
danse / Italian.md
Last active May 7, 2017 23:14
A collection of Italian songs for Brooke
@danse
danse / README.md
Created February 3, 2017 20:45 — forked from rveciana/README.md
d3-composite-projections conicConformalEurope
@danse
danse / README.md
Created October 23, 2015 23:13 — forked from susielu/README.md
Annual Temp - New York 2015

Weather Plot - New York 2015

In the example we're looking at historical weather data for New York provided by intellicast.com and wunderground.com. Inspired by weather-radicals.com.

This example uses scales to roll your own radial projection by mapping out the x, y, and r positions. If you are creating a line or an area you can use d3's convenience functions d3.svg.line.radial and d3.svg.area.radial but this is a method you can use if you want to use different graphical elements in a circular layout.

@danse
danse / note.md
Created September 23, 2015 08:38
A note about Couch reduction errors

This is an explanation Jan gave me about a weird error we got with Couch:

The thing to remember is that within a design doc, all map/reduce funs are evaluated together. So if you have two views, one with reduce and one without, but in the same ddoc, even querying the one view will trigger the reduce overflow error

@danse
danse / gist:882850a874c8ca80943c
Created July 10, 2015 10:09
Wards in Sierra Leone
Western Urban
346
347
348
349
@danse
danse / tools.md
Created June 11, 2015 12:21
tools for visualising graphs
@danse
danse / log
Created June 5, 2015 09:51
cabal run -v plot
Using a sandbox located at /Users/francesco/repos/Frames/.cabal-sandbox
Reading available packages...
Reading installed packages...
/usr/bin/ghc-pkg dump '--package-db=/Users/francesco/repos/Frames/.cabal-sandbox/x86_64-osx-ghc-7.8.3-packages.conf.d' -v0
/usr/bin/ghc --print-libdir
Found no modified add-source deps.
Component build order: library, executable 'plot'
creating dist/build
creating dist/build/autogen
Preprocessing library Frames-0.1.0.0...