memo.xight.org

Software

2005-08-17 Wed

namazu のインストール

2005-08-12 Fri

XML/SWF Charts の利用

- Summary
  PHP から XML/SWF Charts[2005-03-10-6] を呼び出す.
  XML/SWF Charts のバージョンに伴い,
  <param> タグに name=FlashVars が追加.
  呼び出し方が多少変更に.
  ライセンスコードはFlashVarsのVALUEに追加する.
- PHP Source

<?php
	$width  = "400";
	$height = "250";
	$swf    = "charts/charts.swf";
	$xml    = "xml/hoge.xml";
	$lib    = "charts/charts_library";
?>
<object
	classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
	codebase="
	http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
	"
	width="<?= $width ?>"
	height="<?= $height ?>"
	id="charts"
	align=""
>
<param name=movie value="<?= $swf?>">
<param name=FlashVars VALUE="library_path=<?= $lib ?>&xml_source=<?= $xml ?>">
<param name=quality value="high">
<param name=bgcolor value="#999999">
<embed
	src="<?= $swf ?>"
	FlashVars="library_path=<?= $lib ?>&xml_source=<?= $xml ?>"
	quality=high
	bgcolor=#999999
	width="<?= $width ?>"
	height="<?= $height ?>"
	name="charts"
	align=""
	type="application/x-shockwave-flash"
	pluginspage="http://www.macromedia.com/go/getflashplayer"
>
</embed>
</object>


- 日本語の利用 (呼び出すXMLに記述) ※編集中

font='Sans Serif'


で日本語利用可能

2005-07-19 Tue

Debian - grub

- grub-install を実行

# grub-install /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /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'.

(fd0) /dev/fd0
(hd0) /dev/hda


- update-grub を実行

# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file...

Could not find /boot/grub/menu.lst file. Would you like
/boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image... none found, skipping...
Found kernel: /vmlinuz-2.4.18-bf2.4
Updating /boot/grub/menu.lst ... done


- /boot/grub/menu.lst を編集

- 再度 update-grub を実行

# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst
.
Searching for splash image... none found, skipping...
Found kernel: /vmlinuz-2.4.18-bf2.4
Updating /boot/grub/menu.lst ... done


- LILOの問い合わせを無くし,update-grubを自動的に実行させる
/etc/kernel-img.conf を作成

postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
do_bootloader = no


- Reference
Iwatani Electronics - Debian GNU/Linux で利用する GNU GRUB
http://www2.i-e-c.co.jp/grubindex.html

2005-05-15 Sun

AutoHotKey

- Summary
キーボードやマウス,ジョイスティックの操作に様々な機能を割り当てることができる常駐ユーティリティ
動作はスクリプトで記述
スクリプトを実行するだけのバッチツールとしても便利

- Reference
AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText
http://www.autohotkey.com/

AutoHotKeyを流行らせるページ
http://lukewarm.s101.xrea.com/

- via
読書記録ChangeLog - 2005-05-13
http://dkiroku.com/2005-05-13-15.html