Skip to content

Instantly share code, notes, and snippets.

View myint's full-sized avatar

Steven Myint myint

  • Pasadena, CA, USA
View GitHub Profile
myint / pptx-to-text
Last active June 19, 2024 09:25
Outputs XML content of PowerPoint slides for use by "git diff"
#!/usr/bin/env python
"""Outputs XML content of PowerPoint slides.
See the following for how to make "git diff" work with PowerPoint files.
In "~/.gitconfig", append:
[diff "pptx"]
textconv = pptx-to-text
""" codecs -- Python Codec Registry, API and helpers.
Written by Marc-Andre Lemburg (
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
import builtins, sys
myint / pyflakes.json
Last active May 24, 2017 02:41
Issues in Pyflakes Launchpad
"status": "Fix Released",
"security_related": false,
"description": "Running pyflakes on this file I get\n\nTraceback (most recent call last):\n File \"bin/pyflakes\", line 3, in <module>\n main()\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/\", line 172, in main\n warnings = checkRecursive(args, reporter)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/\", line 129, in checkRecursive\n warnings += checkPath(sourcePath, reporter)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/\", line 96, in checkPath\n return check(codestr, filename, reporter)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/\", line 57, in check\n w = checker.Checker(tree, filename)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/\", line 295, in __init__\n self.runDeferred(self._deferredFunctions)\n File \"/Users/aaronmeurer/Docu