Other articles

  1. ssh and Raspberry Pi

    Many years ago I got an early version of the Raspberry Pi. I fiddled with it a bit but didn't do much with it. A few months ago I decided to buy a newer version to have a mini computer I could use for a specific web scraping project I …

    read more
  2. Subtotals and Grouping with Pandas

    For a long time, I've had this hobby project exploring Philadelphia City Council election data. I've learned no agency has this data collected or maintained in a consistent, normalized manner. From election to election, vote counts are presented in different ways (as explored in this blog post), candidate names are …

    read more
  3. Looping through Python command line arguments

    I have a Python script that does some image manipulation and outputs a new file. From the command line, it takes two arguments, the old file and new file:

    python image_converter.py oldfile.jpg newfile.jpg

    I wanted to run this over a bunch of files, and used this bash …

    read more
  4. Making files by the batch

    I had a list of names and I wanted to create an empty file with each of those names.

    First I saved my list of names to a file with the .md extension since they were all going to be markdown files.


    hillary.md …
    read more
  5. Not Hamburger Helper

    I grew up on food like Hamburger Helper (yes, that boxed mix that you mix with ground beef and water). I think that this recipe from Simply Recipes was inspired by the same thing. I've adapted this recipe here.

    Serves 4.

    • 3/4 lb. ground beef
    • 1 medium onion, diced …
    read more
  6. Stashing revisions in Git

    Tue 22 November 2016 | tags: git |

    Sometimes I'll be working on a project, having moved along a few steps from my last commit, only to remember there was something else I wnated to do before the point I'm at now. Since the point I'm at now isn't really ready for a commit, I don't want to …

    read more
  7. Django Databases and Date Ranges

    I'm continuing to work on my project analyzing data about Philadelphia City Council - elections, demographics, terms of service, etc., even as heartbroken and terrified I am about the recent Presidential election. A very crude version of this project is here. A big thing that this never did was to look …

    read more
  8. Jupyter Notebook and the Django shell

    I've been working on a project analyzing data about Philadelphia City Council - elections, demographics, terms of service, etc. A very crude version of this project is here. I want to make this more robust, and a big part of doing so includes playing with code. One of my favorite ways …

    read more
  9. Grilled ahi steaks with cilantro pesto

    Another old printout of an old recipe my husband wanted to keep. This one is from Mark Bittman.

    • 1 cup loosely packed cilantro leaves
    • 2 cloves garlic, peeled
    • 2 tsp kosher salt
    • 1/2 cup olive oil
    • Juice of 1/2 lime
    • Ground black pepper to taste
    • 1 tuna steak …
    read more

Page 1 / 4 »