- ヴァイオレット・エヴァーガーデン
- 最速放送日 2018年1月10日(水)24:00~(TOKYO MX)
- からかい上手の高木さん
- 最速放送日 2018年1月8日(月)23:00~(TOKYO MX)
- 恋は雨上がりのように
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
| let s:V = vital#vital#new() | |
| let s:P = s:V.import('Async.Promise') | |
| unlet s:V | |
| function! s:_defer() abort | |
| let d = {} | |
| let d.promise = s:P.new({resolve, reject -> extend(d, { | |
| \ 'resolve': {-> call(resolve, a:000)}, | |
| \ 'reject': {-> call(reject, a:000)}, | |
| \})}) |
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
| " Run: | |
| " 1. mkdir tmp | |
| " 2. {chrome} --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=tmp | |
| " | |
| " In another shell: | |
| " 1. vim -S client.vim | |
| " | |
| " ref. https://developer.mozilla.org/ja/docs/Tools/Remote_Debugging/Chrome_Desktop |
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
| " ================= trim ================= | |
| function! s:trim_matchstr_posix(s) abort | |
| return matchstr(a:s,'^[[:space:]]*\zs.\{-}\ze[[:space:]]*$') | |
| endfunction | |
| function! s:trim_matchstr(s) abort | |
| return matchstr(a:s,'^[ \t\r\n\v\f]*\zs.\{-}\ze[ \t\r\n\v\f]*$') | |
| endfunction |
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
| package main | |
| import ( | |
| "bytes" | |
| "encoding/binary" | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| "os" | |
| "strings" |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdarg.h> | |
| #include <string.h> | |
| #include <time.h> | |
| #include <ctype.h> | |
| #include <termios.h> | |
| #include <unistd.h> | |
| #define ESC "\x1b" |
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
| Running 'bash ./test.sh' | |
| Exited: 0 | |
| buf = {'out': 'hello1^@hello2^@hello3^@', 'err': 'hello4^@hello5^@'} | |
| s:run() end |
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
| Exited: 0 | |
| {} | |
| s:run() end | |
| s:read_to_buf() |
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
| --- src/os/path.go.old 2017-12-11 19:45:29.722217500 +0900 | |
| +++ src/os/path.go 2017-12-11 19:51:19.668455900 +0900 | |
| @@ -84,26 +84,35 @@ | |
| return err | |
| } | |
| - // Directory. | |
| - fd, err := Open(path) | |
| - if err != nil { | |
| - if IsNotExist(err) { |
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! s:load_on() | |
| imap <expr> <Tab> neosnippet#expandable_or_jumpable() ? | |
| \ "\<Plug>(neosnippet_expand_or_jump)" : "\<Tab>" | |
| endfuncti] |