Skip to content

Instantly share code, notes, and snippets.

View ryanbehdad's full-sized avatar
🏃‍♂️

Ryan Behdad ryanbehdad

🏃‍♂️
View GitHub Profile
@ryanbehdad
ryanbehdad / decorators.py
Last active August 27, 2020 05:20
Python decorators
import functools
import time
def readable_time(t):
a = ''
if t < 1:
a = f'{t:.2f} sec'
elif t < 60:
a = f'{t:.0f} sec'
elif t < 3600:
@ryanbehdad
ryanbehdad / tech_media.md
Last active July 12, 2019 05:01
Podcasts and Blogs