2009年3月21日土曜日

エクセルで分割されたウインドウを固定する方法


Ubuntu の LiveCD (Desktop CD) を使用して grub を再インストールする方法



ubuntu@ubuntu:/media/disk-1/boot/grub$ sudo grub-install --root-directory=/media/disk-1/ /dev/sda
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /media/disk-1//boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
xfs_freeze: specified file ["/media/disk-1//boot/grub"] is not on an XFS filesystem
Installation finished. No error reported.
This is the contents of the device map /media/disk-1//boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0) /dev/sda

UbuntuのsambaとWindowsでプリンタ共有,ドライバ自動インストール

参考
http://www.critical.ne.jp/~shacho/tips/sambaprint.html

smb.confの設定はこれでよいが,Windowsからの接続がこの通りではない.
  1. printer adminに書いたユーザ名でWindows(XP)にログイン
  2. \\sambaサーバ名 を開く
  3. 使いたいプリンタをダブルクリック
  4. (信頼するかYes,ドライバを検索するかOK)
  5. CDROMなど使って普通にドライバをインストールする.
この作業だけすれば,sambaサーバにプリンタドライバが送信・保存されて,以後,他のPCからプリンタを使う際には自動でドライバがインストールされるみたい.な.

Ubuntuのemacsでスペルチェック

ispell, flyspell を実行したときに、
"Error: No word lists can be found for the language "ja_JP"
と言われてる場合には、 ~/.aspell.conf を作成して、その中で「lang en_US」と1行書けばOK。

参考
http://sqs.cmr.sfc.keio.ac.jp/tdiary/20070530.html

terastation同士のバックアップ

BuffaloのTeraStation TS-H1.0TGL/R5とTS-RH1.0TGL/R5のファームウエアを1.33にアップデートしたら,terastation同士のバックアップ(rsync)が安定的に動作するようになった.

UbuntuのOpenCVでスタティックリンク

./configure --enable-static

で lib*.a が作られる.
(キャプチャしないような)簡単なプログラムだと,スタティックリンクできた.

UbuntuでPlanex GU-1000T

$ lsusb

Bus 004 Device 005: ID 0b95:1780 ASIX Electronics Corp.

[ 897.415497] eth0: register 'asix' at usb-0000:00:1d.7-5, ASIX AX88178 USB 2.0 Ethernet, 00:90:cc:c4:07:c2


UbuntuでPlanex GU-1000Tは,100Base-Tハブだと使えないようだ.GigaHubに繋ぐとパケットが飛ぶようになった.