Skip to content

Instantly share code, notes, and snippets.

@nPn-
nPn- / ankobasic_MainActivity.kt
Created November 13, 2017 10:45
An Anko Example with the main content extracted to a seperate class
package com.example.john.ankobasic
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import org.jetbrains.anko.setContentView
/**
* Created by john on 11/12/17.
*/
@nPn-
nPn- / controllers.application.js
Last active April 14, 2016 03:43
New Twiddle
import Ember from 'ember';
const Light = Ember.Object.extend({
isOn: false,
color: 'red',
foo: Ember.computed( 'isOn', 'color', function() {
console.log(`this in foo is ${this}`);
}) ,
foo1: [1].forEach(function() {