2007-08-01から1ヶ月間の記事一覧
まず TERM を xterm-256color にする. putty の Cursor Color を 128 128 128 (or 255 135 0) にする. vim で :colorscheme desert256 とする(desert256.vim は vim.org からとってくる). 見やすい色設定 ctermfg=117 [desert256 の Comment; うすい水…
環境変数 TERM=xterm-256color Putty の設定「xterm 256 色モードで使うことを許可する」 vim screen [参考] cl.pocari.org - PuTTY + screen の表示を 256 色にする方法 frexx.de
FUSEを利用したssh経由でのリモートディレクトリのマウント. % sshfs host.example.com: dir % fusermount -u dir
streamtuner
YAML::DumpFile で utf8 フラグが立った文字列をダンプすると 'Wide character ...' と警告が出る(どうやって防ぐ?) use utf8; use YAML; $a = '漢字'; YAML::DumpFile('a.yaml', $a); 上のコードで a.yaml は utf-8 で出力される.次に読み込んでみる. …
f = open('../../../pylib/common.py') if (f): exec(f) f.close() う〜む...あった. execfile('../../../pylib/common.py')