Skip to content

Instantly share code, notes, and snippets.

View feliciaan's full-sized avatar

Feliciaan De Palmenaer feliciaan

View GitHub Profile
@feliciaan
feliciaan / mbox2gg.py
Created August 4, 2019 22:37 — forked from pecigonzalo/mbox2gg.py
mbox to Google Groups
#! /usr/bin/env python
# Import a mbox file to a Google Group using https://developers.google.com/admin-sdk/groups-migration/index
# You'll need to install https://developers.google.com/api-client-library/python/
# and enable Groups Migration API, read prerequisits of the API SDK
from __future__ import print_function
import mailbox
import StringIO

Keybase proof

I hereby claim:

  • I am feliciaan on github.
  • I am feliciaan (https://keybase.io/feliciaan) on keybase.
  • I have a public key ASA-2vYppzS9KRKQWS_OENqklBxDzn4uDBc5jPGS-HYu1wo

To claim this, I am signing this object:

@feliciaan
feliciaan / slack_delete_files.py
Last active August 29, 2015 14:23
Script to easily delete files on slack through the API
import requests
import sys
import datetime
import time
if len(sys.argv) < 2:
print("Usage: python %s <token>" % sys.argv[0])
sys.exit(2)
else:
print('Deleting all files up to two weeks ago...')