Skip to content

Instantly share code, notes, and snippets.

View camilo's full-sized avatar
🙊

Camilo Lopez camilo

🙊
View GitHub Profile
set guifont=Anonymous\ Pro:h19
set guioptions=-M
set cursorline
syntax on
hi CursorLine guibg=black
filetype on
filetype plugin on
set ofu=syntaxcomplete#Complete
filetype indent on
"disable arrow keys map <up> <nop>
map <down> :buffers<CR>
map <left> :bp<CR>
map <right> :bn<CR>
imap <up> <nop>
{ name: 'AssertionError',
message: undefined,
actual: [ { '1': '1' } ],
expected: [ { '1': '1' } ],
operator: '==' }
((date_part('hour', created_at))::integer % 3))::varchar) || ' hours'))::interval)
-- created_at is a timestamp without timezone
2008-01 77709|55271204000|-1745722878.00001
2008-02 262925|45663853800|-4442229169.0
2008-03 419062|45052276300|-921012208.0
2008-04 493890|42303633400|2745064932.0
2008-05 623429|42424076800|1503625580.0
2008-06 762235|46520653100|-4895749692.0
2008-07 862434|51651949100|861860294.000009
2008-08 919435|39746389900|2480122988.0
2008-09 825117|53228200800|-12376113411.0
2008-10 915298|64570249200|-8018558306.0
connected to: 127.0.0.1
insert/s query/s update/s delete/s getmore/s command/s flushes/s mapped vsize res faults/s % locked % idx miss conn time
0 1 4 0 0 1 0 38846 39917 5672 1 0.0259 0 77 16:49:02
0 7 3 0 0 1 0 38846 39917 5672 0 0.000656 0 77 16:49:03
0 11 5 0 0 1 0 38846 39917 5672 3 0.0694 0 77 16:49:04
0 0 0 0 0 1 0 38846 39917 5672 0 0 0 77 16:49:05
0 2 1 0 0 1 0 38846 39917 5672 1 0 1 77 16:49:07
0 10 1 0 0 1 0 38846 39917 5672 1 0.6 0 77 16:49:09
0 7 4 0 0 1 0 38846 39917 56
@camilo
camilo / gist:653845
Created October 29, 2010 16:23
My .vimrc
colorscheme inkpot
set guifont=Inconsolata:h16.5
set guioptions=-M
syntax on
filetype plugin indent on
set tabstop=2
set smarttab
set shiftwidth=2
set autoindent
colorscheme inkpot
set guifont=Monaco:h14.5
set guioptions=-M
syntax on
filetype plugin indent on
set tabstop=2
set smarttab
set shiftwidth=2
set autoindent