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
" auto-install vim-plug | |
if empty(glob('~/.config/nvim/autoload/plug.vim')) | |
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall | |
endif | |
call plug#begin('~/.config/nvim/plugged') | |
Plug 'junegunn/vim-easy-align' | |
Plug 'neomake/neomake' |
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
git log --follow --name-status -- filename | egrep R[0-9]+ | awk '{print $2; print $3}' | sort -u |
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
(* A demonstration of OCaml Exception Backtrace Decapitation *) | |
(* Author: Jonathan Knowles <jonathan.knowles@eu.citrix.com> *) | |
exception Foo | |
exception Bar | |
type ('a, 'b) result = Success of 'a | Failure of 'b | |
let try_finally f g = | |
let fr = try Success (f ()) with e -> Failure (e) in |