category | tool | contributors | translators | filename | lang | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
tool |
vim |
|
|
LearnVim-jp.txt |
ja-jp |
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
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt | |
index 72e2cf13f..833a39a11 100644 | |
--- a/runtime/doc/builtin.txt | |
+++ b/runtime/doc/builtin.txt | |
@@ -10445,6 +10445,7 @@ xpm Compiled with pixmap support. | |
xpm_w32 Compiled with pixmap support for Win32. (Only for | |
backward compatibility. Use "xpm" instead.) | |
xsmp Compiled with X session management support. | |
+wsl Vim is running on WSL (Windows Subsystem for Linux). | |
xsmp_interact Compiled with interactive X session management support. |
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
#反転 | |
eval(s="a='eval(s='+s.inspect+')';puts a.reverse") | |
#色付き | |
eval(s='a="\\e[31meval(s="+s.inspect+")\\e[m";puts a') |
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
eval$s=%w'a=Array;s= | |
34;b=a.new(s){a.new(s,0)};(0.. | |
.s).each{|x|(0...s).each{|y|xx=x-s/2.1 | |
;yy=y-s/2.1;i=xx**2+yy**2;b[y][x]=(s/2.8)* | |
*2<i&&i<(s/2)**2?1:((i<(s/20)**2)?1:0)}};l=Math; | |
t=Time.new;h,m=( t.hour%12+t.min* | |
0.00872664625) *0.5235,t.min* | |
0.1047;c=->(p, z,u,d,e){g=d | |
-z;i=(g>=0)? 1:-1;o=e-u;j | |
=(o>=0)?1:-1 ;g=g.abs*2;o |
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
import { Denops } from "https://deno.land/x/[email protected]/mod.ts"; | |
import { execute } from "https://deno.land/x/[email protected]/helper/mod.ts"; | |
import * as op from "https://deno.land/x/[email protected]/option/mod.ts"; | |
import MarkdownIt from "https://esm.sh/markdown-it"; | |
import { listenAndServe } from "https://deno.land/[email protected]/http/server_legacy.ts"; | |
import { | |
acceptWebSocket, | |
WebSocket, | |
} from "https://deno.land/[email protected]/ws/mod.ts"; | |
import { open } from "https://deno.land/x/[email protected]/index.ts"; |
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
eval$s=%w'loop{a=Array;s=34;b=a.new(s){a.new(s,0)};(0...s).each{|x|(0...s).each{|y|xx=x-s/2.1;yy=y-s/2.1;i=xx**2+yy**2;b[y][x]=(s/2.8)**2<i&&i<(s/2)**2?1:((i<(s/20)**2)?1:0)}};l=Math;t=Time.new;h,m,v=(t.hour%12+t.min*0.00872664625)*0.5235,t.min*0.1047,t.sec*0.1047;c=->(p,z,u,d,e){g=d-z;i=(g>=0)?1:-1;o=e-u;j=(o>=0)?1:-1;g=g.abs*2;o=o.abs*2;p[u][z]=1;x=z;y=u;if(g>o);f=o-g/2;until(x==d);k=f>=0;y+=(k)?j:0;f-=(k)?g:0;x+=i;f+=o;p[y][x]=1;end;else;f=g-o/2;until(y==e);if(f>=0);x+=i;f-=o;end;y+=j;f+=g;p[y][x]=1;end;end;};b[(-l.cos(v)*(s/3)+s/2).to_i][(l.sin(v)*(s/3)+s/2).to_i]=1;c.call(b,s/2,s/2,(l.sin(m)*(s/2.6)+s/2).to_i,(-l.cos(m)*(s/2.5)+s/2).to_i);c.call(b,s/2,s/2,(l.sin(h)*(s/5)+s/2).to_i,(-l.cos(h)*(s/4)+s/2).to_i);e=0;q="";b.each{|y|y.each{|x|q+=(x==1)?("eval$s=%w"<<39<<$s*3)[e..e+1]:32.chr*2;e+=(x==1)?2:0;};q<<10};q[-33,6]=""<<39<<".join#";e=27.chr;puts("##{e}[1;1H#{e}[H#{e}[2J"+10.chr+q);sleep(1)}#'.join# |
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
eval$s=%w' t="e val$ | |
s=% w"<< 39<< ($s* | |
3);s =?0 ;b=[ ""]* | |
7;Ti me .now .str | |
ftim e( "%H: %M") | |
.spl it(" ").e | |
ach{ |n|c =[12 | |
6,48 ,109 ,121 | |
,51,9 1,95 ,112 | |
,127, 123] [n.to_ i];h= ->(i ){n= |
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
https://www.youtube.com/watch?v=r7qovpFAGrQ | |
https://www.youtube.com/watch?v=L_jWHffIx5E | |
https://www.youtube.com/watch?v=iLBBRuVDOo4 | |
https://www.youtube.com/watch?v=H8ci4Kfb_Sc | |
https://www.youtube.com/watch?v=dv13gl0a-FA | |
https://www.youtube.com/watch?v=h_D3VFfhvs4 | |
https://www.youtube.com/watch?v=HEXWRTEbj1I | |
https://www.youtube.com/watch?v=2MtOpB5LlUA | |
https://www.youtube.com/watch?v=qeMFqkcPYcg | |
https://www.youtube.com/watch?v=1G5yZd0g9eA |
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
PKj�R� popclip.afdesignUT | |
��e`��e`��e`ux�LzeTM����������-!w����B��%8�a��b;����ǭ�9��}N�������� @]y���aP�r����'U}�W�B�@���_8����_�"H筷��1(�z�v���T8���E�jtpI9����Q]�r��q0�U:�#U�1p�d��|���'�I�g�g��g��Ԝ\2}~e�9�N�+���� ���K��������e�38M[�3MP�;�2�%���ҝ��'��`��P%�����%U�`D2L�]��C/��^�ӛ�#�|����?F\����iX%T��5���7��R�����a )�Yެ�߬1��);��{��w���m��2Z�q�M|��E�DZ�{�����-%C�1K�Z���( �9��T,��oT:�����"�T���������%N{���'�h�nz.ܰ��1B�|�1L���(�R�:|���� Ӕ�]8�;6 �婐ڐƂY��8�o@4��{d����\v�/��P��͂,oѣ{��0�=s�s|j����W�t��}�1\vD�N��?�X�,�N�R�t�>�<$UŶx(� ��9����+�"�+Pi;���<�7;_�����5�L����%�-���|��(���P dže�"4��ت�\��Sp>�#��U�7�����h�|����CK��G���ۀkK&�\�sVD���lᛀ����<���wݰ��Y\��Ä�@��խ��0�A%�Q��9B�%�o��i | |
����,SR�и��ъ�غ�OG4쒰�ܷJr���GU | |
/��^���`<2a}�_�C@��q�3���b��^�ʛ^ | |
Y��8�� ���y�齨�`9��-�`a�e����|���w:_�K� Նf�{�B�,^]CO��#���Vw��8�4)�Pv��-cZ��䓼P�>�83ݼg��V������o ڀ���Ы����ߎ�>��������׀{]ْ�~h^:P�)��OW3����vv�c�?��gU2���{D�|<�� |
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
vim9script | |
def g:Geo3x3_encode(lat: float, lng: float, level: number): string | |
var flng = lng | |
var res = "" | |
if flng >= 0.0 | |
res = "E" | |
else | |
res = "W" | |
flng += 180.0 |