Skip to content

Instantly share code, notes, and snippets.

View jeremyjbowers's full-sized avatar

Jeremy Bowers jeremyjbowers

View GitHub Profile

The ULMG Constitution

Updated, March 2022

History

The United League of Moderate Gamers was created in 1986 so that ordinary people could experience the thrill of operating a Major League baseball franchise without the bother of spending countless millions of dollars for the pleasure.

After incomplete seasons of face-to-face Strat-O-Matic play in 1986 and 1987, the charter members – Todd Burkes, Darren Grasse and Rick Senften – re-formed the league into a 12-team, play-by-mail format beginning in 1989. The inaugural members were:

  • Todd Burkes (Houston)
  • Darren Grasse (Seattle)
  • Rick Senften (Cleveland)
  • Scott Harrington (Chicago-N)
{
"quiz-1": {
"quizLoadedTimestamp": 1673290569817,
"numCorrect": 0,
"bonusNumCorrect": 0,
"numCanBeCorrect": 0,
"bonusNumCanBeCorrect": 0,
"totalValue": [
"pluto_yes"
],
@jeremyjbowers
jeremyjbowers / README.md
Created March 10, 2016 19:28
A simple Python-based scraper for pulitzer.org's JSON to build a CSV of winners by year.

PULITZER DOT PY

A scraper for the Pulitzer site's JSON. Generates a CSV of winners.

Installation and usage

mkvirtualenv pulitzer
pip install -r requirements.txt
python pulitzer.py
@jeremyjbowers
jeremyjbowers / varnish-simple.vcl
Created December 31, 2011 04:59
A simple Varnish configuration file.
/*
*
* First, set up a backend to answer the request if there's not a cache hit.
*
*/
backend default {
# Set a host.
.host = "192.168.1.100";
@jeremyjbowers
jeremyjbowers / red_velvet_cake.md
Last active March 30, 2022 17:33
Georgia Red Velvet Cake

Red Velvet Cake

Red Velvet cake recipe Red Velvet cake finished

Cake

Ingredients

From original recipe

@jeremyjbowers
jeremyjbowers / actions.py
Created November 24, 2015 21:47
Export to CSV for Django admin
import csv
from django.http import HttpResponse
def export_as_csv_action(description="Export selected objects as CSV file", fields=None, exclude=None, header=True):
"""
This function returns an export csv action
'fields' and 'exclude' work like in django ModelForm
'header' is whether or not to output the column names as the first row
"""
def export_as_csv(modeladmin, request, queryset):
@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.

Ingredients

  • 1 2/3 cups flour
  • 1 teaspoon baking soda
  • ¼ teaspoon baking powder
  • ¾ teaspoon salt
  • ½ teaspoon cinnamon
  • 1/3 cup unsalted butter softened
  • 1 1/3 cups sugar
  • 2 eggs
  • 1 cup pumpkin puree
... In that empire, the art of Cartography reached such perfection that the map of a single province occupied the whole of a city, and the map of th empire took up an entire province. With time, those exaggerated maps no longer satisfied, and the Colleges of Cartographers came up with a map of the empire that had the size of the empire itself, and coincided with it point by point. Less addicted to the study of Cartography, succeeding generations understood that this extended map was useless, and without compassion, they abandoned it to the inclemencies of the sun and of the winters. In the deserts of the west, there remain tattered fragments of the map, inhabited by animals and beggars; in the whole country there are no other relics of the geographical disciplines.