Just another Ruby porter,

〜2010年12月中旬〜


<Prev(,) | Next(.)> | Recent(/)>> | RDF

2010-12-11 (Sat)

youtube-dl 2010.12.09

Changes:
This release fixes support for YouTube after the recent site changes that broke the program. In addition, it adds support for depositfiles.com, fixes a few minor bugs, and adds a few minor features.

2010-12-12 (Sun)

unzip

unzipを日本語対応版にした。ベースは5.52なんだな。-I/-Oで入出力のcharsetを指定できる。

オリジナル:
% unzip  
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
  Default action is to extract files in list, except those in xlist, to exdir;
  file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).

  -p  extract files to pipe, no messages     -l  list files (short format)
  -f  freshen existing files, create none    -t  test compressed archive data
  -u  update files, create if necessary      -z  display archive comment only
  -v  list verbosely/show version info       -T  timestamp archive to latest
  -x  exclude files that follow (in xlist)   -d  extract files into exdir
modifiers:
  -n  never overwrite existing files         -q  quiet mode (-qq => quieter)
  -o  overwrite files WITHOUT prompting      -a  auto-convert any text files
  -j  junk paths (do not make directories)   -aa treat ALL files as text
  -U  use escapes for all non-ASCII Unicode  -UU ignore any Unicode fields
  -C  match filenames case-insensitively     -L  make (some) names lowercase
  -X  restore UID/GID info                   -V  retain VMS version numbers
  -K  keep setuid/setgid/tacky permissions   -M  pipe through "more" pager
See "unzip -hh" or unzip.txt for more help.  Examples:
  unzip data1 -x joe   => extract all files except joe from zipfile data1.zip
  unzip -p foo | more  => send contents of foo.zip via pipe into program more
  unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer

Ubuntu-ja:
% unzip
UnZip 5.52 of 28 February 2005, by Ubuntu. Original by Info-ZIP.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
  Default action is to extract files in list, except those in xlist, to exdir;
  file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).

  -p  extract files to pipe, no messages     -l  list files (short format)
  -f  freshen existing files, create none    -t  test compressed archive data
  -u  update files, create if necessary      -z  display archive comment
  -x  exclude files that follow (in xlist)   -d  extract files into exdir

modifiers:                                   -q  quiet mode (-qq => quieter)
  -n  never overwrite existing files         -a  auto-convert any text files
  -o  overwrite files WITHOUT prompting      -aa treat ALL files as text
  -j  junk paths (do not make directories)   -v  be verbose/print version info
  -C  match filenames case-insensitively     -L  make (some) names lowercase
  -X  restore UID/GID info                   -V  retain VMS version numbers
  -K  keep setuid/setgid/tacky permissions   -M  pipe through "more" pager

  -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
  -I CHARSET  specify a character encoding for UNIX and other archives

Examples (see unzip.txt for more info):
  unzip data1 -x joe   => extract all files except joe from zipfile data1.zip
  unzip -p foo | more  => send contents of foo.zip via pipe into program more
  unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer

Ubuntuの日本語環境 | Ubuntu Japanese Team


2010-12-13 (Mon)

Ubuntuのgnome-terminalのサイズ設定

Ubuntu 10.10でgnome-terminalのデフォルトサイズ設定がなくなったが、いつの間にか復活していた。
「カスタマイズしたデフォルトの端末サイズを使用(Z)」という項目をチェックすれば使える。


2010-12-14 (Tue)

Diigoのcache

Diigoでブックマークすれば勝手にcacheしてくれて便利だったが、
いつのまにか有料になっていた。

ReadItLaterのsyncを使ってみたらローカルに保存するらしく、
放置してたら700MBぐらい食ってた。これはこれで問題だな。

Yahoo!ブックマークをまた使うか。こっちはまだcache使えるようだ。


2010-12-15 (Wed)

Cool.io: Node.js-style Event Driven Awesomeness for Rubyists

about:
Cool.io (formerly known as Rev, and pronounced like Coolio of Gangster's Paradise fame) is an event framework for Ruby built on libev, the same library that provides high performance asynchronous I/O for Node.js. Cool.io is great for building TCP clients and servers which handle large numbers of connections and are primarily I/O bound. Cool.io also provides APIs for filesystem monitoring.
Cool.io is an alternative to EventMachine, albeit one which using Ruby's own native I/O primitives rather than reinventing them, and does as much as possible in Ruby instead of C, which should make it easier for interested contributors to hack on.

2010-12-16 (Thu)

lessでFする際の注意点

LESSOPENを指定してるとパイプ経由になってしまいseekできなくなるので、
Fが使えなくなる。そういうときは-L(--no-lessopen)を指定するといい。

-L or --no-lessopen
       Ignore the LESSOPEN environment variable (see the INPUT PREPROCESSOR section below).  This  option  can
       be  set from within less, but it will apply only to files opened subsequently, not to the file which is
       currently open.

とは言うもののLESSOPENで"|nkf -w %s"のような設定してると、
日本語の自動変換ができなくなるわけであちらを立てればこちらが立たず状態に。
lvを使うべきか。


2010-12-17 (Fri)

Deliciousの件

DiigoやめてYahoo! Bookmarksにしようと思ったら、Deliciousがやばいというニュース。
しかもYahoo! Bookamrksも終了するかもしれないとか。
なんだよそれー。やっぱDiigoか?
DiigoにはBookmarkすると裏でDeliciousにポストしてくれるサービスがある。 この連携が便利なんだよね。逆にcacheのためにPremiumにするのも手か。


2010-12-18 (Sat)

DeliciousからFirefoxへインポートしたら大変なことになった

5万を越えるブックマークなんかFirefox自身がさばききれるわけがない。
一応インポートはできたが開けない。もうどうしようもないので復元ってやつで1日戻した。
まあ、ほとんどbookmarkletしかないので数は少ないんだけど、
これ復活させるのは結構骨なので。

とかなんとかやってたら、なんか閉鎖はしない感じで進んでるような。
"YahooはDel.icio.usを閉鎖しないが買い手を探している"

どうなるんだろうね。


2010-12-19 (Sun)

Update and tip for “Save Favorite Tweets”

twitterのfavoriteを一日一回保存してくれるサービスをdiigoが始めたらしい。
なんか目についたリンクをfavっておけば勝手にbookmarkとして使えるわけだな。
意外と便利かもしれない。


2010-12-20 (Mon)

性懲りもなくまたマウスを買う

3000円。単3電池2本なので長持ち。最大15ヶ月保つらしいよ。
ほかに3年保つとかいうのもあったけど、
それって電池より先に本体がだめになるんじゃないの?
3年も使ったことないよな。


<Prev(,) | Next(.)> | Recent(/)>> | RDF


WWW を検索 jarp.does.notwork.org を検索

わたなべひろふみ
Key fingerprint = C456 1350 085F A320 C6C8 8A36 0F15 9B2E EB12 3885
Valid HTML 4.01!