2009年1月2日 星期五

System.getProperty用法

System.getProperty()参数大全

java.version Java Runtime Environment version
java.vendor Java Runtime Environment vendor
java.vendor.url Java vendor URL
java.home Java installation directory
java.vm.specification.version Java Virtual Machine specification version
java.vm.specification.vendor Java Virtual Machine specification vendor
java.vm.specification.name Java Virtual Machine specification name
java.vm.version Java Virtual Machine implementation version
java.vm.vendor Java Virtual Machine implementation vendor
java.vm.name Java Virtual Machine implementation name
java.specification.version Java Runtime Environment specification version
java.specification.vendor Java Runtime Environment specification vendor
java.specification.name Java Runtime Environment specification name
java.class.version Java class format version number
java.class.path Java class path
java.library.path List of paths to search when loading libraries
java.io.tmpdir Default temp file path
java.compiler Name of JIT compiler to use
java.ext.dirs Path of extension directory or directories
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator ("/" on UNIX)
path.separator Path separator (":" on UNIX)
line.separator Line separator ("\n" on UNIX)
user.name User's account name
user.home User's home directory
user.dir User's current working directory

2008年12月29日 星期一

2008年12月12日 星期五

Subclipse 設定 Http Proxy [XP]


在以下目錄尋找 servers 設定檔

C:\Documents and Settings\[username]\Application Data\Subversion

其中 [username] 為使用者的XP帳號名稱

在 servers 設定檔新增或修改如下設定

[globals]
http-proxy-host
= proxy1.some-domain-name.com
http-proxy-port
= 80
http-proxy-username
= blah
http-proxy-password
= doubleblah

http-proxy-host IP Address
http-proxy-port 為網路接口
http-proxy-username 為帳號
http-proxy-password 為密碼

修改完後儲存即可

參考資料

[Excel]如何創建自定義函數

在 Excel 內建函式中找不到自已想要的函式怎麼辦?事實上我們可以自已建一個,以下是一個簡單的Excel自定義函數示例,用於將民國年轉為西元: Function 民國轉西元(x As Double) As Double     民國轉西元 = x + 1911 End Func...