$ vim
# Open Ember project
[CTRL]+[SPACE]
[B]
>ember<
[Enter]
# Search for `README.md` and open it in the current tab without closing the plugin window
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 'compass-rails', github: 'milgner/compass-rails', branch: 'rails4' | |
# application.rb | |
if defined?(Compass) | |
config.assets.paths << Compass::Frameworks[:compass].stylesheets_directory | |
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
/* jqBootstrapValidation | |
* A plugin for automating validation on Twitter Bootstrap formatted forms. | |
* | |
* v1.3.6 | |
* | |
* License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file | |
* | |
* http://ReactiveRaven.github.com/jqBootstrapValidation/ | |
*/ |
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
Em.computedPropertyBuilder = (that, name, key, fn) -> | |
Em.defineProperty that, name, Em.computed(-> | |
fn | |
).property "#{key}" |
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
%transition-delay | |
-webkit-transition-delay: $default-transition-delay | |
-moz-transition-delay: $default-transition-delay | |
-o-transition-delay: $default-transition-delay | |
transition-delay: $default-transition-delay | |
%transition-duration | |
-webkit-transition-duration: $default-transition-duration | |
-moz-transition-duration: $default-transition-duration | |
-o-transition-duration: $default-transition-duration |
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
class User < ActiveRecord::Base | |
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i | |
validates :name, presence: true, length: { maximum: 50 } | |
validates :email, presence: true, length: { maximum: 25 }, | |
format: { with: VALID_EMAIL_REGEX } | |
end |
$ vim
<kbd>CTRL</kbd>+<kbd>C</kbd>
<kbd>b</kbd>
<kbd>a</kbd>
⌗ Add directory to bookmarks: /Users/ryrych/projects/ember_awesome/<kbd>Enter</kbd>
⌗ New bookmark name: Ember is Awesome Bookmark<kbd>Enter</kbd>
$ vim
[CTRL]+[C]
[B]
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
```javascript | |
import { errorize } from '../../../utils/errorize'; | |
import { module, test } from 'qunit'; | |
module('Unit | Utility | errorize'); | |
test('errorize', function(assert) { | |
var errors = { | |
responseJSON: { | |
errors:[ |
OlderNewer