Skip to content

Instantly share code, notes, and snippets.

View stuartsaunders's full-sized avatar
👋

Stuart Saunders stuartsaunders

👋
View GitHub Profile
@stuartsaunders
stuartsaunders / NBench
Created September 7, 2010 01:22
Droid2 Benchmark
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
@stuartsaunders
stuartsaunders / gist:457645
Created June 29, 2010 19:15 — forked from reinh/ssp.sh
Hack && Ship
alias ssp="hack && rake spec && ship"
@stuartsaunders
stuartsaunders / workflow.md
Created June 22, 2010 05:07 — forked from zaach/workflow.md
Versioning and Git Workflow

Semantic Versioning

Details:

Versions are denoted using a standard triplet of integers: MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are incompatible, large-scale upgrades of the API. MINOR versions retain source and binary compatibility with older minor versions, and changes in the PATCH level are perfectly compatible, forwards and backwards.

" 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>
# Add expires header for static content
location ~* \.(js|css|jpg|jpeg|gif|png)$ {
if (-f $request_filename) {
expires max;
break;
}
}