Skip to content

Instantly share code, notes, and snippets.

View EdwardHinkle's full-sized avatar

Eddie Hinkle EdwardHinkle

View GitHub Profile
import * as request from 'request-promise-native';
import * as moment from 'moment';
import { Promise } from 'es6-promise';
import * as opmlToJSON from 'opml-to-json';
import * as cheerio from 'cheerio';
import * as fs from 'fs';
import * as cron from 'cron';
let requestJar = request.defaults({jar: true});
@EdwardHinkle
EdwardHinkle / overcast-recently-played.py
Created January 9, 2019 21:16 — forked from cleverdevil/overcast-recently-played.py
Fetch recently played episodes from Overcast.fm. WIP.
'''
You'll need to pip install some dependencies:
* python-dateutil
* requests
Also, populate your EMAIL and PASSWORD below.
'''
from xml.etree import ElementTree
@EdwardHinkle
EdwardHinkle / transform.py
Last active March 4, 2018 18:49 — forked from cleverdevil/transform.py
Transform Facebook JSON exports to MF2 JSON
#!/usr/bin/env python
'''
Usage:
./transform <path-to-facebook-export.json>
This will transform everything using granary and then place
individual files into a directory called "mf2."