- Go package
- Ruby: script for caching a user's submissions on disk
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
function extend(base) { | |
var parts = Array.prototype.slice.call(arguments, 1); | |
parts.forEach(function (p) { | |
if (p && typeof (p) === 'object') { | |
for (var k in p) { | |
if (p.hasOwnProperty(k)) { | |
base[k] = p[k]; | |
} | |
} | |
} |
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
function* zip(...iterables) { | |
let iterators = iterables.map(i => i[Symbol.iterator]()); | |
while (true) { | |
let entries = iterators.map(i => i.next()); | |
let done = entries.some(entry => entry.done); | |
if (done) break; | |
yield entries.map(e => e.value); | |
} | |
} |
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
// Require the version of Rx you want to use (_esm5 or _esm2015) | |
const rxPaths = require('rxjs/_esm5/path-mapping'); | |
var config = { | |
// Other config options... | |
resolve: { | |
extensions: [".ts", ".js"], | |
modules: [path.resolve('./src'), 'node_modules'], | |
// Use the "alias" key to resolve to an ESM distribution |
#Hello!
##I wanted to throw out an example of using Ember, Ember CLI, Emberfire, Firebase, Firebase Simple Login to set up authenticiation, and redirecting.
A couple of setup tasks:
- Assuming you already have Ember CLI and have basic knowledge of Ember and Firebase
- npm install --save emberfire
- bower install --save emberfire
- bower install --save-dev firebase-simple-login
And add "app.import('vendor/firebase-simple-login/firebase-simple-login.js'); " to your Brocfile.js
NewerOlder