Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tomatohater's full-sized avatar

Drew Engelson tomatohater

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tomatohater on github.
  • I am tomatohater (https://keybase.io/tomatohater) on keybase.
  • I have a public key whose fingerprint is 2CFD 783F A6F7 697C B0B2 5AFB 1F68 4962 891C 536D

To claim this, I am signing this object:

@tomatohater
tomatohater / vimdeck2pptx.py
Last active May 23, 2016 14:57
My dorky colleague created a presentation using vimdeck. The very last thing he would want to see is it as a real PowerPoint deck. So here you go...
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import sys
from cStringIO import StringIO
from argparse import ArgumentParser
from pptx import Presentation
from pptx.enum.shapes import MSO_SHAPE
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+WUSECNiHymSaVgYGcea+kAyl66ManeGLzJ5QgoN4QeLXdo/xrinOn6qe6zSRXZxeIzBO7giyxfsVI9zvluGMgyUYvNyhTvgi6ty3oL2LnArvlAHgVSC+agIF8zPQEHdWgXS7OerVdFN3DdrHbc4SBGP9sI+ukr9U2GtHMzvPLB7G06+0cOOFF6mAJcpr9PUNIz2QxoXBAwFCiDTkjII75xc08I5nFLno9/9Z9gmb1NnrbDmaAXmA4IhZ/PNebw8nxdvydfj9vkkqEgG1wgYNTTRzMsJKs2Kf9eV3btOWZQIjW1XHjURbdhqrJpgXqIHj6kH+MNUtdfyRo9xwl8tvtGbSjqo9vUaCRYUyERtVi0YnJuUKWIFrFlpl3BQdLZ3TzpoNj5P0d2rSjtDx/POdA1LLlIY0ez+i+vfhJSww8PRQNmxNGVWPBdhicb5UmtOjt0a2UP9KNNFJEU55Sj8OjydoevahuLB8me7JP5gTXg3cvXFqFYSRaT5eV2ngNcvNPDMHs4m7Dt8D61jLdpKecKhVBVKY0/TJB1Hn0Gjj5BLEv0rP8LgIwiTvAPQgO8PoeDGvdCaR1ywgh0EqlPqlo1I7TI22WNbCZF/NsrxT3IKeBA6BJmLQwJx8wUDz8LzlQ7aHQPt17gc592flZI8D7kKBYOLeM0tDsQDMqcKXBQ== drew@engelson.net
@tomatohater
tomatohater / parsehar.py
Last active October 26, 2023 10:30
parsehar.py - Reads a har file from the filesystem, converts to CSV, then dumps to stdout.
"""Reads a har file from the filesystem, converts to CSV, then dumps to
stdout.
"""
import argparse
import json
from urlparse import urlparse
def main(harfile_path):
"""Reads a har file from the filesystem, converts to CSV, then dumps to