Skip to content

Instantly share code, notes, and snippets.

@tomshanley
tomshanley / .block
Last active June 7, 2019 22:21
Sankey with transition
license: mit
@blackgate
blackgate / mbp2011-disable-amd-gpu.md
Last active November 22, 2023 01:23
Macbook Pro 2011 - Disable AMD GPU
@awjuliani
awjuliani / t-SNE Tutorial.ipynb
Created March 2, 2016 18:13
A notebook describing how to use t-SNE to visualize a neural network learn representations
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wosephjeber
wosephjeber / ngrok-installation.md
Last active March 22, 2024 15:55
Installing ngrok on Mac

Installing ngrok on OSX

For Homebrew v2.6.x and below:

brew cask install ngrok

For Homebrew v2.7.x and above:

@Neilos
Neilos / README.md
Last active October 6, 2023 00:26
Bi-directional hierarchical sankey diagram

This is a demonstration of a bi-directional hierarchical sankey diagram produced in javascript, html and css using d3. (Refresh page to generate new random data)

Sankey diagrams represent flows between nodes by varying the thickness of the connecting links.

This diagram was based off of Mike Bostock's sankey diagram, but additionally incorporates bi-directionality into the flow and caters for hierarchical relationships between nodes to allow drill down into the data.

All javascript code to generate the diagram markup is contained in the app.js file, but the underlying calculations are performed using a custom plugin: bihisankey.js.

@phil-pedruco
phil-pedruco / defaultData.csv
Last active March 8, 2024 21:10
3D Scatter Plot Using three.js
x y z lp_x lp_y lp_z hp_x hp_y hp_z
0.235458 -0.597702 -0.724487 0.232433 -0.593757 -0.717156 0.003025 -0.003945 -0.007332
0.235458 -0.597702 -0.724487 0.232735 -0.594152 -0.717889 0.002723 -0.003550 -0.006598
0.217346 -0.597702 -0.724487 0.231197 -0.594507 -0.718549 -0.013850 -0.003195 -0.005939
0.217346 -0.579590 -0.724487 0.229812 -0.593015 -0.719143 -0.012465 0.013425 -0.005345
0.199234 -0.579590 -0.724487 0.226754 -0.591673 -0.719677 -0.027520 0.012083 -0.004810
0.199234 -0.597702 -0.760712 0.224002 -0.592276 -0.723781 -0.024768 -0.005426 -0.036931
0.163010 -0.579590 -0.706375 0.217903 -0.591007 -0.722040 -0.054893 0.011417 0.015665
0.108673 -0.597702 -0.724487 0.206980 -0.591676 -0.722285 -0.098307 -0.006026 -0.002203
0.090561 -0.615814 -0.724487 0.195338 -0.594090 -0.722505 -0.104777 -0.021724 -0.001982
@saraquigley
saraquigley / AmCultCourses.csv
Created July 8, 2012 08:55
Fall 2012 Enrollments in American Cultures Courses
courseNum courseTitle date enrollCount enrollLimit
AFRICAM 158A POETRY 4 PEOP:TEACH April 10 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 11 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 12 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 13 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 14 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 16 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 17 0 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 19 1 30
AFRICAM 158A POETRY 4 PEOP:TEACH April 21 1 30
@saraquigley
saraquigley / deptClassesEnrollments.json
Created July 8, 2012 08:46
Fall 2012 Enrollment Counts & Limits
[
{
"dept" : "A,RESEC",
"numClasses" : 11,
"enrollCount" : 71,
"enrollLimit" : 314
},
{
"dept" : "AEROSPC",
"numClasses" : 4,