Skip to content

Instantly share code, notes, and snippets.

View jeremyjbowers's full-sized avatar

Jeremy Bowers jeremyjbowers

View GitHub Profile
@jeremyjbowers
jeremyjbowers / tomato_pie.md
Created August 30, 2017 14:13
A recipe for tomato pie, borrowed from my mom and influenced by Garden & Gun.

Tomato Pie

Ingredients

  • 4 shallots or equivalent amount of leek whites, minced
  • 3 garlic cloves, minced
  • 4 tbsp. butter, divided
  • 1 tbsp. Dijon mustard
  • 9-inch pie shell
  • 1 lb. assorted heirloom tomatoes, sliced 1/4-inch thick
  • 6 oz. goat cheese, crumbled
  • A healthy bunch of basil, cut into very thin ribbons
@jeremyjbowers
jeremyjbowers / resume.md
Created April 6, 2017 19:29
Jeremy's resume for the 2017 ONA student newsroom mentorship program.

Jeremy Bowers

I lead a team of Interactive News developers with a broad mandate to enhance our report by combining coding skills with journalistic sensibilities. Our team is aggressively collaborative — building tools to help reporters; we team with our computer-assisted reporters and data journalists; and we work with graphics editors to envision new presentations for data on the web.

The New York Times: 2014 -

Senior Editor, News Applications, Interactive News Technologies (INT)

  • Elections 2016: Rewrote our elections stack, replacing a decade-old Rails app with a suite of open-source tools now in use by The Los Angeles Times, The Chicago Tribune, NPR and McClatchy.
  • World Cup(s): Rewrote our World Cup stack, providing real-time scores, stats and visualization for our coverage.
@jeremyjbowers
jeremyjbowers / 278requests.py
Created April 1, 2017 00:42 — forked from stevenrich-zz/278requests.py
Automating Personal Financial Disclosure requests to White House
import csv, time
from selenium import webdriver
from selenium.webdriver.support.ui import Select
from selenium.webdriver.common.keys import Keys
applicant_name = # your name
applicant_email = # your email
applicant_address = # your physical address
occupation = # your occupation
THE WHITE HOUSE Office of the Press Secretary
For Immediate Release January 20, 2017
EXECUTIVE ORDER
MINIMIZING THE ECONOMIC BURDEN OF THE PATIENT PROTECTION AND AFFORDABLE CARE ACT PENDING REPEAL
By the authority vested in me as President by the Constitution and the laws of the United States of America, it is hereby ordered as follows:
Section 1. It is the policy of my Administration to seek the prompt repeal of the Patient Protection and Affordable Care Act (Public Law 111-148), as amended (the "Act'). In the meantime, pending such repeal, it is imperative for the executive branch to ensure that the law is being efficiently implemented, take all actions consistent with law to minimize the unwarranted economic and regulatory burdens of the Act, and prepare to afford the States more flexibility and control to create a more free and open healthcare market.
Sec. 2. To the maximum extent permitted by law, the Secretary of Health and Human Services (Secretary) and the heads of all other executive department

Mexican Street Corn Cookies

mexican_street_corn_cookies A cookie inspired by the wonderful street corn of Mexico City (and various US cities).

Cookies

Ingredients

  • 225 g butter, room temperature
  • 300 g sugar
  • 1 egg
@jeremyjbowers
jeremyjbowers / veggie_ramen.md
Last active September 14, 2016 16:24
A two-soup veggie ramen.

Ramen Broth

This is a two-part stock. It starts as an umami-heavy kombu/mushroom dashi and then adds a vegetable backbone. Intended to mimic the "two-broth" style of non-vegetarian ramen stock.

Ingredients

Dashi

Note these are estimates. You can vary by more than double without ruining anything, probably.

Time Magazine: New Paths to Buried Treasure

Traditionally, investigative reporters have relied on shoe leather and patience to ferret out the proverbial smoking gun. However, in the computer age, newsmen are enlisting the machine with dramatic results: In Providence, the Journal-Bulletin used an IBM 4381 to analyze 30,000 low- interest mortgages issued by the Rhode Island Housing and Mortgage Finance Corp. By matching mortgage issue dates with the bond issue that financed them, the machine helped expose a "secret fund" that apparently was used to give out RIHMFC loans to politically connected people like the daughter of former Governor J. Joseph Garrahy (who has since returned the loan). Following the revelations in the Journal-Bulletin, the Fleet National Bank and 24 individuals were indicted. At the Milwaukee Journal, Reporter Nina Bernstein heard that undefended indigents were being jailed for months because they could not pay $100-to-$300 fines for offenses like jaywalking. She went after the story, he

@jeremyjbowers
jeremyjbowers / lasagne.md
Created May 31, 2016 13:29
My lasagne recipe. Loosely based on Mario Batali's lasagne bolognese.

Lasagne

Ingredients

  • One batch of tomato sauce.
  • One batch of besciamella.
  • Two pounds of mozarella, cut into 0.25 inch thick slabs or rounds.
  • A pound of goat cheese, crumbled in chunks no larger than grape-sized.
  • A box of lasagne noodles (non-curly edges would be best).
  • A half-pound of Parmagiano Reggiano, grated coarsely.
  • A quarter-pound of Pecorino Romano or Fulvi Romano, grated coarsely.
@jeremyjbowers
jeremyjbowers / wine.md
Last active April 26, 2016 19:07
Wines for Rachel

Whites

2014 Abbazia di Novacella Kerner $50

  • Grape(s): Kerner
  • Region: Trentino-Alto Adige, Varna

Abbazia di Novacella is a bat-signal wine — it’s a sign to wine dorks that this place is a good place. Kerner is a dry white that has some stone and tropical fruit on the nose, a little bit of that on the palate, but mostly good acid and some minerals. A great and under appreciated grape from a good producer.

2010 Monastero Suore Cistercensi “Coenobium Ruscum” $70

  • Grapes: Trebbiano, Malvasia, Verdiccio
@jeremyjbowers
jeremyjbowers / homework_and_modifying_your_queries.md
Last active April 18, 2016 14:31
Homework for Thursday April 21 and some examples of how to modify your queries

Homework

I make a few assumptions that you should make sure are true:

  • You have a mental idea of the user who will be using your website and the core problem they're trying to solve, e.g., "academics looking for statistics about hunting injuries" or "concerned citizens who want to know the current population of Guantanamo Bay detainees."

  • You have put some thought into how your website can solve these problems. Remember: Keep your features simple. A perfectly acceptable version of your site could be "read the descriptions of each hunting accident to see the conditions under which people have been injured."

  • You can express these thoughts in terms of pages that show both the near and the far view, e.g., give some understanding of the whole but allow a user to dive in on details as appropriate.

With these assumptions in mind, you should feel comfortable enough with the contents of your data set to start working on laying out your web site. Perhaps you'd like to have a gri