Skip to content

Instantly share code, notes, and snippets.

@N0taN3rd
N0taN3rd / structOps.cpp
Created September 9, 2015 02:11
struct operators
#include <string>
#include <iostream>
#include <algorithm>
using namespace std;
struct stringStruct{
string stringMember;
bool operator<(stringStruct a){
return stringMember < a.stringMember;
#include<iostream>
#include <string>
#include<fstream>
#include <vector>
using namespace std ;
struct node{
#include<iostream>
#include <string>
#include<fstream>
#include <iomanip>
#include <time.h>
#include <ctime>
#include <stdio.h>
#include <cctype>
#include <vector>
#include <random>
@N0taN3rd
N0taN3rd / README.md
Last active January 20, 2016 05:21
better
@N0taN3rd
N0taN3rd / README.md
Created January 24, 2016 23:33
Week2
@N0taN3rd
N0taN3rd / README.md
Last active January 27, 2016 00:40
Week2

Built with blockbuilder.org

R code to accompany the week2 d3 portion

countries <- c(12, 31, 15, 21, 22, 29, 29, 45, 46, 47, 49, 59, 
               69, 67, 83, 93, 112, 121, 92, 80, 140, 159, 169, 197, 200, 201, 204, 205)
years <- c(1896, 1900, 1904, 1906, 1908, 1912, 1920, 1924, 1928, 1932, 1936, 
           1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988, 1992, 1996, 2000, 2004, 2008, 2012)
@N0taN3rd
N0taN3rd / README.md
Created February 2, 2016 03:55
Power of Data Redo
@N0taN3rd
N0taN3rd / README.md
Last active February 3, 2016 01:22
VI2

Built with blockbuilder.org

John Berlin

Tableu:

  • Bar chart of passing yards per player (best displayed as a horizontal bar chart), with conference mapped to color
    • passing chart
    • Incite: The passing chart did not show much to me other than football players can throw ball for alot of yards. Sry not a big sports fan
@N0taN3rd
N0taN3rd / README.md
Last active February 3, 2016 00:43
ICW2

John Berlin ICW2 Group Members: John Berlin

Scatter Matrix scattermatrix

setwd(getwd())
playerStats <- read.csv('passing-stats-2014.csv')
pairs(~playerStats$Passing.Yards+playerStats$Passing.TD+playerStats$Rate+playerStats$Rushing.Yards+playerStats$Rushing.TD)
@N0taN3rd
N0taN3rd / timemaps2016.py
Created February 9, 2016 20:03
Python3 version of Scott G. Ainsworth timemaps.py
#!/usr/bin/env python3 -B
import re
import dateutil.parser
import urllib.request
import requests
# ==================================================================