View README.md

About

minimal example of using [phantomjs] with [qunit]

$ phantomjs run-qunit.js file://`pwd`/test.html
'waitFor()' finished in 200ms.
Tests completed in 21 milliseconds.
5 tests of 5 passed, 0 failed.

Installation

View test.vim
1 2 3 4 5 6 7 8 9 10
:Unite file
 
1) Expecting to fuzzy match config/database.yml (as Command-T does)
 
Sources: file
> dbyml
- [new file]dbyml
 
 
Sources: file
View route length chart
1 2 3 4 5 6 7 8 9 10
$ rake routes|ruby -ne '$_ =~ /^\s+([a-z_]+)/; puts "%-2s %s" % [$1.to_s.size, $1.to_s.gsub(/./,"*")]'|grep -v '^0'|sort -unr
 
92 ********************************************************************************************
91 *******************************************************************************************
90 ******************************************************************************************
89 *****************************************************************************************
88 ****************************************************************************************
87 ***************************************************************************************
85 *************************************************************************************
82 **********************************************************************************
View output
1 2 3
whose-bug$ bundle exec ruby test.rb
{
}
View plugins.vim
1 2 3 4 5 6 7 8 9 10
" Modularized configuration for vim
" Randy Morris <randy.morris@archlinux.us>
 
" Plugins
 
if v:version < 700
finish
endif
 
" {{{ Vundle setup
View game_of_life.rb
1 2 3 4 5 6 7 8 9
class Cell
 
end
 
class World
def initialize
@x = 50
@y = 50
end
View README.md

Getting started

First add your twitter username and password. Then server.rb and once it's started open websocket.html in your browser. You should see some tweets appear. If not take a look at the javascript console.

View vundle-events.md

What's new

Bundle! command

Bundle! 'my_plugin'

instructs Vundle that

  1. this plugin should not be synchronized/cloned
  2. it's located in bundles/my_plugin
View .vimrc
1 2 3 4 5 6 7 8 9 10
syntax on
set nocompatible " Unset compatibility with VI, it's 2011!
set wildmenu
set wildmode=list:longest " make cmdline tab completion similar to bash
 
set backup " Activate backup stuff
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
 
set showmatch " Show matching brackets
View c-xc-s.vim
1 2 3 4 5
nnoremap <silent> <special> <C-x><C-s> :if expand("%") == ""<Bar>browse confirm update<Bar> else<Bar>confirm update<Bar>endif<CR>
vmap <special> <C-x><C-s> <Esc><D-s>gv
imap <special> <C-x><C-s> <C-O><D-s>
cmap <special> <C-x><C-s> <C-C><D-s>
omap <special> <C-x><C-s> <Esc><D-s>
Something went wrong with that request. Please try again.