I hereby claim:
- I am blaflamme on github.
- I am blaflamme (https://keybase.io/blaflamme) on keybase.
- I have a public key ASA7RBgK9-bcLsPjAOKdF4jpvVhHd-Iocme6ietuECjAcQo
To claim this, I am signing this object:
| # Add and use Pylons theme | |
| from subprocess import call, Popen, PIPE | |
| p = Popen('which git', shell=True, stdout=PIPE) | |
| git = p.stdout.read().strip() | |
| cwd = os.getcwd() | |
| _themes = os.path.join(cwd, '_themes') | |
| if not os.path.isdir(_themes): | |
| call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git', |
I hereby claim:
To claim this, I am signing this object:
| from __future__ import unicode_literals | |
| from itertools import ifilter | |
| from pyramid.config import Configurator | |
| from pyramid.response import Response | |
| from pyramid.view import view_config, view_defaults | |
| from wsgiref.simple_server import make_server |
| from __future__ import unicode_literals | |
| from itertools import ifilter | |
| from pyramid.config import Configurator | |
| from pyramid.response import Response | |
| from pyramid.view import view_config, view_defaults | |
| from wsgiref.simple_server import make_server |
| # -*- coding: utf-8 -*- | |
| from pyramid.interfaces import IRequest | |
| from pyramid.settings import asbool | |
| try: | |
| import pyramid_services | |
| except: | |
| pyramid_services = None |
| # -*- coding: utf-8 -*- | |
| from sqlalchemy import engine_from_config | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.orm import sessionmaker | |
| from zope.sqlalchemy import register | |
| Base = declarative_base() |
| # -*- coding: utf-8 -*- | |
| from sqlalchemy import engine_from_config | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.orm import sessionmaker | |
| from zope.sqlalchemy import register | |
| Base = declarative_base() |
| # file.path = '/a/apth/to/a/file' | |
| # file.filename = 'something.jpg' | |
| response = FileResponse(file.path) | |
| response.content_disposition = 'attachment;filename="{}"'.format(file.filename) | |
| return response |
| var path = require('path'); | |
| var webpack = require('webpack'); | |
| var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| var SwigWebpackPlugin = require('swig-webpack-plugin'); | |
| var node_modules_dir = path.resolve(__dirname, 'node_modules'); | |
| var vendors_dir = path.resolve(__dirname, 'src/client/vendors'); | |
| var templates = require('./webpack.tmpl.config').templates; | |
| var config = { | |
| addVendor: function (name, path) { |
| Verifying that +blaflamme is my blockchain ID. https://onename.com/blaflamme |