This is the simplest version I could get working for a belongsTo association in a form select with EmberJS.
Ember.Select is now deprecated and should not be used.
It uses ember-truth-helpers to have the eq helper.
| # XCode tools | |
| xcode-select --install | |
| # Prevent Music.app from launching when the PLAY key is pressed | |
| launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist | |
| # Homebrew (http://brew.sh/) | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew update | |
| brew upgrade |
This is the simplest version I could get working for a belongsTo association in a form select with EmberJS.
Ember.Select is now deprecated and should not be used.
It uses ember-truth-helpers to have the eq helper.
This guide is for Tinci developers and any Tinci collaborator that will write CSS that Tinci has to later maintain.
This is a work in progress and may change in the future but for now we're happy with this.
This works even with Grooveshark dead!
The awesome people at audiosplitter.fm provide a little code snippet that allows you to get your Grooveshark collection back.
Go to http://grooveshark.com and open your browser devtools, go to the Console tab and type the content of the JS script. You'll get a big JSON blob, if you know how to exploit it good for you, if not audiosplitter.fm can import it, go use it ;)
| source 'https://rubygems.org' | |
| gem 'rails', '4.2.1' | |
| gem 'pg' | |
| gem 'sass-rails', '~> 5.0' | |
| gem 'uglifier', '>= 1.3.0' | |
| gem 'coffee-rails', '~> 4.1.0' | |
| gem 'jquery-rails' | |
| gem 'rspec-rails' |
| ruby_version = '2.3.1' | |
| def yes!(statement) | |
| !!(ask("#{statement} [yes]") =~ /^(y(es)?)?$/) | |
| end | |
| project_name = @app_name.parameterize | |
| doing_tests = yes!('Do you plan on writing tests?') |
| fr: | |
| admin: | |
| js: | |
| true: Vrai | |
| false: Faux | |
| is_present: Est présent | |
| is_blank: Est vide | |
| date: Date ... | |
| between_and_: Entre le ... et le ... | |
| today: "Aujourd'hui" |
| # _plugins/redcarpet_rouge.rb | |
| require 'redcarpet' | |
| require 'rouge' | |
| require 'rouge/plugins/redcarpet' | |
| module Jekyll | |
| class RedcarpetRouge < Converter | |
| safe true | |
| priority :high |
| # tweaking the Ruby GC to speed up tests | |
| export RUBY_GC_MALLOC_LIMIT=90000000 | |
| export RUBY_FREE_MIN=200000 | |
| # chruby | |
| source /usr/local/opt/chruby/share/chruby/chruby.sh | |
| source /usr/local/opt/chruby/share/chruby/auto.sh | |
| RUBIES=(/usr/local/rubies/*) | |
| chruby $(cat ~/.ruby-version) |