Skip to content

Instantly share code, notes, and snippets.

import asyncio
import signal
from threading import Thread
import time
from decorators import logger
async def do_some_work(x):
from typing import Any, Dict, NamedTuple, Type
class MyTuple(NamedTuple):
""" Sample tuple class """
name: str
desc: str
def coerce_to_namedtuple(d: Dict[str, Any], T: Type):

Keybase proof

I hereby claim:

  • I am andymitchhank on github.
  • I am andymitchhank ( on keybase.
  • I have a public key ASClT_Y7xYRKrF_NbrH-sUyxNZ_zYxlhBeIUizJsBEvvjwo

To claim this, I am signing this object:

import os
# your xcode project directory
directory = ''
for root, _, files in os.walk(directory):
for f in files:
edited = False
fullpath = os.path.join(root, f)
with open(fullpath, 'r') as open_file: