I hereby claim:
- I am ampvchen on github.
- I am vchen (https://keybase.io/vchen) on keybase.
- I have a public key ASDdoNZZbipD6WApuASbI5sUfNbu6QD-Z6LjjLJLl5Ti-wo
To claim this, I am signing this object:
| 'body': | |
| 'ctrl-tab ^ctrl': 'unset!' | |
| 'ctrl-tab': 'pane:show-next-item' | |
| 'ctrl-shift-tab ^ctrl': 'unset!' | |
| 'ctrl-shift-tab': 'pane:show-previous-item' |
| # Set blacklist | |
| # /etc/modprobe.d/blacklist.conf | |
| blacklist nouveau | |
| blacklist lbm-nouveau | |
| options nouveau modeset=0 | |
| alias nouveau off | |
| alias lbm-nouveau off | |
| # Edit Grub |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
| "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| RUBY_ARCHIVE = { | |
| "linux" => "ruby-2.4.1", | |
| } | |
| INSTALL = { | |
| "linux" => "apt-get update -qq; apt-get install -qq -y git curl tmux zsh ", | |
| }.freeze |
| " .vimrc.before | |
| let g:airline_powerline_fonts = 1 | |
| " .vimrc.after | |
| " Strip trailing whitespace | |
| function! <SID>StringTrailingWhitespaces() | |
| " Preparation: save last search, and cursor positoin | |
| let _s=@/ |
I hereby claim:
To claim this, I am signing this object:
| def ensure_domain | |
| if Rails.env.production? | |
| if request.host.split(".")[1].to_s != 'herokuapp' && request.subdomain != 'www' | |
| redirect_to request.url.sub('//', '//www.') | |
| end | |
| end | |
| end |
| " Strip trailing whitespace | |
| function! <SID>StripTrailingWhitespaces() | |
| " Preparation: save last search, and cursor position. | |
| let _s=@/ | |
| let l = line(".") | |
| let c = col(".") | |
| " Do the business: | |
| %s/\s\+$//e | |
| " Clean up: restore previous search history, and cursor position | |
| let @/=_s |