This file contains hidden or 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
patch: | |
"menu/alternative_select_labels": | |
- "⚏" | |
- "⚍" | |
- "⚎" | |
- "⚌" | |
"menu/page_size": 4 |
This file contains hidden or 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
patch: | |
preset_color_schemes/metro: | |
back_color: 0xffffff | |
border_color: 0x444444 | |
hilited_back_color: 0xffffff | |
hilited_candidate_back_color: 0x444444 | |
hilited_candidate_text_color: 0xffffff | |
hilited_text_color: 0x000000 | |
name: "metro" | |
text_color: 0x000000 |
This file contains hidden or 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
export interface Monad<T> { | |
mbind<U>(t: (T) => Monad<U>): Monad<U> | |
mreturn<U>(v: U): Monad<U> | |
} | |
abstract class Maybe<T> implements Monad<T> { | |
abstract mbind<U>(t: (T) => Maybe<U>): Maybe<U> | |
mreturn<U>(v: U): Maybe<U> { | |
return new Just(v) | |
} |
This file contains hidden or 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
function mouseDown(e){ | |
this.draw=true; | |
this.ctx = this.getContext("2d"); | |
this.ctx.strokeStyle='#000000'; | |
this.ctx.lineWidth=2; | |
var o=this; | |
this.offsetX=this.offsetLeft; | |
this.offsetY=this.offsetTop; |
This file contains hidden or 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
getOffsetTop = (el) -> | |
y = 0 | |
while el.offsetParent | |
y += el.offsetTop | |
el = el.offsetParent | |
return +y | |
window.NScroll = (selector, option) -> | |
option = option || {} | |
option.width = option.width || 5 | |
option.bgc = option.bgc || null |
This file contains hidden or 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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
This file contains hidden or 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
call plug#begin('~/.vim/plugged') | |
Plug 'prabirshrestha/async.vim' | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', | |
\ } | |
" (Optional) Multi-entry selection UI. | |
Plug 'junegunn/fzf' | |
" (Completion plugin option 1) | |
" Plug 'roxma/nvim-completion-manager' |