- [1-4] You Don't Know Jack 2015
- [2-8] Fibbage XL
- [3-8 (200)] Drawful
- [2-8 (200)] Word Spud
- [1-100] Lie Swatter
- [2-8 (200)] Fibbage 2
- [2-8 (200)] Earwax
- [2-8 (200)] Bidiots
// Example usage: | |
// Number(5).hundred() // => 500 | |
// Number(3).billion() // => 3000000000 | |
[ | |
['hundred', 1e2], | |
['thousand', 1e3], | |
['million', 1e6], | |
['billion', 1e9], | |
['trillion', 1e12], | |
['quadrillion', 1e15], |
class Pry | |
class Prompt | |
SEPARATOR = "\ue0b0".freeze | |
def self.powerline_prompt(obj, nest_level, pry, wait) | |
[ | |
Pry::Helpers::Text.cyan(" #{pry.input_array.size} "), | |
Pry::Helpers::Text.black_on_blue(SEPARATOR), | |
Pry::Helpers::Text.black_on_blue(" #{Pry.config.prompt_name} "), | |
Pry::Helpers::Text.blue_on_green(SEPARATOR), |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
willRender() { | |
// Set the "categories" property to a JavaScript object | |
// with the category name as the key and the value a list | |
// of products. | |
this.set('categories', { | |
'Bourbons': ['Bulleit', 'Four Roses', 'Woodford Reserve'], | |
'Ryes': ['WhistlePig', 'High West'] |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
init() { | |
this._super(...arguments); | |
this.data = { | |
version: Ember.VERSION | |
}; | |
}, |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
init() { | |
this._super(...arguments); | |
this.data = { | |
version: Ember.VERSION | |
}; | |
}, |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
store: Ember.inject.service(), | |
actions: { | |
create() { | |
this.get('store').createRecord('my-model'); | |
} | |
} | |
}); |
/* | |
Here's a technique I've used for telling my adapter to deal with a nested API | |
resource when there is an ember-data relationship set up from the child to the | |
parent. The below *does* use the private `_buildURL` and is specific to | |
RESTAdapter, but hopefully it might be helpful to you? | |
*/ | |
import DS from 'ember-data'; | |
const { |
Copyright (c) 2016-2017 Elad Shahar and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SO