Skip to content

Instantly share code, notes, and snippets.

View EvanZ's full-sized avatar

Evan Zamir EvanZ

  • Pinpoint Predictive
  • San Francisco
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EvanZ
EvanZ / cle_3pt_shooting.ipynb
Last active May 6, 2016 20:57
Cleveland Historic 3PT Game
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EvanZ
EvanZ / gist:f0e6f7655b37166b8cd9
Created March 18, 2016 00:38 — forked from neocxi/gist:f0020ff895b29488940f
Install cuda 7.0 & docker on ec2
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb
sudo apt-get update
# Note that we do upgrade and not dist-upgrade so that we don't install
# new kernels; this script will install the nvidia driver in the *currently
# running* kernel.
# sudo apt-get upgrade -y
sudo apt-get install -y git python-pip vim htop
sudo apt-get clean
{
"metadata": {
"name": "",
"signature": "sha256:dc2c94954c4c2ad1c88d16c4ea2bd8768fc52cd73251f19a1f435cd3578dcb5e"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@EvanZ
EvanZ / gist:48bf713ce9eb14f28d58
Last active December 22, 2019 17:25
RAPM tutorial 2015 data
{
"metadata": {
"name": "",
"signature": "sha256:92ccaf2e31ad75afe47fb6a382eb103dcec24aac1e52eedb12c28b43112443dc"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@EvanZ
EvanZ / gist:f7d44b9906e4275e6f39
Created February 23, 2015 21:45
RAPM tutorial
{
"metadata": {
"name": "",
"signature": "sha256:6cf5e55848c6c232fce1d5c6998ffc60f2100df93baac87ca4555267751148fa"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@EvanZ
EvanZ / gist:d16c11d6f85138b2fe6f
Created February 21, 2015 02:09
rapm tutorial
{
"metadata": {
"name": "",
"signature": "sha256:d9ade76355975088b3690cbbe0e77efd9ab2b9a11213aa8621b901be21346921"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:6248457aa29c2f47b8dddd47de0ae38cc80dafb3910d8e7e13a178802f0e73e9"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
(ns flambo.clojure.spark.demo
(:require [flambo.conf :as conf])
(:require [flambo.api :as f])
(:require [clojure.data.json :as json]))
(def c (-> (conf/spark-conf)
(conf/master "local[*]")
(conf/app-name "nba_dsl")))
(def sc (f/spark-context c))
@EvanZ
EvanZ / index.html
Created December 5, 2013 02:49
Scatterplot
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='http://polychart.com/s/third_party/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;