2009-03-01から1ヶ月間の記事一覧
#Base64からデコード: openssl base64 -d -in <infile> -out <outfile> #Base64にエンコード: openssl base64 -in <infile> -out <outfile> 参考:http://face.centosprime.com/macosxw/base64-decoding/</outfile></infile></outfile></infile>
" mark: m{a-zA-Z} " jump: `{a-zA-Z} " '`' is shift-@ on mac keyboard いっつもわすれる
Binary mode " binaryモードでファイルを開く vim -b datafile " binaryモードで開きなおす :e ++bin " binaryモードをリセットして開きなおす :e ++nobin " 不可視文字をHexフォーマットで表示 :set display=uhex " カーソルのバイトとかの情報 g C-g " 文…
Mac OS X 10.4 の man コマンドで日本語ページを表示 hiroto sakai’s site - UNIX 的ユーティリティ便利そうなのでインストール。エイリアスでjmanにして.profileに書いた。 alias jman='LANG=ja_JP.UTF-8 man'
単語だったら*で検索開始になるけど、選択した部分は何か無かったっけ? と思ってヘルプみたら、 *visual-search* Here is an idea for a mapping that makes it possible to do a search for the selected text: :vmap X y/" というのが載ってた。登録した。
Fredにhelloと言わせる $ osascript -e 'say "hello" using "Fred"' OSA languages Open Scripting Architecture language 参考:Re: How to execute AppleScript from Command line
やっとダウンロードが終わった〜、と思ったら、"There were errors installing the software."とか言われてインストール失敗。"Try again."って書いてあったのでもう一度インストールを試したけどダメ。 コンソールでログみたらここら辺が怪しい。 Mar 1 14:…