I hereby claim:
- I am devotox on github.
- I am dtox (https://keybase.io/dtox) on keybase.
- I have a public key ASAF403OlS8hip1EaVEIyBGOASW6pkgX6hW7PYYjpPFmsgo
To claim this, I am signing this object:
| (function ($, window, undefined) { | |
| $.fn.extend({ | |
| check2: function(option){ | |
| option = option || 'create'; | |
| var conf = { | |
| check2Class: 'check2', | |
| offscreenClass: 'offscreen', | |
| fontSize: '1.2em' | |
| }; |
| # Aliases to common git methods | |
| function gs; git status --short $argv; end; | |
| function gd; git diff --color $argv; end; | |
| function gf; git fetch -p; end; | |
| function gpl; git pull $argv; end; | |
| function gps; git push $argv; end; | |
| function gch; git checkout $argv; end; | |
| function gb; git branch $argv; end; | |
| function ga; git add $argv; end; | |
| function gco; git commit -m $argv; end; |
| (function () { | |
| 'use strict'; | |
| var cluster = require('cluster'), | |
| http = require('http'), | |
| os = require('os'), | |
| /* | |
| * ClusterServer object |
| function () { | |
| 'use strict'; | |
| var cluster = require('cluster'), | |
| http = require('http'), | |
| os = require('os'), | |
| ClusterServer, |
| (function () { | |
| 'use strict'; | |
| var cluster = require('cluster'), | |
| http = require('http'), | |
| os = require('os'), | |
| ClusterServer, | |
| workers = {}; | |
| /* |
| #!/usr/bin/env bash | |
| # names of latest versions of each package | |
| export VERSION_PCRE=pcre-8.38 | |
| export VERSION_OPENSSL=openssl-1.0.2f | |
| export VERSION_NGINX=nginx-1.9.10 | |
| # URLs to the source directories | |
| export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
| export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
| import Adapter from "ember-data/adapters/json-api"; | |
| export default Adapter.extend({ | |
| urlForQueryRecord({ slug }, modelName) { | |
| if (slug) { | |
| return this.urlForFindRecord(slug, modelName); | |
| } | |
| return this._super(...arguments); |
I hereby claim:
To claim this, I am signing this object:
This shows the steps needed to get Ember Simple Auth to work with Ember Engines as if they are the same application
Things to note
transitionToExternal('login')in /app/app.js add to const engines object { [Engine Name]: dependencies }
| // ember-cli-fastboot/index.js | |
| let fastbootMiddleware = FastBootExpressMiddleware({ | |
| + onVisit: fastbootConfig.onVisit, | |
| fastboot: this.fastboot | |
| }); | |
| // fastboot-express-middleware/src/index.js | |
| function fastbootExpressMiddleware(distPath, options) { | |
| return function(req, res, next) { |