Skip to content

Instantly share code, notes, and snippets.

View domdavis's full-sized avatar
😖
Code is hard

Dom Davis domdavis

😖
Code is hard
View GitHub Profile
@domdavis
domdavis / opml2md
Last active August 5, 2023 03:08
OPML to Markdown converter, based on https://gist.github.com/alecperkins/5671192 and fixed up to produce a nested list in Markdown.
"""
Based on https://gist.github.com/alecperkins/5671192
$ pip install opml
$ python opml2md.py some_outline.opml
-> some_outline.md
"""
import codecs
import opml
import sys
### Keybase proof
I hereby claim:
* I am domdavis on github.
* I am domdavis (https://keybase.io/domdavis) on keybase.
* I have a public key whose fingerprint is 3EDA D3DA 60D5 FFD7 39C5 49BF 8ACD E64F D06D 16D7
To claim this, I am signing this object:
@domdavis
domdavis / reply.md
Created July 18, 2019 16:11
A template reply to ridiculous email footers

Hi ,

Thank you for your email. We take our responsibilities very seriously and we’re sorry to say the terms of your email have been contravened both by you and by us:

This email has been reproduced and disseminated by servers out of our control when you chose to send it to us. We feel we can’t be held responsible for this.

This email has also been reproduced when it was downloaded to be read. This may have resulted in it being copied multiple times as there may have been multiple devices that received it. Again, we feel we can’t be held responsible for this given we could not be aware that such action would be against the terms of your email.

This email has been reproduced in order to reply to you. We’re assuming tacit agreement here, but you clearly state “express permission”. Since there have already been a number of transgressions we feel that in for a penny, in for a pound, but we do find it interesting that you would hamstring people from replying to an email that otherwise invites