VI

検索
/<文字列> 文字列 を検索する(順方向)
?<文字列> 文字列を検索する(逆方向)
n 順方向へ検索する
N 逆方向へ検索する
% (,[に対して対応する ),] や } を検索
:syntax on キーワードをハイライト表示する

行番号
:set nu

wkhtmltoimage

http://code.google.com/p/wkhtmltopdf/

wkhtmltoimage-0.11.0_rc1-static-amd64.tar.bz2
はエラーが出るのでこっち
wkhtmltoimage-0.10.0_rc2-static-amd64.tar.bz2

日本語に対応させるためIPAフォントを入れる
yum install ipa-gothic-fonts ipa-mincho-fonts

General Options:
–crop-h Set height for croping
–crop-w Set width for croping
–crop-x Set x coordinate for croping
–crop-y Set y coordinate for croping
-H, –extended-help Display more extensive help, detailing
less common command switches
-f, –format Output file format (default is jpg)
–height Set screen height (default is calculated
from page content) (default 0)
-h, –help Display help
–quality Output image quality (between 0 and 100)
(default 94)
-V, –version Output version information an exit
–width Set screen width (default is 1024)
(default 1024)

Postfix/Mysql/Postfixadmin/Courier

[mysql_relay_domains_maps.cf]
user = postfix
password = postfixadmin
hosts = localhost
dbname = postfix
query = SELECT domain FROM domain WHERE domain=’%s’ and backupmx = ‘1’

[mysql_virtual_alias_maps.cf]
user = postfix
password = postfixadmin
hosts = localhost
dbname = postfix
query = SELECT goto FROM alias WHERE address=’%s’ AND active = 1

[mysql_virtual_domains_maps.cf]
user = postfix
password = postfixadmin
hosts = localhost
dbname = postfix
query = SELECT domain FROM domain WHERE domain=’%s’
#optional query to use when relaying for backup MX
#query = SELECT domain FROM domain WHERE domain=’%s’ and backupmx = ‘0’ and active = ‘1’

[mysql_virtual_mailbox_limit_maps.cf]
user = postfix
password = postfixadmin
hosts = localhost
dbname = postfix
query = SELECT quota FROM mailbox WHERE username=’%s’

[mysql_virtual_mailbox_maps.cf]
user = postfix
password = postfixadmin
hosts = localhost
dbname = postfix
query = SELECT maildir FROM mailbox WHERE username=’%s’ AND active = 1
[/usr/local/lib/sasl2/Sendmail.conf]
[/usr/local/lib/sasl2/smtpd.conf]
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/run/authdaemond/socket