Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jeffwidman's full-sized avatar

Jeff Widman jeffwidman

View GitHub Profile

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@jeffwidman
jeffwidman / app.py
Created June 3, 2016 22:11 — forked from heavenshell/app.py
Flask static file for reproducing https://github.com/pallets/flask/issues/331
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@jeffwidman
jeffwidman / gist:a38865b34b9f9f292dd1
Created February 3, 2016 20:25
github import api returning issue import status url that 404s
# The problem is that from time to time the GitHub issue import API returns a status url for the issue import
# that when I check that status url, I get a 404 response.
# Below is an example of a request/response pair that came back with a status url that 404'd:
# All of these requests use the header = {'Accept': 'application/vnd.github.golden-comet-preview+json'}
# Also I authenticate via my username/personal access token.
# Neither the header nor the auth should pose a problem because it successfuly imports dozens of issues before
# hitting any issues.