Skip to content

Instantly share code, notes, and snippets.

☕️
Sippin' a great cup of coffee

Ilya Radchenko knownasilya

☕️
Sippin' a great cup of coffee
Block or report user

Report or block knownasilya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@knownasilya
knownasilya / README.md
Created Nov 22, 2019
state machines ember
View README.md
const machine = Machine({
  id: 'toggle',
  initial: 'inactive',
  states: {
    inactive: { on: { TOGGLE: 'active' } },
    active: { on: { TOGGLE: 'inactive' } }
  }
});
View README.md
Uncaught (in promise) Error: Undefined binding(s) detected when compiling SELECT query: select * from `user_site_sessions` where `userId` = ? and `url` = ?
    at HTMLElement.load (main.js:97)
    at new ExplorerApp (main.js:59)
    at drive-handler.js:3
View router.js
import EmberRouter from '@ember/routing/router';
import { inject as service } from '@ember/service';
import config from './config/environment';
export default class Router extends EmberRouter {
@service metrics;
@service router;
@service fastboot;
@service headData;
View .subsetcss.js
const colors = [
'transparent', // transparent
'#000', // black
'#fff', // white
// gray
'#f7fafc', // 100
'#edf2f7', // 200
'#e2e8f0', // 300
'#cbd5e0', // 400
View templates.application.hbs
<MyComponent>foobar</MyComponent>
View README.md
jquery.js:3827 Uncaught TypeError: Cannot redefine property: 0
    at Function.defineProperties (<anonymous>)
    at new Microstate<Field> (microstates.cjs.js:893)
    at create (microstates.cjs.js:875)
    at expandProperty (microstates.cjs.js:948)
    at self (microstates.cjs.js:896)
    at Microstate.get [as name] (microstates.cjs.js:732)
    at Id.get name (microstates.cjs.js:241)
    at eval (funcadelic.es.js:343)
View components.test-shadow.js
import Ember from 'ember';
export default Ember.Component.extend({
didInsertElement() {
let shadow = this.element.attachShadow({mode: 'open'});
this.set('shadow', shadow);
}
});
View components.my-component.js
import Ember from 'ember';
export default Ember.Component.extend({
});
@knownasilya
knownasilya / README.md
Last active Sep 27, 2018
MU Packages/Use
View README.md

Files Layout

  • packages
    • inputs
      • src
        • ui
          • components
            • date
            • text
            • time
You can’t perform that action at this time.