June 18, 2008

Windows Mobile上最佳的Browser


在看到HTC鑽石機後,對那可以完整呈現網頁的
Opera Mobile 9.5著迷不已,因Windows Mobile上的IE只能顯示裁切過的網頁,或是對PDA訂製的網頁,畫面都與常在使用的PC Browser不相同。
但是Opera Mobile 9.5,卻可在PDA上完整呈現跟PC Browser相同的Layout,安裝後,就不會想回頭再使用IE了。

HTC鑽石機 Opera Mobile 9.5
Posted by philipz at 08:02 AM | Comments (0)

June 17, 2008

PHP如何讀取Excel檔

投資權證已經三年多了,原本參考的日盛證券網站資料,早改以Excel提供所有權證的資料。
但是每次都要自行下載後,再人工過濾出有價值的權證,實在是非常費時。想要透過Web App將那Excel檔中的權證自動過濾,而較熟悉的Script語言是PHP。
在網路上找到讓PHP可以讀取Excel檔的Library,PHP-ExcelReader,可惜只有讀取,並無法寫入,但已達到需求目的,過濾後的結果使用網頁呈現,最新權証列表,再透過Excel抓取此網頁,以便再分析資料。且此Excel檔只要按下資料更新,便會抓取當天Excel檔案,更新檔案內容。
這樣便達到節省時間的目的,且資料還可以再自行加工分析,方便許多。

權證 PHP-ExcelReader
Posted by philipz at 01:10 AM | Comments (0)

June 16, 2008

SWT Standalone

MANIFEST.MF
Main-Class: com.ibm.example.swt.SWTTest
Class-Path: org.eclipse.swt.win32.win32.x86_3.2.1.v3235.jar

java -Djava.library.path=c:\ c:\swt.jar
dll檔要放入-Djava.library.path目錄中

Java SWT
Posted by philipz at 11:30 PM | Comments (0)

Let Linux Read/Write NTFS of Windows 2003


NFS.jpg

1. Install "Microsoft Services for NFS" in Windows 2003.
2. In Administrative Tools, click Local Security Policy. In Security Settings, double-click Local Policies, and then click Security Options. Right-click "Network access: Let Everyone permissions apply to anonymous users", and Enable. How to Allow Anonymous Logon in NFS and in Windows Server 2003 or in Windows Storage Server 2003 (NAS).
3. Right-click your disk or folder in Win2003, and then click Properties. Select NFS Sharing tab, enable "Allow anonymous access". Click "Permissions", select "Read/Write". Don't forget, add "everyone " authority in "Security" tab.
4. In Linux, type "mount -t nfs 192.168.2.X:/ShareFolder /home/ShareFolder".

Finally, your Linux OS can Read/Write the Windows Server Disk.

Reference:
Windows Server 2003 R2 整合異質性檔案系統
Introduction and installation of Services for NFS on R2

Microsoft Services for NFS, Linux
Posted by philipz at 11:56 AM | Comments (0)