Skip to content

Instantly share code, notes, and snippets.

"""
Install:
sudo pip install praw
git clone https://github.com/PurelyApplied/roll_one_for_me
cd roll_one_for_me
wget https://gist.githubusercontent.com/whutch/418cd6a7d8048b3ec2bcdc13a59133c6/raw/roll.py
Example usage:
@whutch
whutch / hidespace.py
Last active February 12, 2018 23:42
Hide/find messages hidden in text indentation.
#!/usr/bin/env python
"""Hide/find messages hidden in text indentation."""
import argparse
from collections import deque
import os
from os.path import exists
# Command line parsing stuff.
PARSER = argparse.ArgumentParser(description="Hide/find messages hidden in text indentation.")