Skip to content

Instantly share code, notes, and snippets.

Matthew Tschiegg tschieggm

  • Google
  • Boston MA
Block or report user

Report or block tschieggm

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 angular-example.html
<!-- this breaks -->
<div class="row-fluid">
<sd:directive ng-repeat="x in list" param="x" />
<!-- one working alternative -->

This is an anti-pattern explicitly called out in the SqlAlchemy documents.

From the docs

 ### this is the **wrong way to do it** ###

class ThingOne(object):
    def go(self):
        session = Session()
tschieggm /
Created Nov 22, 2013
Stackdriver webhook server example
import string
import sys
import logging
import json
from flask import Flask
from flask import Response, request
logger = logging.getLogger(__name__)"Stackdriver webhook-sample starting up on %s" % (string.replace(sys.version, '\n', ' ')))
tschieggm / app-start.js
Created Sep 5, 2012
Trying to learn Marionette
View app-start.js
(function (app, $, backbone, marionette, options, undefined) {
app = new marionette.Application();
app.addInitializer(function () {
app.Log("configuring marionette template compiler");
marionette.TemplateCache.prototype.compileTemplate = function (rawTemplate) {
return Hogan.compile(rawTemplate);
You can’t perform that action at this time.