This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/srv/ss/repo/src/.production_env/local/lib/python2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/srv/ss/repo/src/.production_env/local/lib/python2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/srv/ss/repo/src/.production_env/local/lib/python2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/base.py", line 224, in handle_uncaught_exception | |
if resolver.urlconf_module is None: | |
File "/srv/ss/repo/src/.production_env/local/lib/python2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/urlresolvers.py", line 323, in urlconf_module | |
self._urlconf_module = import_module(self.urlconf_name) | |
File "/srv/ss/repo/src/.production_env/local/lib/python2.7/site-packages/Django-1.4.1-py2.7.egg/django/utils/importlib.py", line 35, i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs = require 'fs' | |
path = require 'path' | |
mm = require 'minimatch' | |
wrench = require 'wrench' | |
coffee = require 'coffee-script' | |
module.exports = (grunt) -> | |
grunt.initConfig { | |
loader: | |
desktopClient: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.db = new JohoDB "testDB", 20 | |
db.addSchema 'Household', { | |
id: {type: "int", primaryKey: true, autoIncrement: true} | |
address: {type: "string", required: true} | |
suburb: {type: "string", required: true} | |
postCode: {type: "string", required: true} | |
} | |
db.addSchema 'People', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start a new database with name "testDB" and version 20 | |
window.db = new JohoDB "testDB", 20 | |
# Define the database schema, early days so the relations don't do anything yet, but I'm getting there. | |
db.addSchema 'Household', { | |
id: {type: "int", primaryKey: true, autoIncrement: true} | |
address: {type: "string", required: true} | |
suburb: {type: "string", required: true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.db = new JohoDB "testDB", 20 | |
db.addSchema 'Household', { | |
id: {type: "string", primaryKey: true, autoHash: true} | |
address: {type: "string", required: true} | |
suburb: {type: "string", required: true} | |
postCode: {type: "string", required: true} | |
} | |
db.addSchema 'People', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.db = new JohoDB "testDB", 20 | |
db.addSchema 'Household', { | |
id: {type: "string", primaryKey: true, autoHash: true} | |
address: {type: "string", required: true} | |
suburb: {type: "string", required: true} | |
postCode: {type: "string", required: true} | |
} | |
db.addSchema 'People', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So, I'm gonna make a book. It's gonna start off as a document in sphinx-doc, so I just | |
publish as a flat file HTML, and then maybe figure out funding it if there's enough | |
interest in the output. The subject of the book would be an open source project that can | |
be completely viewed on it's own, and the idea is that the book would go through the | |
technologies involved, the decision process, and how it's all structured together to | |
build a self sufficient Frontend client. | |
Key ideas are a structure of modular components, that means when you end up with shit | |
going out of date, you don't have to change everything to adapt. Give new technology |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Introspect = require('../../utils/Introspect'); | |
var updateAttr = Introspect.updateAttr; | |
var addToUpdate = Introspect.addToUpdate; | |
var getAttr = Introspect.getAttr; | |
var FormStateView = React.createClass({ | |
mixins: [FormMixin], | |
getInitialState: function() { | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///<reference path="../typedefs/node.d.ts"/> | |
///<reference path="../typedefs/bluebird.d.ts"/> | |
///<reference path="../typedefs/lodash.d.ts"/> | |
declare var describe, it, before; // Mocha injections. | |
import SwiftCheck = require('../src/SwiftCheck'); | |
var domino = require('domino'); | |
// DOM must be created prior to including React | |
global.window = domino.createWindow("<html><head></head><body></body></html>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
postcss = require "postcss" | |
fs = require 'fs' | |
{Png} = require "png" | |
{Buffer} = require "buffer" | |
makePng = (r, g, b, a) -> | |
WIDTH = 64 | |
HEIGHT = 64 | |
alpha255 = 0xff * a |
OlderNewer