Skip to content

Instantly share code, notes, and snippets.

View manfre's full-sized avatar

Michael Manfre manfre

View GitHub Profile
@manfre
manfre / gist:4502333
Last active December 10, 2015 22:28 — forked from Pharylon/gist:4502183
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
@manfre
manfre / check_for_updates.py
Created November 14, 2011 16:21 — forked from zyegfryed/check_for_updates.py
Check locally installed packages against one or more package indexes for updates and list them. Using subprocess instead of stdout (wasn't working on my MacPython 2.6.1). Removed curses dependency to allow it to work on windows.
#!/usr/bin/env python
"""
Use pip to get a list of local packages to check against one or more package
indexes for updated versions.
"""
import sys
import xmlrpclib
import subprocess
from distutils.version import StrictVersion, LooseVersion