I hereby claim:
- I am lost-theory on github.
- I am stevek (https://keybase.io/stevek) on keybase.
- I have a public key whose fingerprint is D95C DED5 B2FE 16BF 8D7C 2CAF F3AE 0B74 973D 230D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Downloaded Miniconda installer from here:
http://conda.pydata.org/miniconda.html
In a terminal:
$ sh ./Downloads/Miniconda-latest-MacOSX-x86_64.sh
Enter (read license agreement)
yes (accept license agreement)
Enter (use default installation location)
| $ find . -type f -name "*.py" | |
| ./setup.py | |
| ./mypkg/__init__.py | |
| ./mypkg/config.py | |
| ./mypkg/shapes/__init__.py | |
| ./mypkg/shapes/square.py | |
| $ find . -type f -name "*.py" | xargs head -n999 | |
| ==> ./setup.py <== | |
| from setuptools import setup, find_packages |
| import yaml | |
| tree = yaml.load(''' | |
| --- | |
| - folder1 | |
| - folder2: | |
| - subfolder1: | |
| - deepfolder1 | |
| - subolder2 | |
| - folder3 |
| import os | |
| from flask import Flask, Blueprint, g | |
| api = Blueprint('api', __name__) | |
| class Server(object): | |
| def __init__(self, data): | |
| self.data = data |
I hereby claim:
To claim this, I am signing this object:
| >>> orange_vit_c = "78 mg, 130%" | |
| >>> orange_vit_c = (78, 130) #mg, % | |
| >>> tablet_vit_c = (250, 416) | |
| >>> 250/78.0 | |
| 3.2051282051282053 | |
| >>> 416/130. | |
| 3.2 | |
| >>> drink_vit_c = (None, 1500) | |
| >>> rda_vit_c = (90, 100) | |
| >>> #i've eaten 1500 + (416*3) percentage points of Vitamin C |
| from datetime import datetime | |
| import logging | |
| logging.basicConfig(level=logging.DEBUG) | |
| from redis import Redis | |
| from rq_scheduler import Scheduler | |
| from rq_scheduler.utils import to_unix | |
| class CustomRQScheduler(Scheduler): |