Skip to content

Instantly share code, notes, and snippets.

View micahstubbs's full-sized avatar

Micah Stubbs micahstubbs

View GitHub Profile
require(Quandl)
symbolList <- c("AMZN","GOOG", "MSFT", "AAPL", "GLW", "HAL")
data <- data.frame("Date" = c(),
"Effective Tax Rate" = c(),
"Earnings Before Interest and Taxes" = c(),
"symbol" = c())
for(symbol in symbolList){
@biovisualize
biovisualize / index.html
Last active October 2, 2015 01:16
stream csv into canvas
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/4.1.2/papaparse.min.js" charset="utf-8"></script>
</head>
<body>
anonymous
anonymous / README.md
Created December 3, 2015 21:31
circle transitions example for @Hectorleon
@visnup
visnup / README.md
Last active September 18, 2017 02:25
RICOH THETA S live 360º video stream rendering in Chrome via WebGL and a <video> texture

To get this working, you'll need the [live-streaming software from RICOH][1]. Install that and follow the [live video instructions][2] to connect your camera to your computer and have it show up as a video source.

If you're on a Mac, you can open up the FaceTime app and test it by picking "THETA UVC Blender" from the Video menu.

Once all of that is working, open up index.html and you should see the video rendered on the inside of a sphere that you can rotate around. Use the mouse to click and drag to move the camera around and the mouse wheel to zoom in and

@tophtucker
tophtucker / .block
Last active September 15, 2018 21:42
Diagonal
height: 960
function levelOrderSearch(rootNode) {
// Check that a root node exists.
if (rootNode === null) {
return;
}
// Create our queue and push our root node into it.
var queue = [];
queue.push(rootNode);
@codeshrew
codeshrew / open-chrome-disable-web-security.scpt
Last active March 31, 2019 22:27
Launches Google Chrome with web security disabled. This disables the same origin policy for API calls and can ease development from a dev environment not in a server's CORS settings
(* Launches Google Chrome with web security disabled.
This disables the same origin policy for API calls and can
ease development from a dev environment not in a server's CORS settings *)
(* This same command can be sent to Canary by changing
'Google Chrome.app' to 'Google Chrome Canary.app' *)
do shell script "open -a 'Google Chrome.app' --args --disable-web-security --allow-running-insecure-content"
(* If you want to not use your current user in Chrome you can set --user-data-dir to point to /tmp
@lyzidiamond
lyzidiamond / maptime-onboarding.md
Last active May 1, 2019 18:52
Maptime Onboarding!

What time is it? It's onboarding time!

Hi! This is a document with everything you need to know about getting started with your Maptime chapter. Please read through it carefully and respond with any information we've asked for. Thanks! We're so happy to have you!

About MaptimeHQ

MaptimeHQ includes Beth Schechter, Lyzi Diamond, Alan McConchie and Camille Teicheira. All of us are available to help get your chapter onboarded, so don't hesitate to reach out! You can also reach all four of us at hello@maptime.io.

@1wheel
1wheel / .gitignore
Last active September 13, 2019 12:43
d3-module-faces
node_modules
@connor11528
connor11528 / binarySearchTree.js
Last active July 13, 2020 05:31
Binary search tree implemented in Javascript
class BinarySearchTree {
constructor(){
this.root = null;
}
// add a node to the tree
add(value){
let newNode = { value, left: null, right: null};