Skip to content

Instantly share code, notes, and snippets.

View evanpeck's full-sized avatar

Evan Peck evanpeck

View GitHub Profile
@justinnhli
justinnhli / clap.py
Created October 15, 2018 19:41
👏👏, 👏👏👏, 👏👏👏👏; 👏👏.
#!/usr/bin/env python3
# vim: set fileencoding=utf-8
for num_claps in range(2, 5):
globals()[num_claps * 'clap'] = (lambda num_claps:
(lambda: print(num_claps * '👏'))
)(num_claps)
clapclap()
clapclapclap()
@alexhanna
alexhanna / social-science-programming.md
Last active March 14, 2024 11:05
Notes on social science programming principles
  1. Code and Data for the Social Sciences: A Practitioner’s Guide, Gentzkow and Shapiro.
  2. Good enough practices in scientific computing, Wilson et al.
  3. Best Practices for Scientific Computing, Wilson et al.
  4. Principled Data Processing, Patrick Ball.
  5. The Plain Person’s Guide to Plain Text Social Science, Healy.
  6. Avoiding technical debt in social science research, Toor.
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active April 20, 2024 01:36
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AmeliaBR
AmeliaBR / svg-tips-tricks-notes.md
Last active October 20, 2023 02:55
SVG Tips and Tricks (presentation at SVG Summit 2017)
@dannguyen
dannguyen / pytesseract.nytimes.md
Created June 23, 2015 18:42
Trying pytesseract on a mixed-media screengrab like the New York Times homepage
@sloria
sloria / bobp-python.md
Last active April 20, 2024 13:02
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens