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
require "drb/drb" | |
module Spec | |
module Runner | |
# Facade to run specs by connecting to a DRB server | |
class DrbCommandLine | |
def self.port(options) | |
(options.drb_port || ENV["RSPEC_DRB"] || 8989).to_i | |
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
BYTEmark* Native Mode Benchmark ver. 2 (10/95) | |
Index-split by Andrew D. Balsa (11/97) | |
Linux/Unix* port by Uwe F. Mayer (12/96,11/97) | |
TEST : Iterations/sec. : Old Index : New Index | |
: : Pentium 90* : AMD K6/233* | |
--------------------:------------------:-------------:------------ | |
NUMERIC SORT : 220.22 : 5.65 : 1.85 | |
STRING SORT : 9.968 : 4.45 : 0.69 | |
BITFIELD : 8.0907e+07 : 13.88 : 2.90 |
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
alias ssp="hack && rake spec && ship" |
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
" Open NERDTree when vim starts | |
autocmd VimEnter * NERDTree | |
autocmd VimEnter * wincmd p | |
" Map leader key to comma | |
let mapleader = "," | |
" NERDTreeFind key binding | |
noremap <silent> <Leader>f :NERDTreeFind<CR> |
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
# Add expires header for static content | |
location ~* \.(js|css|jpg|jpeg|gif|png)$ { | |
if (-f $request_filename) { | |
expires max; | |
break; | |
} | |
} |
NewerOlder