Skip to content

Instantly share code, notes, and snippets.

View notconfusing's full-sized avatar

Max Klein notconfusing

View GitHub Profile
@notconfusing
notconfusing / rtm2todoist.py
Last active March 11, 2023 20:10 — forked from konnov/rtm2todoist.py
Converting Remember-the-milk tasks (ICS) to a Todoist template (CSV)
#!/usr/bin/env python
# coding: utf-8
# whereas the original rtm2todoist.py[1] worked off the .ics export, this version uses the more modern .json export
# [1] https://gist.github.com/notconfusing/68c84868098dcaa04e44522bebb77638
import json
import pandas as pd
import datetime
var socket = io.connect('stream.wikimedia.org/rc');
printPlainObj({
'event': 'connect',
'messsage': 'Connecting to stream.wikimedia.org...'
});
socket.on('connect', function () {
printPlainObj({
'event': 'connect',
'messsage': 'Connection established!'