$ vim
[CTRL]+[C]
[B]
$ 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
# 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
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
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 |
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 |
NewerOlder