Skip to content

Instantly share code, notes, and snippets.

View davidchang's full-sized avatar

David Chang davidchang

View GitHub Profile
import React from 'react';
import { connect } from 'react-redux';
import actions from './actions';
function App({
caughtPokemon,
markCaught,
pokemon,
searchTerm,
searchTermChanged,
@davidchang
davidchang / kevin-durant-stats.json
Last active August 29, 2015 14:02
Kevin Durant stats for each game from 2008 to 2013, pulling from http://espn.go.com/nba/player/gamelog/_/id/3202/year/2008/kevin-durant
[
{
"date": "4/16/2008",
"opponent": "GS",
"location": "AWAY",
"score": "W 126-121",
"min": "43",
"fgm-fga": "18-25",
"fg-percentage": ".720",
"3pm-3pa": "1-2",
@davidchang
davidchang / feed-reader-v2.html
Created May 17, 2014 12:01
Feed Reader version 2, using Angular/Underscore/Bootstrap CSS.
<!doctype html>
<html ng-app="feedReaderApp">
<head>
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.2.2/css/bootstrap.min.css" rel="stylesheet">
<style>
.title {
cursor: pointer;
font-weight: bold;
font-size: 24.5px;
line-height: 40px;
@davidchang
davidchang / gist:5746872
Created June 10, 2013 06:23
Github's Calendar Grid
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
@davidchang
davidchang / feed-reader-v1.html
Last active December 5, 2016 17:26
Feed Reader version 1, using Angular/Underscore/Bootstrap CSS.
<!doctype html>
<html ng-app>
<head>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
<style>
.title {
cursor: pointer;
font-weight: bold;
font-size: 24.5px;
line-height: 40px;