daw
- Delete a Word<C -a>
(Control + A) - If you have the cursor over the number, it will increment it. Otherwise, it will increment the first number on the line<C -x>
- Same as above, but decrement.yyp
- yank text and paste it below current lineyyP
- yank text and paste it above current linecw
- change word...deletes word and places you in insert mode
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
Ruby Version Manager | |
rvm list # - View available ruby versions | |
rvm use 2.3.0 # - Use version 2.3.0 (if installed) | |
rvm install 2.3.0 # - Install version 2.3.0 (if not installed) | |
----------------- | |
String methods | |
----------------- | |
"hello".capitalize # => "Hello" | |
"nxte dxlo".gsub('x','a') # => "nate dalo" | |
"a".succ # => "b" |
This wiki will demonstrate how to setup and test Vue components. I am assuming that Vue is already setup in the project using the webpacker
gem.
This guide will use Karma, Jasmine, and Avoriaz for testing.
Karma - A test runner for unit tests.
Karma is essentially a tool which spawns a web server that executes source code against test code for each of the browsers connected. The results of each test against each browser are examined and displayed via the command line to the developer such that they can see which browsers and tests passed or failed.
Jasmine - A testing framework.
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
set nocompatible | |
filetype off | |
set background=light | |
colorscheme solarized | |
runtime macros/matchit.vim | |
let mapleader= " " | |
set tabstop=2 | |
set shiftwidth=2 | |
set shiftround |