This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
actions: { | |
fooBar() { | |
this.set("foo", "bar"); | |
} | |
}, | |
appName:'Ember Twiddle' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
actions: { | |
toggle() { | |
this.set("sortDir", this.get("sortDir") === "asc" ? "desc" : "asc"); | |
} | |
}, | |
appName:'Ember Twiddle', | |
model: ["foo", "bar", "baz"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var spawn = require("child_process").spawn, | |
server = spawn("server-0.6.2-dev/bin/server"); | |
server.stdout.on("data", function(data) { | |
console.log("log:" + data.toString("utf8")); | |
}); | |
server.stderr.on("data", function (data) { | |
console.log("error:" + data.toString("utf8")); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP: { | |
customEvents: { | |
"rowClicked": "rowClicked" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set number | |
set ruler | |
set lbr | |
set laststatus=2 | |
set hidden | |
set modeline | |
" allow backspacing over everything in insert mode | |
set backspace=indent,eol,start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'sinatra/activerecord' | |
require './config/environments' | |
get "/" do | |
puts "hallo" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: compile | |
NODE_VERSION=0.12.0 | |
export NVM_BIN=$(HOME)/.nvm/versions/node/v$(NODE_VERSION)/bin | |
export NVM_DIR=$(HOME)/.nvm | |
export NVM_PATH=$(HOME)/.nvm/versions/node/v$(NODE_VERSION)/lib/node | |
export PATH:=$(NVM_BIN):$(PATH) | |
$(NVM_BIN): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`import Ember from 'ember'` | |
`import { module, test } from 'qunit'` | |
`import startApp from '../helpers/start-app'` | |
application = null | |
Ember.$.fauxjax.settings.debug = true | |
Ember.$.fauxjax.settings.strictMatching = false | |
module "Acceptance: Sessions", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bumpversion:file:package.json] | |
parse = "version": (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>\w+))? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
display: none; | |
} |