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_relative 'helper' | |
class MyApp | |
def half_close(request) | |
[200, { 'content-type' => 'text/plan' }, 'Hello HTTP 2.0! GET request'] | |
end | |
def promise(request) | |
[200, { 'content-type' => 'text/plan' }, 'A promise'] |
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 'capistrano/setup' | |
require 'capistrano/deploy' | |
require 'capistrano/scm' | |
require 'capistrano/git' | |
class Capistrano::Git < Capistrano::SCM | |
module SubmoduleStrategy | |
include DefaultStrategy | |
def release |
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
" http://mislav.uniqpath.com/2011/12/vim-revisited/ | |
set nocompatible " choose no compatibility with legacy vi | |
syntax enable | |
set encoding=utf-8 | |
set showcmd " display incomplete commands | |
filetype plugin indent on " load file type plugins + indentation | |
"" Whitespace | |
set nowrap " don't wrap lines |
OlderNewer