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
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 https://github.com/conda/conda/blob/10ac568e39086df377c5f6e7fe4ecc41fda8015f/conda/logic.py 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/api.py\", line 172, in main\n warnings = checkRecursive(args, reporter)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/api.py\", line 129, in checkRecursive\n warnings += checkPath(sourcePath, reporter)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/api.py\", line 96, in checkPath\n return check(codestr, filename, reporter)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/api.py\", line 57, in check\n w = checker.Checker(tree, filename)\n File \"/Users/aaronmeurer/Documents/pyflakes/pyflakes/checker.py\", line 295, in __init__\n self.runDeferred(self._deferredFunctions)\n File \"/Users/aaronmeurer/Docu
""" codecs -- Python Codec Registry, API and helpers.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
"""#"
import builtins, sys
@myint
myint / pptx-to-text
Last active August 6, 2016 13:51
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