Instantly share code, notes, and snippets.


Downloaded Miniconda installer from here:

In a terminal:

$ sh ./Downloads/
Enter (read license agreement)
yes (accept license agreement)
Enter (use default installation location)
import urllib.parse, urllib.request
URL = ""
$ find . -type f -name "*.py"
$ find . -type f -name "*.py" | xargs head -n999
==> ./ <==
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): = data

Keybase proof

I hereby claim:

  • I am lost-theory on github.
  • I am stevek ( on keybase.
  • I have a public key whose fingerprint is 5393 7141 0A78 7E8A C2B2 6FBC C662 4F35 8456 52AB

To claim this, I am signing this object:

View gist:e90014c1d1d6bcf4ca2c
>>> orange_vit_c = "78 mg, 130%"
>>> orange_vit_c = (78, 130) #mg, %
>>> tablet_vit_c = (250, 416)
>>> 250/78.0
>>> 416/130.
>>> 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
from redis import Redis
from rq_scheduler import Scheduler
from rq_scheduler.utils import to_unix
class CustomRQScheduler(Scheduler):

FutureStack 14 notes

Best talks day 1

  • Taming the Modern Datacenter, Mitchell Hashimoto, Hashicorp
    • look at the future of CM systems using Terraform, moving up a level from managing per-machine resources, enabling Infrastructure as Code for the modern distributed data center (mix of IaaS like AWS/DO, PaaS like Heroku, and SaaS for things like DNS and email); I'm a bit skeptical all the complexity of Terraform is significantly better than a minimal layer of glue code to wire up different APIs together.. still interesting though
  • Towards a Data Driven Product, Techniques and Tools at GitHub, JD Maturen, GitHub
    • covered the basics of data science & analytics, gave some insights into how GitHub does it
  • Understanding Developers in a Post Agile Environment, Ward Cunningham (inventor of wiki), New Relic
    • some interesting ideas on how to become a master engineer, "leveraged activities" vs. normal activities,