Skip to content

Instantly share code, notes, and snippets.

View danse's full-sized avatar

frances danse

  • Internet
View GitHub Profile
@danse
danse / gist:28364790e23b41e2921c
Created May 5, 2014 13:53
about shapes of countries
http://techslides.com/demos/d3/dragdrop-geo-game.html
http://bl.ocks.org/mbostock/4183330
@danse
danse / gist:684ae8a93527dd156a95
Created May 5, 2014 10:04
fizz buzz enterprise edition with javascript
for (var i=1; i<=100; i++) { !(i%3)||console.log("Fizz"); !(i%5)||console.log("Buzz"); !(i%15)||console.log("FizzBuzz"); i%3&&i%5&&console.log(i); }
@danse
danse / README.md
Created March 17, 2014 20:30 — forked from dwtkns/README.md

Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.

@danse
danse / snippet.js
Created March 17, 2014 20:29 — forked from dwtkns/snippet.js
var s=document.createElement('script'); s.type='text/javascript'; s.src='http://d3js.org/d3.v3.min.js'; document.head.appendChild(s);
@danse
danse / gist:9602122
Created March 17, 2014 16:02
from web SVG to standalone file
from http://stackoverflow.com/a/4228053/393758
// Add some critical information
$("svg").attr({ version: '1.1' , xmlns:"http://www.w3.org/2000/svg"});
@danse
danse / README.md
Created February 22, 2014 14:11 — forked from mbostock/.block

This variation of a simple bar chart adds sorting with staggered delay and translucency to improve readability during the transition. This technique is recommended by Heer & Robertson. Use the checkbox in the top right to turn sorting on or off.

inkscape
meld
ruler
weechat (but xchat is more or less okay)
pwgen
@danse
danse / index.html
Created January 8, 2014 10:34
A Pen by Francesco Occhipinti.
<div ng-app="sortableApp" ng-controller="sortableController" class="container">
<h2>ui.sortable ng1.0 connected lists</h2>
<div class="floatleft">
<div ui-sortable="sortableOptions" class="apps-container screen floatleft" ng-model="screen" ng-repeat="screen in rawScreens">
<div class="app" ng-repeat="app in screen">{{$index}} {{app.title}}</div>
</div>
<div style="clear: both;"></div>
</div>
@danse
danse / dabblet.css
Created December 13, 2013 14:10
Untitled
div {
border: 2px solid gray;
}