Skip to content

Instantly share code, notes, and snippets.

View alexlafroscia's full-sized avatar
👋
Looking for work! Need experience with Svelte or Ember.js? Get in touch!

Alex LaFroscia alexlafroscia

👋
Looking for work! Need experience with Svelte or Ember.js? Get in touch!
View GitHub Profile
@alexlafroscia
alexlafroscia / rock-and-roll-ember-interview-questions.md
Last active January 9, 2021 16:12 — forked from balinterdi/rock-and-roll-ember-interview-questions.md
The Rock & Roll with Ember band – Interview questions

These are the questions that can serve as a guide for the interview. You don't have to religiously adhere to them, though, so feel free to skip any or even come up with others you'd like to answer.

The easiest way for me to compose the interviews would be for you to fork this gist, add your name and your answers to the questions (right below each question) and send me the link to your gist.

Alex LaFroscia

1. Could you introduce yourself in a few sentences?

My name is Alex LaFroscia, and I am a Front-End Infrastructure engineer living in Pittsburgh PA. I have worked on teams using Ember.js since 2012, from big names like Netflix and Google to little start-ups. These days I work remotely full-time for a company called Movable Ink, based in New York City.

@alexlafroscia
alexlafroscia / components.text-input\.js
Created September 28, 2020 20:14
Splattributes and Type Bug
import Component from '@glimmer/component';
export default class extends Component {
}
@alexlafroscia
alexlafroscia / components.attrs-first\.js
Last active September 17, 2020 15:34
...attributes ordering
import Component from '@glimmer/component';
export default class extends Component {
}
@alexlafroscia
alexlafroscia / components.render-node\.js
Last active August 19, 2020 21:12
Nested Tree with One Component
import Component from '@glimmer/component';
export default class extends Component {
}
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
@alexlafroscia
alexlafroscia / controllers.application\.js
Last active July 13, 2020 19:20
Tracking Component Arguments
import Controller from '@ember/controller';
import { tracked, TrackedObject } from 'tracked-built-ins';
import { action } from '@ember/object';
class Container {
@tracked options;
constructor(options = {}) {
this.options = options;
}
@alexlafroscia
alexlafroscia / controllers.application\.js
Created April 29, 2020 20:25
Re-Insert using With Test
import Controller from '@ember/controller';
import { action } from '@ember/object';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
src = "https://github.com";
@action notifyInsertionSrc(element) {
alert(element.src);
@alexlafroscia
alexlafroscia / controllers.application\.js
Last active April 29, 2020 14:32
EC lastSuccessful Test
import Controller from '@ember/controller';
import { timeout } from "ember-concurrency";
import { task, lastValue } from "ember-concurrency-decorators";
export default class ApplicationController extends Controller {
wasCalled = false;
@lastValue('myTask') value = "Not Yet Started";
@task myTask = function* () {
@alexlafroscia
alexlafroscia / controllers.application\.js
Created April 17, 2020 19:47
ember-changeset changes CP bug
import Controller from '@ember/controller';
import { action, computed } from '@ember/object';
import { Changeset } from 'ember-changeset';
class User {
name = '';
}
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';