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 /
Created Nov 22, 2019
state machines ember
const machine = Machine({
  id: 'toggle',
  initial: 'inactive',
  states: {
    inactive: { on: { TOGGLE: 'active' } },
    active: { on: { TOGGLE: 'inactive' } }
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
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 (
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);
import Ember from 'ember';
export default Ember.Component.extend({
knownasilya /
Last active Sep 27, 2018
MU Packages/Use

Files Layout

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