Pages

Tuesday, November 06, 2007

Lotus Script R5, 4.6, 4.5

http://www-12.lotus.com/ldd/doc/lotusscript/lotusscript.nsf/

Domino Objects
for LotusScript and OLE

version:
Domino Designer R5
Notes 4.6
Notes 4.5

Tuesday, July 10, 2007

[*unix] 解決 IP 分享器架設 VSFTP 的連線逾時(Timeout)情形

[*unix] 解決 IP 分享器架設 VSFTP 的連線逾時(Timeout)情形

如果 FTP Server 在 IP 分享器後面,除本地網域,外面的 FTP Client 連進來容易出現 Connection Timeout 的狀況。

解決方式,一種是強迫 FTP Client 使用 PORT 連線(關閉 PASV)。
vsftp 則必須設定 vsftpd.conf 的 pasv_enable=NO 。

第二種方式需設定 vsftpd.conf
如要設定 開啟 65400~65410 Port 給 PASV 使用:

pasv_enable=YES //這行要開啟下面二行才會生效
pasv_min_port=65400
pasv_max_port=65410


另外要確認以下三點

1.分享器跟 Server 是否設定在 DMZ? 如果沒有,須把 65400~65410 對應到 ftp server上。
2.分享器上是否有防火牆擋住 65400~65410 ?
3.Linux 上的防火牆加入以下的指令:
iptables -I INPUT -p tcp --dport 65400:65410 -j accept

Thursday, January 04, 2007

PHP程式基礎

1. 文件的副檔名,預設是 .php.phtml

2. 程式碼的開始與結束,開頭必須加入<?php ,在結尾的地方加 ?> ,也可以簡寫成 <? 程式碼 ?>

3. 命令句必須以分號作結束。

4. 變數之前必需加 $ 的符號。大小寫有別,可以不先經宣告就直接使用。

5. 程式註解,單行的使用 //。多行的使用 /**/的註解符號。

Monday, October 23, 2006

[linux] grep, egrep, fgrep - Global Regular Expression Print

grep 一次只能搜索一個指定的模式。
grep [選項] [查找模式] [檔案名1,檔案名2,……]

egrep 檢索擴展的正則運算式(括運算式組和可選項)
egrep [選項] [查找模式] [檔案名1,檔案名2,……]

Friday, May 05, 2006

無法預覽 PSD 縮圖

Support Knowledgebase
Photoshop CS doesn't create thumbnail previews (Windows)
Issue

Adobe Photoshop doesn't create thumbnail previews for images on the desktop or in Windows Explorer.


Solution: View images in the File Browser in Photoshop.

Choose File > Browse to open the Photoshop File Browser and view and open images.


Background information

Previous versions of Photoshop produced thumbnail previews for images by using the psicon.dll file. This file isn't installed with Photoshop CS.


In Windows Explorer, if you choose View > Thumbnails, Windows Explorer displays thumbnail previews for some image formats, such as JPEG files; however, it cannot display thumbnail previews for native Photoshop (PSD) files.
.............................................................
SOLUTIONS:
copy phtoshop 7 dll file: psicon.rar to
C:\Program Files\Common Files\Adobe\SELL\psicon.dll

REGEDIT:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0B6DC6EE-C4FD-11d1-819A-00C04FB69B4D}\InProcServer32]
@="C:\\Program Files\\Common Files\\Adobe\\Shell\\PSICON.DLL"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{0B6DC6EE-C4FD-11d1-819A-00C04FB69B4D}\InProcServer32]
@="C:\\Program Files\\Common Files\\Adobe\\Shell\\PSICON.DLL"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\.psd\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{0B6DC6EE-C4FD-11d1-819A-00C04FB69B4D}"