Skip to content

Instantly share code, notes, and snippets.

Owen Bowers Adams obowersa

Block or report user

Report or block obowersa

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
obowersa /
Last active Dec 6, 2018
from flask import Flask, current_app
#Import Namespace from blinker, use this as your custom namespace for signals. You can change this but most folk
#just use the provided one.
from blinker import Namespace
#Just some flask boiler plate
app = Flask(__name__)
app.secret_key = 'DND'
View mill.txt
Mil Millington <>
Wed, Mar 24, 2010, 10:24 PM
to me
As the Internet revels in speed and topicality, I thought I'd tell you something that happened at Christmas. It's rather a long story, so those of you who don't want to spend quite a significant amount of time hearing about the trouble caused by the pants I bought my girlfriend when you have work you should be doing ought to stop reading now. And also unsubscribe - because, if you're anxious to do the job you're being paid for rather than read about pant-related problems, then you are *seriously* on the wrong list.
OK, let's get to it. A couple of you might recall that my girlfriend, Margret, is German. When I met her (I'll say 'met', even if a better word is 'rescued'), she, like all German women of her generation, had no interest in pants. This was only partly because she spent a good proportion of her time entirely naked. Mostly, it was because German women back then dressed purely functionally; Marg
View javascript-webserver-database
var http = require('http');
var mysql = require('mysql');
var connection = mysql.createConnection({
host: 'localhost',
user: 'root',
database: 'node'
console.log('MySQL Connection details '+connection);
View example
stack_tags = [{
:Key =>'environment',
:Value => config.environment,
:Key =>'project',
:Value => config.get_item('project')
View git-lwb
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(authorname) %(refname:short)'
You can’t perform that action at this time.