Built with blockbuilder.org
Fork of mbostock's block http://bl.ocks.org/mbostock/280d83080497c8c13152.
forked from dowstreet's block: Connected Particles III
Built with blockbuilder.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax enable | |
set nu | |
set et | |
set tabstop=2 | |
set autoindent | |
set pastetoggle=<F2> | |
" Show trailing whitespace | |
highlight ExtraWhitespace ctermbg=red guibg=red | |
match ExtraWhitespace /\s\+$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
path { | |
fill: none; | |
} | |
#airports circle { | |
fill: #333333; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on 'page:load', () -> | |
return unless $('#ca-vis').length | |
# | |
margin = { top: 0, right: 60, left: 50, bottom: 100 } | |
width = $('.container').width() - margin.right - margin.left | |
height = 540 - margin.top - margin.bottom | |
colors = ['#8dd3c7', '#E1C368', '#bebada', '#fb8072', '#80b1d3', '#fdb462', | |
'#b3de69', '#fccde5', '#d9d9d9', '#bc80bd', '#ccebc5', '#ffed6f'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
$.scrollIt(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a data-scroll-goto="0">Back to top</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a data-scroll-nav="0">About</a> | |
<a data-scroll-nav="1">Usage</a> | |
<a data-scroll-nav="2">Options</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-scroll-index="0">..content..</div> | |
<div data-scroll-index="1">...</div> | |
<div data-scroll-index="2">...</div> |