Skip to content

Instantly share code, notes, and snippets.

@xujenna
xujenna / d3.tip.v0.6.3.js
Last active March 12, 2018 20:27
IG analysis
// d3.tip
// Copyright (c) 2013 Justin Palmer
//
// Tooltips for d3.js SVG visualizations
// Public - contructs a new tooltip
//
// Returns a tip
d3.tip = function() {
var direction = d3_tip_direction,
@xujenna
xujenna / Untitled.csv
Created March 1, 2018 18:29
entrainment_mindwandering
time url
10:34 AM mail.google.com/mail/u/0/%23inbox/161d1ed48b2f32ec& AMp;sa=D& AMp;ust=1519887424252000& AMp;usg=AFQjCNGcyIEpr0mInSP14eOpuZ3OWyKHMA
10:40 AM mail.google.com/mail/u/1/%23inbox/161d2bca7c4229c3& AMp;sa=D& AMp;ust=1519887424253000& AMp;usg=AFQjCNHPFf0T7dvp AMSaRIXP7LeyoZTLMw
10:40 AM github.com/Aintaer& AMp;sa=D& AMp;ust=1519887424254000& AMp;usg=AFQjCNHYZYLV4b0MyHSCdIa6BORoVU49BA
10:40 AM github.com/Aintaer/weareash_2/commits?author%3DAintaer& AMp;sa=D& AMp;ust=1519887424255000& AMp;usg=AFQjCNExSsnbxdBby9DvjJhfe_h5PtFc4w
10:40 AM github.com/Aintaer/weareash_2& AMp;sa=D& AMp;ust=1519887424256000& AMp;usg=AFQjCNHazt1Eqnn2Gjm5ZhlfmsPYkWztuA
10:40 AM github.com/xujenna& AMp;sa=D& AMp;ust=1519887424257000& AMp;usg=AFQjCNEN5CupnAjhxl1QHbffKrP6_Qc2jw
10:41 AM mail.google.com/mail/u/1/%23inbox/161d27e4d5600451& AMp;sa=D& AMp;ust=1519887424258000& AMp;usg=AFQjCNH5SF9IubBpS98PsUg9XX-ZqjXcSQ
10:41 AM calendar.google.com/calendar/r/week& AMp;sa=D& AMp;ust=1519887424259000& AMp;usg=AFQjCNEcMiDvWkS4vbk4pGB28
@xujenna
xujenna / gaze_cleanup.csv
Last active March 21, 2018 18:19
pupil tracking while reading in a disruptive environment
We can't make this file beautiful and searchable because it's too large.
gaze_point_3d_x,gaze_point_3d_y
-149.59374050637166,31.18475506844542
-148.93817521696835,30.462319994189848
-149.42171494388703,31.173073313798056
-149.03023429318864,31.476111620829997
-150.18889298713532,31.129799095497113
-149.37568297360565,31.910241942437068
-149.49274771309643,31.903384106456848
-149.7039335785856,32.07143024632282
-149.60866835950617,32.422322755069
@xujenna
xujenna / index.html
Created February 1, 2018 20:27
blink detection day 2
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/*css to go here*/
body {
font-family: monospace;
font-size: 11px;
color: #D3D3D3;
background-size: cover;
@xujenna
xujenna / blink_log.csv
Created February 1, 2018 05:43
Listening to the Rest of You
@xujenna
xujenna / breakfast-lunch-dinner-xujenna.json
Last active January 30, 2018 01:20
breakfast-lunch-dinner-xujenna.json
{
"username": "xujenna",
"name": "Jenna Xu",
"activities":[
{
"activity": "breakfast",
"datetime_est": "2018-01-29 07:30",
"location":
{
"locationName": "THE ELK",
@xujenna
xujenna / index.html
Created November 26, 2016 06:02
Authentication is Required
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<style type="text/css">
/*css to go here*/
body {
text-align: center;
@xujenna
xujenna / gunsdata.csv
Last active October 23, 2019 23:17
2014 gun deaths
We can't make this file beautiful and searchable because it's too large.
"","year","month","intent","police","sex","age","race","hispanic","place","education"
"67200",2014,"01","Suicide",0,"M",23,"White",100,"Trade/service area",2
"67201",2014,"01","Suicide",0,"M",20,"White",100,"Other specified",3
"67202",2014,"01","Suicide",0,"M",45,"White",100,"Home",4
"67203",2014,"01","Suicide",0,"M",34,"Native American/Native Alaskan",100,"Home",2
"67204",2014,"01","Suicide",0,"M",19,"Native American/Native Alaskan",100,"Home",2
"67205",2014,"01","Suicide",0,"M",22,"White",100,"Home",3
"67206",2014,"01","Suicide",0,"M",21,"Black",100,"Trade/service area",2
"67207",2014,"01","Suicide",0,"M",35,"Native American/Native Alaskan",100,"Street",2
"67208",2014,"01","Homicide",0,"M",31,"White",100,"Other specified",1
@xujenna
xujenna / LICENSE
Last active October 23, 2019 23:18
US Mass Shootings, 1982-2016
Copyright 2019 Jenna Xu.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER D
@xujenna
xujenna / New_York_City_Leading_Causes_of_Death.csv
Last active October 12, 2016 02:34
2011 Leading Causes Of Death In NYC
Year Ethnicity Sex DeathCause Count Percent
2011 ASIAN & PACIFIC ISLANDER FEMALE ACCIDENTS EXCEPT DRUG POISONING 44 3
2011 ASIAN & PACIFIC ISLANDER FEMALE ALZHEIMERS DISEASE 24 2
2011 ASIAN & PACIFIC ISLANDER FEMALE ANEMIAS 5 0
2011 ASIAN & PACIFIC ISLANDER FEMALE ASSAULT (HOMICIDE) 6 0
2011 ASIAN & PACIFIC ISLANDER FEMALE BENIGN AND UNCERTAIN NEOPLASMS 11 1
2011 ASIAN & PACIFIC ISLANDER FEMALE CEREBROVASCULAR DISEASE 98 6
2011 ASIAN & PACIFIC ISLANDER FEMALE CHOLELITHIASIS AND DISORDERS OF GALLBLADDER 6 0
2011 ASIAN & PACIFIC ISLANDER FEMALE CHRONIC LIVER DISEASE AND CIRRHOSIS 10 1
2011 ASIAN & PACIFIC ISLANDER FEMALE CHRONIC LOWER RESPIRATORY DISEASES 30 2