2012年7月23日月曜日

vimでgitのブラウジングすると便利だよ


という話
gitvというプラグイン:Gitvコマンドからどうぞ

3方向マージ(3 way merge)もGdiffで一発

http://d.hatena.ne.jp/cohama/20120417/1334679297
http://yuku-tech.hatenablog.com/entry/20110427/1303868482

2012年7月19日木曜日

vimのプラグイン管理vundle

便利なのでメモ

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle


http://shu-cream.blogspot.jp/2011/04/2011vimvundle.html

2012年7月9日月曜日

opensslの確認コマンドまとめ

http://chinmai.net/~osakana/tech-memo/wiki.cgi?page=OpenSSL+CSR%2C+%BE%DA%CC%C0%BD%F1%A4%CA%A4%C9%B3%CE%C7%A7%A5%B3%A5%DE%A5%F3%A5%C9

Postfix⇒Gmailへのリレー設定

以下の設定でGoogleのSMTPを中継するようになる main.cf
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_tls_security_options = noanonymous
smtp_sasl_mechanism_filter = plain
smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem
/etc/postfix/sasl_passwd
[smtp.gmail.com]:587 hoge@gmail.com:hogepasswd
以下のコマンドを忘れずに postmap sasl_passwd 参考リンク
http://linux.matchy.net/archives/35
http://stevejenkins.com/blog/2011/06/fixing-postfix-certificate-verification-failed-for-gmail-untrusted-issuer-error-message/
http://giantdorks.org/alain/fix-for-postfix-untrusted-certificate-tls-error/