This file contains hidden or 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
<html> | |
<head> | |
</head> | |
<body> | |
<canvas id="base" width="500" height="500" style="border: 1px solid #444; background: #000;"></canvas> | |
<script> | |
var elem = document.getElementById( 'base' ); | |
var context = elem.getContext( '2d' ); | |
var Sprite = function () { |
This file contains hidden or 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
#!/bin/bash | |
# | |
# For http://stackoverflow.com/questions/6162891/installing-couchdb-in-aws-ec2-free-tier | |
# | |
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance. | |
# It is a modified fork of the original rake script, but does not use rake (just good ol' linux tools) | |
# Based on: http://wiki.apache.org/couchdb/Installing_on_RHEL5 |
This file contains hidden or 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
require.config({ | |
shim: { | |
underscore: { | |
exports: '_' | |
}, | |
backbone: { | |
deps: ["underscore", "jquery"] | |
, exports: "Backbone" | |
} | |
} |
This file contains hidden or 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
({ | |
baseUrl : "./public", | |
dir : "./release", | |
optimize : 'none', | |
inlineText: true, | |
namespace: 'fielddb', | |
skipModuleInsertion: false, | |
mainConfigFile : "public/main_dashboard.js", | |
modules : [ { | |
name : "main_dashboard" |
This file contains hidden or 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
({ | |
baseUrl : "./public", | |
dir : "./release", | |
optimize : 'uglify', | |
uglify: { | |
toplevel: true, | |
ascii_only: true, | |
beautify: true, | |
max_line_length: 1000 | |
}, |
This file contains hidden or 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
({ | |
baseUrl : "./public", | |
dir : "../assets/release", | |
optimize : 'uglify', | |
uglify: { | |
toplevel: true, | |
ascii_only: true, | |
beautify: true, | |
max_line_length: 1000 | |
}, |
This file contains hidden or 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
({ | |
baseUrl : "./public", | |
dir : "./release", | |
optimize : 'uglify', | |
uglify: { | |
toplevel: true, | |
ascii_only: true, | |
beautify: true, | |
max_line_length: 1000 | |
}, |
This file contains hidden or 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
({ | |
baseUrl : "./public", | |
dir : "./activitywidget", | |
optimize : 'uglify', | |
uglify: { | |
toplevel: true, | |
ascii_only: true, | |
beautify: true, | |
max_line_length: 1000 | |
}, |
This file contains hidden or 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
var Corpus = Backbone.Model.extend({ | |
changePouch : function(couchConnection, callback) { | |
this.pouch = Backbone.sync.pouch(couchConnection.pouchname); | |
callback(); | |
}, | |
saveAndInterConnectInApp : function(callback) { | |
callback(); | |
} | |
}); |
This file contains hidden or 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
// Set the RequireJS configuration | |
require.config({ | |
paths : { | |
/* Bootstrap user interface javascript files */ | |
"bootstrap" : "bootstrap/js/bootstrap", | |
"bootstrap-transition" : "bootstrap/js/bootstrap-transition", | |
"bootstrap-alert" : "bootstrap/js/bootstrap-alert", | |
"bootstrap-modal" : "bootstrap/js/bootstrap-modal", | |
"bootstrap-dropdown" : "bootstrap/js/bootstrap-dropdown", | |
"bootstrap-scrollspy" : "bootstrap/js/bootstrap-scrollspy", |
OlderNewer