Skip to content

Instantly share code, notes, and snippets.

View billybonks's full-sized avatar
💭
qq

Sebastien Stettler billybonks

💭
qq
View GitHub Profile

Keybase proof

I hereby claim:

  • I am billybonks on github.
  • I am billybonks (https://keybase.io/billybonks) on keybase.
  • I have a public key ASBQyTP5ChMX-ua3K_6f3raDpKZGpnnFiTzH6YtTJ3iFEgo

To claim this, I am signing this object:

[ { id: '45', title: '2359: The Haunting Hour' },
{ id: '18', title: '23:59 The Haunting Hour' },
{ id: '30', title: 'Along With The Gods 2' },
{ id: '2', title: 'Along With The Gods: The Last 49 Days' },
{ id: '5', title: 'Alpha' },
{ id: '37', title: 'Alpha' },
{ id: '41', title: 'Ant-Man And The Wasp' },
{ id: '1', title: 'Big Brother' },
{ id: '29', title: 'Big Brother' },
{ id: '59', title: 'Burning' },
@billybonks
billybonks / js
Created August 27, 2018 13:20
possible let
import Helper from 'ember-helper';
export default Helper.extend({
compute(params, hash, options) {
let isBlock = !!options.template.yield;
// when used as a block
if (isBlock) {
options.template.yield(params);
}
semantic-dom-selectors -----> ember-semantic-test-helpers
          |                           |
          |                           |
          |                           |   
      qunit-semantic-assertions ------
          |
          |
          |
 qunit-dom
class BaseClass {
static baseMethod () { console.log("Hello from baseMethod"); }
}
class MyClass extends BaseClass {
constructor(props) {
super(props);
}
static Woo () {
async install(repo){
this.github = await User.githubClient(this.user.id);
repo = await this.saveRepo(repo);
await this.savePullRequests(repo);
await this.ensureInstallerIsMember(repo);
return this.saveLabels(repo);
}
install(repo){
@billybonks
billybonks / SPEC.md
Last active August 28, 2018 06:22
Translations

These are my thoughts, on how the translation files should be modeled, take into consideration the following postulates:

  • Web applications are modeled around their data.
  • Web applications data models have the following states.
    • Saved
    • Deleted
    • Updated
    • Empty
    • Created
    • Loading
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
@billybonks
billybonks / application.controller.js
Created September 30, 2015 03:55
Getting param in init
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Component.extend({
});