Skip to content

Instantly share code, notes, and snippets.

View mattdennewitz's full-sized avatar

Matt Dennewitz mattdennewitz

  • Lancaster, OH
View GitHub Profile

Pitchfork’s Product team is hiring. We're looking for a sharp, creative front-end developer excited about pushing hard on UI and UX across all platforms. Your work will be seen daily by millions around the world, and you'll be a part of a small team of designers and developers whose work has been praised for redefining online music journalism and influencing the medium itself.

Our work environment is fast-paced and intimate: we all work very closely, and everyone has say in new ideas, features, and approach. You should be someone constantly learning about new technology and keenly aware of its practical applications and limitations. It should go without saying that you’re willing to take on any task, regardless of size or glory. Everyone here wears many hats, and no job is too small for anyone. Strong communication skills are a must, as is the desire to teach as much as you learn. A love for music doesn’t hurt, either.

Responsibilities

As part of Pitchfork’s Product team, you will help us

  • consistent
@mattdennewitz
mattdennewitz / batters.csv
Created February 26, 2016 00:49
2015 WAR as Pitchfork scores
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
|---------------------+----------|
| Name | P4K WAR |
|---------------------+----------|
| Bryce Harper | 10.0 |
| Mike Trout | 9.6 |
| Josh Donaldson | 9.3 |
| Paul Goldschmidt | 8.2 |
| Joey Votto | 8.2 |
| Manny Machado | 7.7 |
| Yoenis Cespedes | 7.6 |
var React = require('react');
var _ = require('underscore');
var SigForm = React.createClass({
onChange: function() {
var node = React.findDOMNode(this.refs.form);
var serialized = {
sigName: node['wholename'].value,
email: node['email'].value,
@mattdennewitz
mattdennewitz / gist:2ad20725bfad967423b5
Last active August 29, 2015 14:15
Marcel skeleton
-- create marcel projection data source using 3 previous years
-- of data, excluding pitchers.
--
-- note: this exclusion method risks removing batters who have pitched.
-- instead, we should look for players with more
-- PA than batters faced.
drop table if exists marcel_batting;
create table
marcel_batting
as (
1. don't drop it - dj rashad
2. generator 1 - kfw
3. wide awake - kaitlin aurelia smith
4. zebra - onp
5. clearing - grouper
6. brazil - luke abbott
7. reservoir - metronomy
8. black draft - nathan fake
9. rough 2 - tessela
10. the red wing - fuck buttons

Keybase proof

I hereby claim:

  • I am mattdennewitz on github.
  • I am mattdennewitz (https://keybase.io/mattdennewitz) on keybase.
  • I have a public key whose fingerprint is FCA5 4A5B 36C3 51D8 86B8 0B9E CC56 E923 11EB F00F

To claim this, I am signing this object:

@mattdennewitz
mattdennewitz / dark.el
Created October 1, 2014 17:16
Emacs themes
(defun cubshat ()
(interactive)
(color-theme-install
'(cubshat
((background-color . "#222222")
(background-mode . light)
(border-color . "#222222")
(cursor-color . "#999999")
(foreground-color . "#e5dcdc")
(mouse-color . "black"))
background: -webkit-linear-gradient(90deg, #1D976C 10%, #93F9B9 90%); /* Chrome 10+, Saf5.1+ */
background: -moz-linear-gradient(90deg, #1D976C 10%, #93F9B9 90%); /* FF3.6+ */
background: -ms-linear-gradient(90deg, #1D976C 10%, #93F9B9 90%); /* IE10 */
background: -o-linear-gradient(90deg, #1D976C 10%, #93F9B9 90%); /* Opera 11.10+ */
background: linear-gradient(90deg, #1D976C 10%, #93F9B9 90%); /* W3C */
@mattdennewitz
mattdennewitz / bio.md
Last active February 4, 2016 05:19
Bio

Matt Dennewitz is the VP of Product at Pitchfork. Initially Pitchfork's first full-time developer, he's overseen the scaling and platform maturation of both one of the world's most popular and influential music publications and its award-winning engineering team. Matt also acts as CTO for BeerGraphs, which measures the analytics of beer, and recently launched Saber Archive, a community-driven archive for advanced baseball research. He lives in Chicago with wife, Melissa.

@mattdennewitz
mattdennewitz / remove_duplicate_files.py
Created September 16, 2013 19:24
Remove duplicate files in a path by scanning, reading, hashing, deleting.
#!/usr/bin/env python
import collections
import glob
import os
import sys
import zlib
found = collections.defaultdict(list)