- 更新
2024-05-20
- 作者
@voluntas
- バージョン
2024.1
- URL
This file contains 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
% \iffalse meta-comment | |
% | |
% Copyright (c) 2016 Hironobu Yamashita (@aminophen) | |
% | |
%%%%%%%% ^^A driver-like trick using catcode difference | |
% | |
% This file `tcstyalone.sty' is a normal LaTeX package, so | |
% \RequirePackage{tcstyalone} | |
% and | |
% \usepackage{tcstyalone} |
This file contains 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
%% 眠れないので書いた.etoolbox.sty を読むと勉強になるなあ(つらい). | |
%% まずは基本形で準備運動. | |
%% 一度保存された,パラメータ文字を含むトークン列を定義とする, | |
%% パラメータをとるマクロを定義したいとする. | |
\def\a{##2##1} % カテゴリコードが6である限り,# は二重にせざるをえない. | |
\expandafter\def\expandafter\b\expandafter#\expandafter1\expandafter#\expandafter2\expandafter{\a} | |
\show\b % #1#2->#2#1 | |
%% これはひどい.\edef 使いましょうよ. | |
\edef\b{% |
Vim Advent Calendar 2012の102日目(2013-03-12)の記事です。
-
W,E,BでのWORD移動を文節単位にする jasegment.vimを作りました。
This file contains 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
#!/bin/bash | |
###### NOTE YOU HAVE TO RUN IN root | |
# cd "$(dirname ${BASH_SOURCE[0]})" | |
# dir=${PWD##*/} | |
dir="/opt/minecraft" |
NewerOlder