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({ | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Ember Starter Kit</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="http://builds.emberjs.com/tags/v2.12.0/ember-template-compiler.js"></script> | |
<script src="http://builds.emberjs.com/tags/v2.12.0/ember.debug.js"></script> | |
<style id="jsbin-css"> |
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.Component.extend({ | |
classNames: ['one','two','three'], | |
extraClasses: function() { | |
return ['extra-one', 'extra-two', 'extra-three'].join(' '); | |
}.property(), | |
classNameBindings: ['extraClasses'], |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
$ rake test | |
(in /Users/ed/Development/github/rails) | |
(in /Users/ed/Development/github/rails/activesupport) | |
/Users/ed/.rvm/rubies/ree-1.8.7-2011.12/bin/ruby -w -Ilib:test "/Users/ed/.rvm/gems/ree-1.8.7-2011.12@rails/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/buffered_logger_test.rb" "test/caching_test.rb" "test/callbacks_test.rb" "test/clean_backtrace_test.rb" "test/clean_logger_test.rb" "test/core_ext/array_ext_test.rb" "test/core_ext/base64_ext_test.rb" "test/core_ext/blank_test.rb" "test/core_ext/cgi_ext_test.rb" "test/core_ext/class/attribute_accessor_test.rb" "test/core_ext/class/class_inheritable_attributes_test.rb" "test/core_ext/class/delegating_attributes_test.rb" "test/core_ext/class_test.rb" "test/core_ext/date_ext_test.rb" "test/core_ext/date_time_ext_test.rb" "test/core_ext/duplicable_test.rb" "test/core_ext/duration_test.rb" "test/core_ext/enumerable_test.rb" "test/core_ext/exception_test.rb" "test/core_ext/file_test.rb" "test/core_ext/float_ext_test.rb" "test/core_ext/hash_ext_test.rb" " |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BuildVersion</key> | |
<string>1</string> | |
<key>CFBundleShortVersionString</key> | |
<string>3.1.4</string> | |
<key>CFBundleVersion</key> | |
<string>1203</string> |
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
$ gem list heroku | |
*** LOCAL GEMS *** | |
heroku (1.13.6) | |
$ rails g | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:65: warning: already initialized constant State | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:66: warning: already initialized constant SAFE_STATE_PROTOTYPE | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:67: warning: already initialized constant FAST_STATE_PROTOTYPE |
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
$ rails g | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:65: warning: already initialized constant State | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:66: warning: already initialized constant SAFE_STATE_PROTOTYPE | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:67: warning: already initialized constant FAST_STATE_PROTOTYPE | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/common.rb:74: warning: already initialized constant PRETTY_STATE_PROTOTYPE | |
/Users/ed_ruder/.rvm/gems/ruby-1.8.7-p299@rails3/gems/json-1.4.6/lib/json/ext.rb:14: warning: already initialized constant JSON_LOADED | |
Usage: rails generate GENERATOR [args] [options] | |
General options: |