PDF などの中にある一部の日本語の漢字が、見た目は同じだけど異なる謎の文字に変換されていることがある
- 例 1: https://www.mhlw.go.jp/content/10906000/000628667.pdf
- 「長野」と「長崎」の「長」が、
U+9577
ではなく「⾧ (U+2FA7
)」になっている
- 「長野」と「長崎」の「長」が、
- 例 2: https://www.dpri.kyoto-u.ac.jp/news/12739/
PDF などの中にある一部の日本語の漢字が、見た目は同じだけど異なる謎の文字に変換されていることがある
U+9577
ではなく「⾧ (U+2FA7
)」になっている@echo off | |
setlocal | |
set target=%~1 | |
if "" == "%target%" set target=. | |
if not "" == "%VIM_TERMINAL%" ( | |
echo | set /p=]51;["drop","%target:\=\\%"] | |
) else if not "" == "%VIM_SERVERNAME%" ( | |
gvim --servername %VIM_SERVERNAME% --remote-silent "%target%" |
set runtimepath^=~/.cache/dein/repos/github.com/Shougo/dein.vim | |
if dein#load_state('~/.cache/dein') | |
call dein#begin('~/.cache/dein', [$MYVIMRC, '~/.vim/rc/test.toml']) | |
call dein#load_toml('~/.vim/rc/test.toml', {'lazy': 0}) | |
call dein#end() | |
call dein#save_state() | |
endif |
" install vim-pulg | |
if has('vim_starting') | |
set rtp+=~/.vim/plugged/vim-plug | |
if !isdirectory(expand('~/.vim/plugged/vim-plug')) | |
echo 'install vim-plug...' | |
call mkdir(expand('~/.vim/plugged/vim-plug'), 'p') | |
call system('git clone https://github.com/junegunn/vim-plug.git ' . expand('~/.vim/plugged/vim-plug/autoload')) | |
end | |
endif | |
" setup |
Go 1.14 の主なregressionです。1.14.1で修正されると思われます。
This is a guide to Vim Script development for Python developers. Sample code for the various expressions, statements, functions and programming constructs is shown in both Python and Vim Script. This is not intended to be a tutorial for developing Vim scripts. It is assumed that the reader is familiar with Python programming.
For an introduction to Vim Script development, refer to usr_41.txt, eval.txt and Learn Vimscript the Hard Way
For a guide similar to this one for JavaScript developers, refer to Vim Script for the JavaScripter
This guide only describes the programming constructs that are present in both Python and Vim. The constructs that are unique to Vim (e.g. autocommands, [key-mapping](https://vimhelp.org/map.txt.html#key-m
#!/bin/sh | |
set -eu | |
cgroup_rsslimit="/sys/fs/cgroup/memory/memory.limit_in_bytes" | |
if [ -r "$cgroup_rsslimit" ] ; then | |
rsslimit=`cat "$cgroup_rsslimit"` | |
vszlimit=`expr $rsslimit / 1024` | |
ulimit -v $vszlimit |
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'octokit' | |
end | |
name = ARGV[0] || `git config --get github.user`.chomp | |
year = ARGV[1] || Time.now.year |
function! s:fuzzy(lhs, rhs) abort | |
return a:lhs =~ join(map(split(a:rhs, '\zs'), "printf('[\\x%02x].*', char2nr(v:val))"), '') | |
endfunction | |
let g:asyncomplete_preprocessor = | |
\ [function('asyncomplete#preprocessor#ezfilter#filter')] | |
let g:asyncomplete#preprocessor#ezfilter#config = {} | |
let g:asyncomplete#preprocessor#ezfilter#config['*'] = | |
\ {ctx, items -> filter(items, 's:fuzzy(v:val.word, ctx.base) != 0')} |
これは私が支援先に提供した、1 on 1 に関するノウハウや、思いを述べたドキュメントを元にしています。企業の枠を超えて共有したいことが多いので、ここに貼ります。