Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dowhilegeek on github.
  • I am dowhilegeek ( on keybase.
  • I have a public key ASCUnVEVDklcaxl5NLNPkeIt7i0AiZZ2NDY4dlBZv48ypgo

To claim this, I am signing this object:

DoWhileGeek / uuid
Created January 12, 2016 07:29
A handy command line app for quickly generating uuids.
#!/usr/bin/env python3
from uuid import uuid4
import argparse
import pyperclip
def parse():
parser = argparse.ArgumentParser()
parser.add_argument("-c", "--clipboard", action="store_true", help="store contents in system clipboard")
DoWhileGeek /
Last active October 29, 2015 02:08
Countdown to Star Wars: The Force Awakens
#!/usr/bin/env python
import datetime
def main():
now = datetime.datetime.utcnow()
movie_time = datetime.datetime(2015, month=12, day=18)
days = (movie_time - now).days
DoWhileGeek / woodo
Last active October 16, 2019 15:17
sudo woodo command line script
#!/usr/bin/env python
import os
def main():
if os.geteuid() != 0: # checks if sudo
print("It's a weird tree.")
sudowoodo = """