Skip to content

Instantly share code, notes, and snippets.

View jcnesci's full-sized avatar

JC Nesci jcnesci

View GitHub Profile
@jcnesci
jcnesci / date.json
Last active June 26, 2016 07:48
Trying to use D3.js to create a simple line graph with a moving average using previous and next data points. View on Blocks at http://bl.ocks.org/jcnesci/7439277
{"rows":[
{"key":[4,22,23,11],"value":2},
{"key":[4,22,23,12],"value":2},
{"key":[4,22,23,13],"value":6},
{"key":[4,22,23,14],"value":3},
{"key":[4,22,23,15],"value":5},
{"key":[4,22,23,16],"value":2},
{"key":[4,22,23,17],"value":1},
{"key":[4,22,23,18],"value":5},
{"key":[4,22,23,22],"value":1},
@jcnesci
jcnesci / index.html
Created June 26, 2014 00:31
Open311 JSONP test #1 - using jQuery
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<title>DudleyD3 - Sosolimited</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
@jcnesci
jcnesci / gist:8838a68a5a8e555ac353
Created June 26, 2014 00:36
Open311 JSONP test #2 - basic JSONP
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
</head>
<body>
<script src='https://mayors24.cityofboston.gov/open311/v2/requests.json?callback=processJSON&page=1&page_size=250'></script>
<script type="text/javascript" charset="utf-8">
@jcnesci
jcnesci / how-to-delicious-to-evernote.md
Last active March 17, 2018 17:51
How to export Delicious bookmarks for Evernote (June 2016)

How to export Delicious bookmarks for Evernote (June 2016)

Delicious is going into disrepair, so I needed to find another home for my bookmarks. The transfer to Evernote was causing me headaches (since most things I found online no longer worked) so when I figured it out, I thought I'd document how I got it to work, for posterity.

Goal

Take Delicious bookmarks with tags, and create a new Bookmarks notebook in Evernote (basic/free version) which contains a new note for each old bookmark, with tags intact.

Steps

@jcnesci
jcnesci / .block
Last active September 16, 2016 06:40
Upcoming shouting match at d3.unconf
license: gpl-3.0
height: 600
<!DOCTYPE html>
<html>
<head>
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.4/p5.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.4/addons/p5.sound.min.js" charset="utf-8"></script>
<style type="text/css">
body {
@jcnesci
jcnesci / .block
Last active October 28, 2016 23:42
Stacked Barchart with Transitions
license: mit
@jcnesci
jcnesci / .block
Last active October 28, 2016 19:00
Stacked Barchart with Transitions - v2
license: mit
@jcnesci
jcnesci / .block
Created October 28, 2016 22:03
Broken - Object Constancy Example
license: mit
@jcnesci
jcnesci / .block
Last active November 1, 2016 00:26
Stacked Barchart with Transitions - v3
license: mit