Skip to content

Instantly share code, notes, and snippets.

View josemarluedke's full-sized avatar

Josemar Luedke josemarluedke

View GitHub Profile
@josemarluedke
josemarluedke / ember-projections.json
Last active August 15, 2018 01:06 — forked from AndrewRadev/ember-projections.json
A `.projections.json` file that can be used with vim-projectionist for navigating ember.js projects classic structure app.
{
"app/initializers/*.js": {
"type": "initializer",
"alternate": "tests/unit/initializers/{}-test.js"
},
"tests/unit/initializers/*-test.js": {
"type": "initializer-test",
"alternate": "app/initializers/{}.js"
},
"app/instance-initializers/*.js": {
// postprocessTree: function(type, tree)
if (process.env.SHOULD_BUILD_FASTBOOT && type === 'all') {
var fastbootTree = this.buildFastBootTree();
// Merge the package.json with the existing tree
return mergeTrees([tree, fastbootTree], {overwrite: true});
}
return tree;
// For more information on customizing Oni,
// check out our wiki page:
// https://github.com/extr0py/oni/wiki/Configuration
//add custom config here, such as
//"oni.useDefaultConfig": true,
//"oni.bookmarks": ["~/Documents",]
//"oni.loadInitVim": false,
//"editor.fontSize": "14px",
//"editor.fontFamily": "Monaco"

Keybase proof

I hereby claim:

  • I am josemarluedke on github.
  • I am josemarluedke (https://keybase.io/josemarluedke) on keybase.
  • I have a public key ASDooh4OyouEhlbGRj4qoCX550sTtDqQbnVaDVICZM2a1Ao

To claim this, I am signing this object:

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@josemarluedke
josemarluedke / Dockerfile
Created May 13, 2018 06:39
Ember with Docker
FROM node:10
RUN apt-get update && apt-get install -y jq
# Install Watchman
RUN \
git clone https://github.com/facebook/watchman.git &&\
cd watchman &&\
git checkout v4.9.0 &&\
./autogen.sh &&\
@josemarluedke
josemarluedke / projections.json
Created August 14, 2018 18:27
Projections Ember Pods & TS
{
"app/initializers/*.js": {
"type": "initializer",
"alternate": "tests/unit/initializers/{}-test.js"
},
"tests/unit/initializers/*-test.js": {
"type": "initializer-test",
"alternate": "app/initializers/{}.js"
},
"app/instance-initializers/*.js": {
[
{
"color": "d93f0b",
"description": "This has a high priority",
"name": "Priority: High"
},
{
"color": "0e8a16",
"description": "This has a low priority",
"name": "Priority: Low"
node_modules/@glimmer/runtime/dist/types/lib/vm/append.d.ts:121:5 - error TS2416: Property 'scope' in type 'VM<C>' is not assignable to the same property in base type 'InternalVM<C>'.
Type '() => Scope<JitOrAotBlock>' is not assignable to type '() => Scope<C>'.
Type 'Scope<JitOrAotBlock>' is not assignable to type 'Scope<C>'.
Type 'JitOrAotBlock' is not assignable to type 'C'.
Type 'number' is not assignable to type 'C'.
121 scope(): Scope<JitOrAotBlock>;
~~~~~