Skip to content

Instantly share code, notes, and snippets.

@devanjedi
devanjedi / EdgarWright1000Films.md
Last active July 28, 2016 19:44
Edgar Wright's 1000 Favorite Movies

Edgar Wright's 1000 Favorite Movies

This is originally from MUBI. You should really read it there: it’s pretty, hyper-linked and the original. I just made this easily scrollable version in case somebody wanted to explore or re-use the list.

  • THE CABINET OF DR. CALIGARI: ROBERT WIENE, 1920
  • NOSFERATU: F.W. MURNAU, 1922
  • SAFETY LAST!: SAM TAYLOR, FRED C. NEWMEYER, 1923
  • THE GOLD RUSH: CHARLIE CHAPLIN, 1925
  • THE GENERAL: BUSTER KEATON, CLYDE BRUCKMAN, 1926
  • METROPOLIS: FRITZ LANG, 1927
@devanjedi
devanjedi / howToGetTournamentWinsByBattingOrder
Last active August 29, 2015 14:01
How to figure out how many matches in a tournament were won by the side batting first (or second)
# How to find out how many matches were won by the side batting first vs. second in IPL 7
1. copy the text in the 'Results' table (here: http://www.espncricinfo.com/indian-premier-league-2014/engine/series/695871.html) to your clipboard (select, Ctrl-C)
2. paste it in a text file (save as say 'ipl7.txt')
3. in Terminal (on OSX, Linux, cygwin), type: 'grep runs <path to ipl7.txt> |wc -l' (without quotes) to get the number of matches won by the side batting first. type 'grep wickets <path to ipl7.txt> |wc -l' (without quotes) to get the number of matches won by the side batting second.