Skip to content

Instantly share code, notes, and snippets.

View etano's full-sized avatar

Ethan Brown etano

View GitHub Profile
#!/usr/bin/env python3
# File generated by pre-commit: https://pre-commit.com
# ID: 138fd403232d2ddd5efb44317e38bf03
import os
import sys
import urllib.request
# we try our best, but the shebang of this script is difficult to determine:
# - macos doesn't ship with python3
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.3
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
additional_dependencies: [toml]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parantheses = true
line_length = 120
lines_after_imports = 2
[tool.black]
line-length = 120
@etano
etano / service0.py
Created October 24, 2017 15:16
Demo Flask services with Jaeger
from flask import Flask
from flask_opentracing import FlaskTracer
from jaeger_client import Config
import opentracing
import time
import urllib2
app = Flask(__name__)
# one-time tracer initialization code
@etano
etano / keybase.md
Last active August 29, 2015 14:10
keybase.md

Keybase proof

I hereby claim:

  • I am etano on github.
  • I am ebrown (https://keybase.io/ebrown) on keybase.
  • I have a public key whose fingerprint is BC3E FECD 4381 CF7A 5656 33C7 2119 4F79 686D 6197

To claim this, I am signing this object: