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.
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
:Unite file | |
1) Expecting to fuzzy match config/database.yml (as Command-T does) | |
Sources: file | |
> dbyml | |
- [new file]dbyml | |
Sources: file |
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
$ 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 ********************************************************************************** |
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
whose-bug$ bundle exec ruby test.rb | |
{ | |
} |
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
" Modularized configuration for vim | |
" Randy Morris <[email protected]> | |
" Plugins | |
if v:version < 700 | |
finish | |
endif | |
" {{{ Vundle setup |
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 Cell | |
end | |
class World | |
def initialize | |
@x = 50 | |
@y = 50 | |
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
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 |
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
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> |
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
@rem Do not use "echo off" to not affect any child calls. | |
@setlocal | |
@rem Get the abolute path to the parent directory, which is assumed to be the | |
@rem Git installation root. | |
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI | |
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH% | |
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH% | |
@if not exist "%HOME%" @set HOME=%USERPROFILE% |