2011-06-01から1ヶ月間の記事一覧
bashだと $ bash --version GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute i</http://gnu.org/licenses/gpl.html>…
ググると whatdepends コマンドと書かれていることが多い!? $ apt-cache whatdepends HOGE こんな感じで。しかーし、これはエラーになってしまう。 $ apt-cache whatdepends HOGE E: Invalid operation whatdepends ヘルプを見てみる $ apt-cache --help | g…
まず、デコードの定石?? ググって見っけたやつ。 文字実体参照 → htmlentitydefs.name2codepoint → 数値文字参照 → unichr() → Unicode 文字列 はまったorz アポストロフィーの文字実体参照(')は XHTML1.0 からだとか… >>> import htmlentitydefs >>> h…