サービス終了のお知らせ いつもYahoo! JAPANのサービスをご利用いただき誠にありがとうございます。 お客様がアクセスされたサービスは本日までにサービスを終了いたしました。 今後ともYahoo! JAPANのサービスをご愛顧くださいますよう、よろしくお願いいたします。
正規表現を指定することで色をつけられる cat。 Supercat colordiff を使えば diff を色つきで表示することは可能だが、既につくられた差分ファイルに色をつけるのは難しい。そういう時に使えそう。 色づけの自作する場合は以下の手順通りにすればいいらしい。(manpage を読んでざっくり書く。) 設定ファイルを用意する。 foo という拡張子のファイルの色つけ条件を書いたファイルを spcrc-foo という名前で保存する。 書き方は http://supercat.nosredna.net/spcrc-emerge を参考すれば書けそう。manpage にも仕様が書いてある。 以下のいずれかのディレクトリに置く。 ./.spcrc-foo ./.spcrc ~/.spcrc/spcrc-foo ~/.spcrc/spcrc /etc/supercat/spcrc-foo
現代を CUI で生き抜く上で大きな障壁となるものの一つが PDF .スキャンしたビットマップデータを変換しただけの躾の悪い屑 PDF はともかく,テキストベースの PDF は中にテキストデータを格納しているので,レンダラを介さずとも中身に直接アクセスできるはず.と思って適当に探したら, PDFTOHTML conversion program あった.まさにこれが欲しかった.しかも調べたら既に入っていた. xpdf-utils を入れたときについてきたらしい. まあとにかく, ~/.zshrc*1 に p3m() { pdftohtml $1 -stdout | w3m -T text/html; } などと書いておいてやると, Yoichiro Nambu - Nobel Lecture, 3.49MB などの適当な PDF を用意して, % p3m nambu-slides.pdf
みんなのIoT/みんなのPythonの著者。二子玉近く160平米の庭付き一戸建てに嫁/息子/娘/わんこと暮らしてます。月間1000万PV/150万UUのWebサービス運営中。 免責事項 プライバシーポリシー pudbは,CUI環境(つまりシェル)で動くGUIライクなデバッガ。Pythonには標準でpdbというデバッガがついてくるけど,コマンドラインベースでちょっと使い方が面倒だよね。pudbはpdbよりノリがいい。まあスクリーンショットを見てもらうのが早いかな。 CUIベースでGUIっぽいことをするというのは,レトロなノリだよなあ。でもCUIベースならシェルが動く環境ならどこでも動く,という利点もある。ローカルのPythonでもssh越しのPythonでも,シェル上なら同じように動くというのは嬉しい。 インストールは簡単。いつものごとくeasy_installを使って「$ easy_ins
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く