406 karma · joined September 26, 2009
Currently: Co-Founder at https://www.catercow.com - We've made it easy to book catering online.
Previously: Engineer #2 at Airbnb.com, Engineer at CollegeHumor.com, Co-Founder at http://www.gusta.com
christopherjamescollins@gmail.com chris@gusta.com
Can anyone recommend a company that provides solid DNS hosting? Are there measurable performance benefits? Thanks!
-Chris, Airbnb engineer
For example: http://www.google.com/search?q=san+francisco+halloween gives me a bunch of halloween stores
http://twitter.com/#search?q=san%20francisco%20halloween gives me a bunch of events (much more useful for me!)
I think this failed because it was so contrived. Here is a more realistic and reproducible example of how my girlfriend is living variably in NYC. She currently has a lease in Brooklyn for about $900 / month but doesn't need to be there all the time. This weekend she will be house-sitting in NJ, next week she is visiting me in SF for a week, and in December she plans to stay with her parents for the holidays.
To continue to have occasional access to her apartment, not screw over her roommates, and make this lifestyle remotely possible, she listed her place on Airbnb.com. She so far has booked about $700 that will go towards October rent. When she needs to be in Brooklyn, she simply marks her dates as unavailable. Her place is still open for December, but has enough interest that she'll be fine.
Using Airbnb absolutely reduces the friction for these short term stays. If a listing is dishonest, we'll drop it like it's hot. If your host bails on you, we'll find you a new place to stay. SO, sam lessin - Despite having a new lease, don't give up on variable cost living! -Chris
set fo=tcqln ic nohls nu sc scs sm tm=200 wim=longest,list nonumber
let g:explDetailedList=1
" store all of your vim swp files in one place, make sure this directory exists
set backupdir=/Users/{YOUR_USERNAME}/vim_swp
set directory=/Users/{YOUR_USERNAME}/vim_swp
set bs=indent,eol,start
set hlsearch
" Use incremental searching
set incsearch
" Set standard setting for PEAR coding standards
set tabstop=4
set shiftwidth=4
" Auto expand tabs to spaces
set expandtab
" Auto indent after a {
set autoindent
set smartindent
" Linewidth to endless
set textwidth=0
" Do not wrap lines automatically
set wrap
" DO NOT Show line numbers by default
set nonumber
" Jump 5 lines when running out of the screen
set scrolljump=5
" Indicate jump out of the screen when 3 lines before end of the screen
set scrolloff=3
" Repair wired terminal/vim settings
set backspace=start,eol
" This function determines, wether we are on the start of the line text (then tab indents) or
" if we want to try autocompletion
function InsertTabWrapper()
let col = col('.') - 1
if !col || getline('.')[col - 1] !~ '\k'
return "\<tab>"
else
return "\<c-p>"
endif
endfunction" Remap the tab key to select action with InsertTabWrapper
inoremap <tab> <c-r>=InsertTabWrapper()<cr>
" set list
" set listchars=tab:>-,trail:-
" set listchars=tab:>-,trail:-,eol:$
set ignorecase " caseinsensitive searches
set showmode " always show command or insert mode
set ruler " show line and column information
set showmatch " show matching brackets
set formatoptions=tcqor
set whichwrap=b,s,<,>,[,]
syntax on
" Added by chris
" from http://items.sjbach.com/319/configuring-vim-right
set hidden
set history=1000
nnoremap ' `
nnoremap ` '
set smartcase "is case sensitive only if there's a capital letter
set title
" enables matching if/elseif/else/etc., sort of works
runtime macros/matchit.vim
"from http://blog.learnr.org/post/59098925/configuring-vim-some-mo...
map H ^
map L $
" End Added by chris
let loaded_matchparen = 1
nmap <F6> <ESC>:call LoadSession()<CR>
let s:sessionloaded = 0
function LoadSession()
source Session.vim
let s:sessionloaded = 1
endfunctionfunction SaveSession()
if s:sessionloaded == 1
mksession!
end
endfunctionautocmd VimLeave * call SaveSession() "Reopen your session with 'vim -S Session.vim'