Skip to content

Instantly share code, notes, and snippets.


Andrew Jaffe defjaf

View GitHub Profile
defjaf /
Last active Apr 2, 2020 — forked from serafeimgr/
A python script to upgrade all outdated python packages.
#!/usr/bin/env python2
This script upgrades all outdated python packages.
## based on
## __author__ = "serafeimgr"
## modified by AHJ to allow different pip executables (pip2, pip3, etc)
## do we really want to do this with multiprocessing, or just a single giant call to pip?
## does the parsing really work given the new-style headers in the formatting?
## -- no: needed to add --format legacy; could also use freeze (split with "==")
defjaf / json_feed.mtml
Last active Feb 5, 2019 — forked from walt/json_feed.mtml
JSON Feed template for Movable Type
View json_feed.mtml
"version": "",
"title": "<$mt:BlogName smarty_pants="1" remove_html="1" escape_for_json="1"$>",
"home_page_url": "<$mt:BlogURL$>",
"feed_url": "<$mt:BlogURL$>feed.json",
"description": "<$mt:BlogDescription smarty_pants="1" remove_html="1" escape_for_json="1"$>",
"favicon": "<$mt:BlogURL$>favicon.ico",
"items": [
<mt:Entries lastn="5">
View feedly-fe04410b-8072-4c43-880f-65a3ff1e3adb-2019-04-10.opml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Feed Curator -->
<opml version="1.1">
<title>Andrew subscriptions in feedly Cloud</title>
<outline text="Krugman" title="Krugman">
<outline text="Paul Krugman" title="Paul Krugman" description="" type="rss" version="RSS" htmlUrl="" xmlUrl=""/>
You can’t perform that action at this time.