Skip to content

Instantly share code, notes, and snippets.

Brent Tubbs btubbs

Block or report user

Report or block btubbs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am btubbs on github.
  • I am btubbs (https://keybase.io/btubbs) on keybase.
  • I have a public key ASCU43mYG7sqfx0RVxoJ8gjyz87lKgcisv37yaefD9AU2wo

To claim this, I am signing this object:

@btubbs
btubbs / Makefile
Created Apr 9, 2015
Makefile for Mettle, a soon-to-be-open-sourced system for executing and monitoring ETL jobs. It integrates the installation of dependencies from pip, npm, and bower, and handles compiling React's JSX code into JS. There are also helpers for the system's Postgres and RabbitMQ backends.
View Makefile
.PHONY: dbsetup clean_files clean_rabbit clean migrate dev js
# Both Python and Node programs will be put here.
BIN=$(shell dirname `which python`)
STATIC_DIR=mettle/static
JSX_DIR=$(STATIC_DIR)/jsx
# Our React components have dependencies on each other. This ordering is important.
JSX_MODULES=jobs targets runs pipelines services app
JSX_TARGETS=$(foreach module,$(JSX_MODULES),$(JSX_DIR)/$(module).js)
View gist:92010354170044faf11a
# -*- coding: utf-8 -*-
"""
webzeug.py
Adapted from Armin Ronacher's "webpylike".
See https://github.com/mitsuhiko/werkzeug/blob/master/examples/webpylike/webpylike.py
With this, an application can look like this:
from webzeug import App, Request, Response, View
You can’t perform that action at this time.