Skip to content

Instantly share code, notes, and snippets.

Avatar

Pete Miller petemill

View GitHub Profile
@markerikson
markerikson / appEntryPoint.js
Last active Sep 11, 2020
Webpack React/Redux Hot Module Reloading (HMR) example
View appEntryPoint.js
import React from "react";
import ReactDOM from "react-dom";
import configureStore from "./store/configureStore";
const store = configureStore();
const rootEl = document.getElementById("root");
View parse_538_results.py
__author__ = 'eoglethorpe'
"""take election info from
http://projects.fivethirtyeight.com/election-2016/delegate-targets/democrats/
and convert it to JSON
"""
import json
import requests
You can’t perform that action at this time.