Skip to content

Instantly share code, notes, and snippets.

View jfrobbins's full-sized avatar

Jon Robbins jfrobbins

  • NC
  • 06:42 (UTC -05:00)
View GitHub Profile
@jfrobbins
jfrobbins / pump_sub_list.py
Last active December 19, 2015 16:39
follow a list of line delimited users (ie. dianara followers export)
#! /usr/bin/env python3
import sys
import os
import subprocess
from time import sleep
'''
This is a hack that lets you sub to a bunch of users that are line-delimited in a file.
The Dianara client currently can export such a list.
@jfrobbins
jfrobbins / pumpstats
Created June 25, 2013 14:41
simple way to post gitstats summary to a pump.io server
#! /usr/bin/env python
import sys
import os
import subprocess
def getNoteText(fileText):
for line in fileText:
if line.find("<dl><dt>") >= 0: