This file contains hidden or 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 hidden or 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
defaults write org.vim.MacVim AppleFontSmoothing -int 0 |
This file contains hidden or 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 hidden or 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
~/Projects/Ruby/ember-cli-rails-heroku « [master] [2.2.0] [18:02:01] | |
$ git p heroku -f | |
Counting objects: 1, done. | |
Writing objects: 100% (1/1), 187 bytes | 0 bytes/s, done. | |
Total 1 (delta 0), reused 0 (delta 0) | |
remote: Compressing source files... done. | |
remote: Building source: | |
remote: | |
remote: -----> Fetching custom git buildpack... done | |
remote: -----> Multipack app detected |
This file contains hidden or 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
cd `rbenv root`/plugins/ruby-build && git pull origin master |
This file contains hidden or 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
cd spec/dummy && git c . && git pull origin master && cd ../../ && git add spec/dummy && git ci "Update dummy app" && rm -rf spec/dummy/spec/ |
This file contains hidden or 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
SyntaxError at /sessions | |
======================== | |
> syntax error, unexpected << | |
activesupport (4.1.1) lib/active_support/dependencies.rb, line 443 | |
------------------------------------------------------------------ | |
``` ruby | |
438 const_paths = [const_paths].compact unless const_paths.is_a? Array |
This file contains hidden or 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 spec_helper | |
describe "Dashboard.ApplicationStore", -> | |
beforeEach( -> | |
Test.store = TestUtil.lookupStore() | |
) | |
it "works with latest Ember-Data revision", -> | |
assert.equal Test.store.get('revision'), 12 |
This file contains hidden or 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
def index | |
@city = user_city | |
@project_locations = project_locations(@city) | |
@near_projects = Project.with_state('online').near(@city, 100).visible.order('distance').limit(4) | |
used_ids += @near_projects.map(&:id) if @near_projects.any? | |
end | |
def near | |
raise ActionController::UnknownController unless request.xhr? | |
@projects = apply_scopes(Project).with_state('online').near(params[:location], 100).visible.order('distance').page(params[:page]).per(4) | |
render layout: false |
This file contains hidden or 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
Segunda 14:00 - 18:00 4 horas | |
Terça 16:30 - 20:30 4 horas | |
Quarta 16:30 - 20:30 4 horas | |
Quinta 16:30 - 20:30 4 horas | |
Sexta 14:00 - 18:00 4 horas |