Skip to content

Instantly share code, notes, and snippets.

View eglassman's full-sized avatar
💭
I may be slow to respond.

Elena Glassman eglassman

💭
I may be slow to respond.
View GitHub Profile
@eglassman
eglassman / Description.md
Last active January 2, 2016 05:39
Seasonal Affective Thesis Disorder

Well, I wanted to

  • make and share an IPython notebook as a gist.
  • make a joke in a graph formatted like an XKCD comic.
  • express my own relationship with the New England winter.

I hope I've managed all three in one fell swoop!

-elg

@eglassman
eglassman / SATD.ipynb
Last active January 2, 2016 05:48
Sharing an IPython Notebook attempt number 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eglassman
eglassman / notes.md
Created January 7, 2014 15:21
Fun with MPLD3 librrary
  • Uploaded prior to pair programming with Tom Lieber.
@eglassman
eglassman / README.md
Last active July 28, 2016 22:23 — forked from mbostock/.block
{
"name": "flare",
"children": [
{
"name": "analytics",
"children": [
{
"name": "cluster",
"children": [
{"name": "AgglomerativeCluster", "size": 3938},
@eglassman
eglassman / README.md
Last active August 29, 2015 14:04
Block

I would like to ink on some d3-created visualizations. I really like d3, so I thought I'd create the inking with it too, instead of introducing another library into my project.

However, I could only find one demo of d3-based inking: a block on bl.ocks.org by 'cloudshape'.

It was almost exactly what I wanted, except there was this strange offset between where I placed my mouse, and where the line was drawn. So... I copied the code into Brackets and modified it until this offset was gone. I think it's a small but significant improvement. Now I'm sharing it as a 'block' of my own!

Cloudshapes, thank you so much for creating the original drawing app. You did all this work, and I am grateful. I just changed one line of code!

@eglassman
eglassman / popoverDemo.html
Created July 28, 2014 02:33
A popover configuration I like
<html>
<head>
<style>
body {padding:50px}
</style>
<!-- Latest compiled and minified CSS -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
#adapted from minus_context
import nltk
import feedparser
import random
import twitter
import yaml
import string
import re
from urlparse import urlparse