Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
@Kilowhisky
Kilowhisky / adapters.application.js
Last active March 27, 2018 00:05
ArrayWillChange LiveRecordArray Issue
import DS from 'ember-data';
export default DS.RESTAdapter.extend({
shouldBackgroundReloadRecord(store, snapshot){
return false;
}
});
@Kilowhisky
Kilowhisky / adapters.application.js
Created June 27, 2016 19:10
Query Record Relationships Error
import DS from 'ember-data';
export default DS.RESTAdapter.extend({});
@Kilowhisky
Kilowhisky / controllers.application.js
Last active December 30, 2016 23:22
Helper issue
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@Kilowhisky
Kilowhisky / components.input-autocomplete.js
Created January 23, 2017 17:27
Focus Out Blocking Click
import Ember from 'ember';
export default Ember.Component.extend({
value: null,
options: null,
/**
* List of available options
* @return {Array}
*/
@Kilowhisky
Kilowhisky / adapters.application.js
Created May 15, 2017 22:31
HasMany Unload Exception
import DS from 'ember-data';
import Ember from 'ember';
export default DS.RESTAdapter.extend({
namespace: 'api'
});
@Kilowhisky
Kilowhisky / adapters.application.js
Last active July 26, 2018 23:17
HasMany Explosion
import DS from 'ember-data';
export default DS.RESTAdapter.extend({});
@Kilowhisky
Kilowhisky / adapters.application.js
Last active August 29, 2018 15:27
Reload Record Hell
import DS from 'ember-data';
import Ember from 'ember';
export default DS.RESTAdapter.extend({
namespace: 'api'
});
@Kilowhisky
Kilowhisky / c_sharp_rockpaperscissors.c
Created January 22, 2021 23:06
Rock Paper Scissors program build in C#
using System;
using System.Collections.Generic;
public class Program
{
public static List<WinEnum> PlayerStats = new List<WinEnum>();
public static void Main()
{
Console.WriteLine("Welcome to my great game");