- Go to Google Docs and create your spreadsheet
- Give column names and make note of them as they become the names of your input fields
- Give the spreadsheet the tab name of "DATA"
- Click Tools > Script Editor
- Choose 'Spreadsheet' under 'Create Script for'
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
/* global window */ | |
var React = require('react/addons'); | |
var ReactRouter = require('react-router'); | |
var Routes = require('./Routes.react'); | |
var MeStore = require('../../stores/Me'); | |
var MeActions = require('../../actions/Me'); | |
var RedirectActions = require('../../actions/Redirect'); | |
var HistoryLocation = ReactRouter.HistoryLocation; |
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
define(function () { | |
'use strict'; | |
var _ = require('underscore'); | |
var EDITABLE_STATE = 'editable', | |
SUBMITTING_STATE = 'submitting', | |
SUBMITTED_STATE = 'submitted'; |
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
define(function () { | |
'use strict'; | |
var _ = require('underscore'); | |
var ValidationMixin = { | |
getInitialState: function () { | |
return { | |
errors: [] |
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
// Usage example: | |
// | |
// willTransitionTo(transition, params) { | |
// transition.wait( | |
// observeStore( | |
// DraftStore, | |
// s => s.isLoaded() | |
// ).then(() => { | |
// if (DraftStore.isMissingTitle()) { | |
// transition.redirect('composeDraft', params); |
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
/** @jsx React.DOM */ | |
'use strict'; | |
var React = require('react'), | |
Spinner = require('../atoms/Spinner'); | |
function createAsyncPage(handlerPromiseFactory, displayName) { | |
var cachedHandler = null; | |
return React.createClass({ |
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
define(function () { | |
'use strict'; | |
var _ = require('underscore'); | |
var ValidationMixin = { | |
getInitialState: function () { | |
return { | |
errors: [] |
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
/** @jsx React.DOM */ | |
/* jshint trailing:false, quotmark:false, newcap:false */ | |
define(function (require) { | |
'use strict'; | |
var React = require('react'), | |
Promise = require('bluebird'), | |
$ = require('jquery'); |
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
//app.js Socket IO Test | |
var app = require('express').createServer(), | |
redis = require('socket.io/node_modules/redis'), | |
io = require('socket.io').listen(app); | |
var pub = redis.createClient(port, "url"); | |
var sub = redis.createClient(port, "url"); | |
var store = redis.createClient(port, "url"); | |
pub.auth('pass', function(){console.log("adentro! pub")}); | |
sub.auth('pass', function(){console.log("adentro! sub")}); |