- combine the todo list with the calendar and notes
- on a given day i can go back and see the todo list items i completed as well as any notes i made for that day and my todo list moves forward with me
- so every day i see my up to date to do list
- whenever i check something off the list it logs it as done on that day and removes it from my list
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
now: Ember.computed(function() { | |
return new Date(); | |
}), | |
actions: { | |
updateNow() { |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
model: null, | |
parent: null, | |
init() { | |
this._super(...arguments); | |
if (this.get('parent')) { | |
this.get('parent').register(this); |
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
// app/models/node.js | |
export default Model.extend({ | |
sourceNodes: hasMany('node', { inverse: 'destinationNodes' }), | |
destinationNodes: hasMany('node', { inverse: 'sourceNodes' }), | |
destinationNodeOrder: attr('array') // custom transform, manually set in serializer | |
}); |
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
Right before your first Emberconf talk you blogged about your struggles with imposter syndrome. Since that first talk you've hit the bigtime within the Ember community - anytime you post something everyone is raving about it (and for good reason!). How has this popularity and praise affected your imposter syndrome? |
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 Blueprint = require('ember-cli/lib/models/blueprint'); | |
var blueprints = [ 'route', 'route-test', 'component', 'component-test' ].map(function(name) { | |
return Blueprint.lookup(name); | |
}); | |
| |
/*jshint node:true*/ | |
module.exports = { | |
description: 'Generates a glimmer-component style route', | |
| |
beforeInstall: function(options) { |
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
import { moduleFor, test } from 'ember-qunit'; | |
moduleFor('adapter:email-template-link', 'Unit | Adapter | email template link', { | |
// Specify the other units that are required for this test. | |
// needs: ['serializer:foo'] | |
beforeEach: function() { | |
const payload = { | |
"email_templates": [{ | |
"id": "6", | |
"name": "Drip Marketing - Scoring and Nurturing Whitepaper", |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'SPIKE: Object Factory' | |
}); |
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
public override void Configure(Container container) | |
{ | |
// other stuff omitted for brevity | |
// caching | |
container.Register<ICacheClient>(new MemoryCacheClient()); | |
// Form based credentials authentication | |
this.Plugins.Add(new AuthFeature(() => new CustomAuthUserSession(), | |
new IAuthProvider[] { | |
// more providers can be added here as required |