I hereby claim:
- I am lettertwo on github.
- I am lettertwo (https://keybase.io/lettertwo) on keybase.
- I have a public key whose fingerprint is A847 07CA 5BDE 19DD 577D 980F 9BAF 835E 8C44 D70C
To claim this, I am signing this object:
import os, os.path | |
import sys | |
# Unless your project is already on your PYTHONPATH by default, you need to add it: | |
# project_directory should point to your project's parent directory. | |
project_directory = os.path.join(os.path.dirname(__file__), '..') | |
if project_directory not in sys.path: | |
sys.path.append(project_directory); | |
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' |
# Detect which mode the wsgi module is in. | |
# Uncomment this to see whether or not the wsgi module is in daemon mode, which is necessary for the monitor. | |
def application(environ, start_response): | |
status = '200 OK' | |
if not environ['mod_wsgi.process_group']: | |
output = 'EMBEDDED MODE' | |
else: | |
output = 'DAEMON MODE' |
from django.template import Library | |
from django.templatetags.future import URLNode, url | |
register = Library() | |
class AbsoluteURLNode(URLNode): | |
def __init__(self, view_name, args, kwargs, asvar, legacy_view_name=True): | |
super(AbsoluteURLNode, self).__init__(view_name, | |
args, | |
kwargs, |
<html> | |
<head> | |
<style type="text/css" media="screen"> | |
.spacer { | |
display: block; | |
height: 1600px; | |
} | |
.block { | |
display: block; |
// This is our entry point. | |
// We use `require.ensure` to tell webpack to generate a chunk that bundles `B.js` | |
require.ensure(['./B'], function (require) { | |
require('./B'); | |
}); |
I hereby claim:
To claim this, I am signing this object:
path = require 'path' | |
webpack = require 'webpack' | |
fs = require 'fs' | |
ExtractTextPlugin = require 'extract-text-webpack-plugin' | |
ProgressPlugin = require 'webpack/lib/ProgressPlugin' | |
flag = require 'node-env-flag' | |
settings = require './src/settings' | |
scriptExportsLoader = path.join __dirname, 'script-exports-loader' |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |