Skip to content

Instantly share code, notes, and snippets.

View wagenet's full-sized avatar

Peter Wagenet wagenet

View GitHub Profile
@wagenet
wagenet / gist:9652806
Created March 19, 2014 22:29
Ember rackup failure
% rackup ~/Development/Ember/ember.js
Puma 2.8.0 starting...
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://0.0.0.0:9292
module.js:340
throw err;
^
Error: Cannot find module 'es6-module-transpiler'

Keybase proof

I hereby claim:

  • I am wagenet on github.
  • I am wagenet (https://keybase.io/wagenet) on keybase.
  • I have a public key whose fingerprint is 0CD7 FA9A 0E06 DA21 D2AB 2648 0A57 2DC8 8495 B1DE

To claim this, I am signing this object:

app.registry.add('css', 'broccoli-compass', 'scss', {
toTree: function(tree, inputPath, outputPath, options) {
// broccoli-compass doesn't like leading slashes
if (inputPath[0] === '/') { inputPath = inputPath.slice(1); }
tree = mergeTrees([
tree,
'public'
], {
description: 'TreeMerger (stylesAndVendorAndPublic)'

Hello Again,

Peter reporting from Orange County, CA. In California news today, the state has implemented mandatory water usage restrictions. So far I think Portland is mostly avoiding the drought. If we run out of water then maybe finally I'll be forced to relocate. Anyway, we haven't run out yet, so I'll keep working from here :)

Agent Improvements

Today, I spent most of my time working on agent setup improvements.

Currently, when you run skylight setup for the first time, we save an authentication token to ~/.skylight and use that for future skylight setup calls. Unfortunately, we've had a few cases where a user with access to multiple accounts accidentally created an application on the wrong account. Furthermore, for those using authentication solutions like 1Password or LastPass, copying a password into the terminal can be slightly awkward.

16:22 error: cannot assign to immutable field `self.pos`
self.pos += 1;
^~~~~~~~~~~~~
import Stream from 'ember-cli-i18n/utils/stream';
import t from 'ember-cli-i18n/utils/t';
import Ember from 'ember';
// tHelper without the container and application dependencies, sigh...
function tHelper(params /*, hash, options, env */) {
var path = params.shift();
var stream = new Stream(function() {
return t(path, params);
0.0.0.0 vendor/ember-cli/vendor-prefix.js:0 /* jshint ignore:start */ | /* jshint ignore:start */
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0.0.1.0 vendor/ember-cli/vendor-prefix.js:1 |
0.0.1.0 vendor/ember-cli/vendor-prefix.js:2 window.EmberENV = {"LOG_STACKTRACE_ON_DEPRECATION":false,... |
0.0.1.0
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
values: null,
sum: Ember.computed.sum("values")
});
// This file is valid, if contrived.
// Without nested block comments, the middle alert will get run.
// With nested block comments it would not.
/*
Comment
/*
alert("Don't run this anymore.");
*/
alert("I'm in a double nested comment!");
"use strict";
/**
* TODO:
* - Generate definitions for prototype extensions
* - Handle additional JSDoc properties (@param, @return)
* - Define types of arrays where possible
* - Review situations where multiple types are possible
* - Review var-args
* - JSDoc for classes and namespaces if supported