Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
"""
Convert OPML file exported from Pocketcasts to YAML format used by
the podcasts-plugin in LMS
Usage:
opml2sb.py <opml-file> <lms-basedir>
Example
opml2sb.py podcasts_opml.xml /path/to/lms
@molobrakos
molobrakos / gist:ff1620ce6031c99f120b
Last active January 31, 2018 10:46
using duplicity with hubic to backup home directory on ubuntu linux
# preparations
# ------------
# create a new application in hubic account manager
# visit https://hubic.com/home/browser/account/
# Developers > Add an application
# Name: backup
# Redirection domain: http://localhost/
# copy "Client ID" and "Secret Client", it will be used later
sudo apt-get install librsync-dev libffi-dev python-virtualenv python-swiftclient